Package | Description |
---|---|
jfun.parsec |
Provides classes and interfaces for parser combinator logic and basic parsers.
|
Modifier and Type | Method and Description |
---|---|
OperatorTable<E> |
OperatorTable.infixl(Parser<? extends Map2<? super E,? super E,? extends E>> p,
int precedence)
Adds a infix left-associative binary operator.
|
OperatorTable<E> |
OperatorTable.infixn(Parser<? extends Map2<? super E,? super E,? extends E>> p,
int precedence)
Adds a infix non-associative binary operator.
|
OperatorTable<E> |
OperatorTable.infixr(Parser<? extends Map2<? super E,? super E,? extends E>> p,
int precedence)
Adds a infix right-associative binary operator.
|
OperatorTable<E> |
OperatorTable.postfix(Parser<? extends Map<? super E,? extends E>> p,
int precedence)
Adds a postfix unary operator.
|
OperatorTable<E> |
OperatorTable.prefix(Parser<? extends Map<? super E,? extends E>> p,
int precedence)
Adds a prefix unary operator.
|
Modifier and Type | Method and Description |
---|---|
static <E,T extends E> |
Expressions.buildExpressionParser(Parser<T> term,
OperatorTable<E> table)
Creates a Parser object based on information described by OperatorTable.
|
static <E,T extends E> |
Expressions.buildExpressionParser(java.lang.String name,
Parser<T> term,
OperatorTable<E> table)
Creates a Parser object based on information described by OperatorTable.
|