GQLNode
A node in the GraphQL AST.
The structure of the different nodes matches closely the one of the GraphQL specification (https://spec.graphql.org/June2018/#sec-Appendix-Grammar-Summary.Document)
Compared to the Antlr com.apollographql.apollo3.generated.antlr.GraphQLParser.DocumentContext, a GQLDocument is a lot simpler and allows for easy modifying a document (using GQLNode.transform) and outputing them to a okio.BufferedSink.
Whitespace tokens are not mapped to GQLNodes so some formatting will be lost during modification
Functions
Link copied to clipboard
abstract fun copyWithNewChildrenInternal(container: NodeContainer): GQLNode
Content copied to clipboard
Internal-only. Copies this code using the given children
Link copied to clipboard
Internal-only. Copies this code using the given children
Properties
Inheritors
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard