Class ExpressionParser
java.lang.Object
net.thisptr.jackson.jq.internal.javacc.ExpressionParser
- All Implemented Interfaces:
ExpressionParserConstants
-
Field Summary
FieldsModifier and TypeFieldDescriptionNext token.Current token.Generated Token Manager.Fields inherited from interface net.thisptr.jackson.jq.internal.javacc.ExpressionParserConstants
ASSIGN_OP, ATSIGN, BOOLEAN_LITERAL_FALSE, BOOLEAN_LITERAL_TRUE, CLOSE_BRACE, CLOSE_BRACKET, CLOSE_PAR, CODEPOINT_CHAR, COLON, COMMA, COMMENT, COMP_EQUAL, COMP_GREATER, COMP_GREATER_EQUAL, COMP_LESS, COMP_LESS_EQUAL, COMP_NOT_EQUAL, DEFAULT, DEFAULT_EQUAL, DIGIT, DIVIDE, DIVIDE_EQUAL, DOLLAR, DOT, DOUBLE_COLON, ENDQUOTE, EOF, ESCAPE_CHAR, EXPONENT, FLOAT_LITERAL, IDENTIFIER, IDENTIFIER_AFTER_DOT, INTEGER_LITERAL, KEYWORD_AS, KEYWORD_BREAK, KEYWORD_CATCH, KEYWORD_DEF, KEYWORD_ELIF, KEYWORD_ELSE, KEYWORD_END, KEYWORD_FOREACH, KEYWORD_IF, KEYWORD_IMPORT, KEYWORD_INCLUDE, KEYWORD_LABEL, KEYWORD_MODULE, KEYWORD_REDUCE, KEYWORD_THEN, KEYWORD_TRY, LETTER, MINUS, MINUS_EQUAL, MODULO, MODULO_EQUAL, NULL_LITERAL, OP_AND, OP_DEFAULT, OP_OR, OPEN_BRACE, OPEN_BRACKET, OPEN_INTERP, OPEN_PAR, OTHERWISE_AFTER_DOT, PIPE, PLUS, PLUS_EQUAL, QUESTION, QUOTE, RECURSION, SEMICOLON, SPACES, STATE_DOT, STATE_STRING, STATE_STRING_ESCAPE, TIMES, TIMES_EQUAL, tokenImage, UPDATE_OP, VISIBLE_CHAR -
Constructor Summary
ConstructorsConstructorDescriptionExpressionParser(InputStream stream) Constructor with InputStream.ExpressionParser(InputStream stream, String encoding) Constructor with InputStream and supplied encodingExpressionParser(Reader stream) Constructor.Constructor with generated Token Manager. -
Method Summary
Modifier and TypeMethodDescriptionfinal Expressionfinal PatternMatcherfinal Expressionfinal Expressionfinal Expressionstatic Expressionfinal Expressionfinal voidDisable tracing.final voidEnable tracing.final Expressionfinal ExpressionFieldAccessor(Expression obj) final Expressionfinal Expressionfinal Expressionfinal Expressionfinal StringGenerate ParseException.final TokenGet the next Token.final TokengetToken(int index) Get the specific Token.final Stringfinal Expressionfinal ImportStatementfinal ImportStatementfinal Expressionfinal Stringfinal Stringfinal PatternMatcherMatcher()final ModuleDirectivefinal Expressionfinal voidfinal Expressionfinal Expressionfinal PatternMatcherfinal PipeComponentfinal PipeComponentfinal Expressionfinal Expressionfinal ExpressionvoidReInit(InputStream stream) Reinitialise.voidReInit(InputStream stream, String encoding) Reinitialise.voidReinitialise.voidReinitialise.final ExpressionStart()final Expressionfinal Expressionfinal Expressionfinal booleanTrace enabled.final Expressionfinal Expressionfinal Expressionfinal PatternMatcherfinal Expression
-
Field Details
-
token_source
Generated Token Manager. -
token
Current token. -
jj_nt
Next token.
-
-
Constructor Details
-
ExpressionParser
Constructor with InputStream. -
ExpressionParser
Constructor with InputStream and supplied encoding -
ExpressionParser
Constructor. -
ExpressionParser
Constructor with generated Token Manager.
-
-
Method Details
-
compile
- Throws:
JsonQueryException
-
KeywordAsString
- Throws:
ParseException
-
IdentifierAsString
- Throws:
ParseException
-
KeywordOrIdentifier
- Throws:
ParseException
-
ModuleDirective
- Throws:
ParseException
-
ImportStatement
- Throws:
ParseException
-
IncludeStatement
- Throws:
ParseException
-
Start
- Throws:
ParseException
-
Expression
- Throws:
ParseException
-
JsonQueryWithoutComma
- Throws:
ParseException
-
PipeComponent
- Throws:
ParseException
-
PipeComponentWithoutComma
- Throws:
ParseException
-
TupleExpression
- Throws:
ParseException
-
BinaryOperatorExpression
- Throws:
ParseException
-
FunctionDefinition
- Throws:
ParseException
-
FunctionDefinitionParam
- Throws:
ParseException
-
PrimaryExpression
- Throws:
ParseException
-
RecursionOperator
- Throws:
ParseException
-
FormattingFilter
- Throws:
ParseException
-
TryCatchExpression
- Throws:
ParseException
-
BreakExpression
- Throws:
ParseException
-
ForeachExpression
- Throws:
ParseException
-
ReduceExpression
- Throws:
ParseException
-
VariableAccess
- Throws:
ParseException
-
ConditionalExpression
- Throws:
ParseException
-
ObjectConstruction
- Throws:
ParseException
-
ObjectField
- Throws:
ParseException
-
ObjectFieldName
- Throws:
ParseException
-
ObjectFieldValue
- Throws:
ParseException
-
ArrayConstruction
- Throws:
ParseException
-
ValueLiteral
- Throws:
ParseException
-
FunctionCall
- Throws:
ParseException
-
FieldAccessor
- Throws:
ParseException
-
ThisObjectAccess
- Throws:
ParseException
-
IdentifierFieldAccessor
- Throws:
ParseException
-
StringFieldAccessor
- Throws:
ParseException
-
BracketFieldAccessor
- Throws:
ParseException
-
StringInterpolation
- Throws:
ParseException
-
Matcher
- Throws:
ParseException
-
ArrayMatcher
- Throws:
ParseException
-
ObjectMatcher
- Throws:
ParseException
-
ObjectMatcherField
- Throws:
ParseException
-
ValueMatcher
- Throws:
ParseException
-
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
ReInit
Reinitialise. -
getNextToken
Get the next Token. -
getToken
Get the specific Token. -
generateParseException
Generate ParseException. -
trace_enabled
public final boolean trace_enabled()Trace enabled. -
enable_tracing
public final void enable_tracing()Enable tracing. -
disable_tracing
public final void disable_tracing()Disable tracing.
-