Package eu.bandm.tools.ramus.runtime2
Interface Reading.OperatorFactory<D,T,A>
- Type Parameters:
D
- the type of document identifiersT
- the type of token typesA
- the type of parsing results
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Function for constructing binary AST nodes for operators.
-
Method Summary
-
Method Details
-
apply
Construct a binary AST node for an operator.- Parameters:
location
- the source location of the operator useleft
- the left operandop
- the token type of the operandright
- the right operand- Returns:
- an AST node for the application of the operator to the operands
-