Uses of Class
org.apache.commons.jexl3.parser.Token
-
Packages that use Token Package Description org.apache.commons.jexl3.parser Contains the Parser for JEXL script. -
-
Uses of Token in org.apache.commons.jexl3.parser
Fields in org.apache.commons.jexl3.parser declared as Token Modifier and Type Field Description private Token
Parser. jj_lastpos
Token
Parser. jj_nt
Next token.private Token
Parser. jj_scanpos
Token
Token. next
A reference to the next regular (non-special) token from the input stream.Token
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.Token
Parser. token
Current token.Methods in org.apache.commons.jexl3.parser that return Token Modifier and Type Method Description protected static Token
JexlParser. errorToken(Token... tokens)
Pick the most significant token for error reporting.Token
Parser. getNextToken()
Get the next Token.Token
ParserTokenManager. getNextToken()
Get the next Token.protected abstract Token
JexlParser. getToken(int index)
Overridden in actual parser to access tokens stack.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
Token. newToken(int ofKind, java.lang.String image)
Returns a new Token object, by default.Methods in org.apache.commons.jexl3.parser with parameters of type Token Modifier and Type Method Description protected 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 java.lang.Number
NumberParser. parseDouble(Token negative, Token s)
(package private) static java.lang.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 Token Constructor Description ParseException(Token currentToken, int[][] expectedTokenSequences, java.lang.String[] tokenImage)
This constructor is used by the method "generateParseException" in the generated parser.
-