Interface Symbol.Function<R,​C>

Type Parameters:
R - the return type of the function
C - the type of context that is used to compute the function
All Superinterfaces:
Symbol.ConstructFunction<R,​C>, Symbol.TokenFunction<R,​C>
Enclosing class:
Symbol

public static interface Symbol.Function<R,​C>
extends Symbol.ConstructFunction<R,​C>, Symbol.TokenFunction<R,​C>
Represents a function that can be computed on a ConstructSymbol or, alternatively, on a TokenSymbol. This class implements the SyntaxTreeVisitor design pattern by extending the Symbol.ConstructFunction and the Symbol.TokenFunction classes.