Package graphql.parser
package graphql.parser
-
ClassDescriptionThis exception is thrown by the
Parser
if the graphql syntax is not validThis reader allows you to read N number readers and combine them as one logical reader however you can then map back to the underlying readers in terms of their source name and the relative lines numbers.A parser that will capture parsing context data which can be later used for accessing tokens that are discarded during the conventional parsing process (like comments).This can parse graphql syntax, both Query syntax and Schema Definition Language (SDL) syntax, into an Abstract Syntax Tree (AST) represented by aDocument
This is the arguments that can be passed to aParser
Options that control how theParser
behaves.This listener interface is invoked for each token parsed by the graphql parser code.This represents a token that has been parsedThis reader will only emit a maximum number of characters from it.This token source can wrap a lexer and if it asks for more than a maximum number of tokens the user can take some action, typically throw an exception to stop lexing.Contains parsing code for the StringValue types in the grammarContains Unicode helpers for parsing StringValue types in the grammar