public final class Expressions
extends java.lang.Object
Constructor and Description |
---|
Expressions() |
Modifier and Type | Method and Description |
---|---|
static <E,T extends E> |
buildExpressionParser(Parser<T> term,
OperatorTable<E> table)
Creates a Parser object based on information described by OperatorTable.
|
static <E,T extends E> |
buildExpressionParser(java.lang.String name,
Parser<T> term,
OperatorTable<E> table)
Creates a Parser object based on information described by OperatorTable.
|
public static <E,T extends E> Parser<E> buildExpressionParser(Parser<T> term, OperatorTable<E> table)
term
- parser for the terminals.table
- the operator table.public static <E,T extends E> Parser<E> buildExpressionParser(java.lang.String name, Parser<T> term, OperatorTable<E> table)
name
- the name of the parser.term
- parser for the terminals.table
- the operator table.