O |
Evaluator.eval(Expression expression) |
Evaluates the given expression
|
<O> O |
Parser.evaluate(Evaluator<? extends O> evaluator) |
Parses the given resource and evaluates it with the given evaluator.
|
<O> List<O> |
Parser.evaluateAll(Evaluator<? extends O> evaluator) |
Parses the given string and evaluates it with the given evaluator.
|
Expression |
PostfixHandler.handle(Parser parser,
ParserToken token,
Expression left) |
Handles the given postfix (or infix) token using the given parser
|
Expression |
PrefixHandler.handle(Parser parser,
ParserToken token) |
Handles the given prefix token using the given parser
|
List<Expression> |
Parser.parseAllExpressions() |
Parse all expressions list.
|
Expression |
Parser.parseExpression() |
Parses the token stream to get the next expression
|
Expression |
Parser.parseExpression(int precedence) |
Parses the token stream to get the next expression
|
Expression |
Parser.parseExpression(int precedence,
boolean isRightAssociative) |
Parses the token stream to get the next expression
|
<T extends Expression> T |
Parser.parseExpression(int precedence,
Class<T> tClass) |
|
Expression |
Parser.parseExpression(ParserToken precedence) |
Parses the token stream to get the next expression
|
Expression |
Parser.parseExpression(ParserToken token,
boolean isRightAssociative) |
Parses the token stream to get the next expression
|
<T extends Expression> T |
Parser.parseExpression(ParserToken precedence,
Class<T> tClass) |
|
<T extends Expression> T |
Parser.parseExpression(Class<T> tClass) |
|
<T extends Expression> List<T> |
Parser.parseExpressionList(Tag endOfList,
Tag separator) |
Parses a list of tokens ending with the endOfList tag and values separated using the
separator tag.
|
<T extends Expression> List<T> |
Parser.parseExpressionList(Tag startOfList,
Tag endOfList,
Tag separator) |
Parses a list of tokens ending with the endOfList tag and values separated using the
separator tag.
|
void |
Grammar.validatePostfix(Expression expression) |
Validates the given expression as if it were generated from a postfix handler.
|
void |
Grammar.validatePrefix(Expression expression) |
Validates the given expression as if it were generated from a prefix handler.
|