| Package | Description |
|---|---|
| com.mitchellbosecke.pebble.operator |
| Modifier and Type | Method and Description |
|---|---|
Associativity |
BinaryOperatorImpl.getAssociativity() |
Associativity |
BinaryOperator.getAssociativity() |
static Associativity |
Associativity.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Associativity[] |
Associativity.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
BinaryOperatorImpl(String symbol,
int precedence,
Class<? extends BinaryExpression<?>> nodeClass,
Associativity associativity)
This constuctor left for backward compatibility with custom extensions
|
BinaryOperatorImpl(String symbol,
int precedence,
java.util.function.Supplier<? extends BinaryExpression<?>> nodeSupplier,
BinaryOperatorType type,
Associativity associativity)
This constuctor allows you to completely control the instantiation of the expression class
|
Copyright © 2020. All rights reserved.