Package quickparse.grammar.symbol
Interface Symbol.ConstructFunction<R,C>
- Type Parameters:
C- the type of context that is used to compute the functionR- the result type of the function
- All Known Subinterfaces:
Symbol.Function<R,C>
- Enclosing class:
- Symbol
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface Symbol.ConstructFunction<R,C>
A function that can be executed on a
ConstructSymbol-
Method Summary
Modifier and Type Method Description Rapply(C context, ConstructSymbol s)Implements thefunction
-
Method Details
-
apply
Implements thefunction- Parameters:
context- the context used to compute the function results- the inputConstructSymbolfor the function- Returns:
- the result of the function
-