Class ParserUtil
java.lang.Object
com.predic8.membrane.core.graphql.ParserUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparseDirectivesOpt(Tokenizer tokenizer) static List<FieldDefinition>parseFieldsDefinition(Tokenizer tokenizer) parseImplements(Tokenizer tokenizer) static Stringstatic List<InputValueDefinition>static TypeparseUnionMemberTypes(Tokenizer tokenizer) static ValueparseValueConst(Tokenizer tokenizer) static ValueparseValueQuestionConst(Tokenizer tokenizer)
-
Constructor Details
-
ParserUtil
public ParserUtil()
-
-
Method Details
-
parseName
- Throws:
IOExceptionParsingException
-
parseOptionalArgumentsDefinition
public static List<InputValueDefinition> parseOptionalArgumentsDefinition(Tokenizer t) throws IOException, ParsingException - Throws:
IOExceptionParsingException
-
parseOptionalArguments
public static List<Argument> parseOptionalArguments(Tokenizer t) throws IOException, ParsingException - Throws:
IOExceptionParsingException
-
parseDirectivesConstOpt
public static List<Directive> parseDirectivesConstOpt(Tokenizer t) throws IOException, ParsingException - Throws:
IOExceptionParsingException
-
parseType
- Throws:
IOExceptionParsingException
-
parseValueQuestionConst
public static Value parseValueQuestionConst(Tokenizer tokenizer) throws IOException, ParsingException - Throws:
IOExceptionParsingException
-
parseValueConst
- Throws:
IOExceptionParsingException
-
parseDirectivesOpt
public static List<Directive> parseDirectivesOpt(Tokenizer tokenizer) throws ParsingException, IOException - Throws:
ParsingExceptionIOException
-
parseFieldsDefinition
public static List<FieldDefinition> parseFieldsDefinition(Tokenizer tokenizer) throws IOException, ParsingException - Throws:
IOExceptionParsingException
-
parseImplements
public static List<NamedType> parseImplements(Tokenizer tokenizer) throws IOException, ParsingException - Throws:
IOExceptionParsingException
-
parseUnionMemberTypes
public static List<NamedType> parseUnionMemberTypes(Tokenizer tokenizer) throws IOException, ParsingException - Throws:
IOExceptionParsingException
-
parseSelectionSetOpt
public static List<Selection> parseSelectionSetOpt(Tokenizer t) throws IOException, ParsingException - Throws:
IOExceptionParsingException
-