Uses of Class
org.apache.commons.jexl3.parser.Token
Packages that use Token
-
Uses of Token in org.apache.commons.jexl3.parser
Fields in org.apache.commons.jexl3.parser declared as TokenModifier and TypeFieldDescriptionprivate TokenParser.jj_lastposParser.jj_ntNext token.private TokenParser.jj_scanposToken.nextA reference to the next regular (non-special) token from the input stream.Token.specialTokenThis field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.Parser.tokenCurrent token.Methods in org.apache.commons.jexl3.parser that return TokenModifier and TypeMethodDescriptionprotected static TokenJexlParser.errorToken(Token... tokens) Pick the most significant token for error reporting.final TokenParser.getNextToken()Get the next Token.ParserTokenManager.getNextToken()Get the next Token.protected abstract TokenJexlParser.getToken(int index) Overridden in actual parser to access tokens stack.final TokenParser.getToken(int index) Get the specific Token.private TokenParser.jj_consume_token(int kind) protected TokenParserTokenManager.jjFillToken()static TokenToken.newToken(int ofKind) static TokenReturns a new Token object, by default.Methods in org.apache.commons.jexl3.parser with parameters of type TokenModifier and TypeMethodDescriptionprotected voidJexlParser.checkLambda(Token token) Check fat vs thin arrow syntax feature.protected voidJexlParser.declareFunction(ASTVar variable, Token token) Declares a local function.protected voidJexlParser.declareParameter(Token token, boolean lexical, boolean constant) Declares a local parameter.protected voidJexlParser.declareVariable(ASTVar variable, Token token, boolean lexical, boolean constant) Declares a local variable.protected static TokenJexlParser.errorToken(Token... tokens) Pick the most significant token for error reporting.protected booleanJexlParser.isNamespaceFuncall(Token ns, Token colon, Token fun, Token paren) Semantic check identifying whether a list of 4 tokens forms a namespace function call.private static booleanNumberParser.isNegative(Token token) voidJexlNode.jjtSetFirstToken(Token t) voidJexlNode.jjtSetLastToken(Token t) (package private) static NumberNumberParser.parseDouble(Token negative, Token s) (package private) static NumberNumberParser.parseInteger(Token negative, Token s) (package private) voidParserTokenManager.SkipLexicalActions(Token matchedToken) protected voidJexlParser.throwFeatureException(int feature, Token trigger) Throws a feature exception.protected voidJexlParser.throwParsingException(Token parsed) Throws a parsing exception.(package private) voidParserTokenManager.TokenLexicalActions(Token matchedToken) Constructors in org.apache.commons.jexl3.parser with parameters of type TokenModifierConstructorDescriptionParseException(Token currentToken, int[][] expectedTokenSequences, String[] tokenImage) This constructor is used by the method "generateParseException" in the generated parser.