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 Token
Parser.jj_lastpos
Parser.jj_nt
Next token.private Token
Parser.jj_scanpos
Token.next
A reference to the next regular (non-special) token from the input stream.Token.specialToken
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.Parser.token
Current token.Methods in org.apache.commons.jexl3.parser that return TokenModifier and TypeMethodDescriptionprotected static Token
JexlParser.errorToken
(Token... tokens) Pick the most significant token for error reporting.final Token
Parser.getNextToken()
Get the next Token.ParserTokenManager.getNextToken()
Get the next Token.protected abstract Token
JexlParser.getToken
(int index) Overridden in actual parser to access tokens stack.final Token
Parser.getToken
(int index) Get the specific Token.private Token
Parser.jj_consume_token
(int kind) protected Token
ParserTokenManager.jjFillToken()
static Token
Token.newToken
(int ofKind) static Token
Returns a new Token object, by default.Methods in org.apache.commons.jexl3.parser with parameters of type TokenModifier and TypeMethodDescriptionprotected void
JexlParser.checkLambda
(Token token) Check fat vs thin arrow syntax feature.protected void
JexlParser.declareFunction
(ASTVar variable, Token token) Declares a local function.protected void
JexlParser.declareParameter
(Token token, boolean lexical, boolean constant) Declares a local parameter.protected void
JexlParser.declareVariable
(ASTVar variable, Token token, boolean lexical, boolean constant) Declares a local variable.protected static Token
JexlParser.errorToken
(Token... tokens) Pick the most significant token for error reporting.protected boolean
JexlParser.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 boolean
NumberParser.isNegative
(Token token) void
JexlNode.jjtSetFirstToken
(Token t) void
JexlNode.jjtSetLastToken
(Token t) (package private) static Number
NumberParser.parseDouble
(Token negative, Token s) (package private) static Number
NumberParser.parseInteger
(Token negative, Token s) (package private) void
ParserTokenManager.SkipLexicalActions
(Token matchedToken) protected void
JexlParser.throwFeatureException
(int feature, Token trigger) Throws a feature exception.protected void
JexlParser.throwParsingException
(Token parsed) Throws a parsing exception.(package private) void
ParserTokenManager.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.