Package org.ek9lang.compiler.phase3
Class SymbolTypeOrEmpty
java.lang.Object
org.ek9lang.compiler.phase3.SymbolTypeOrEmpty
- All Implemented Interfaces:
Function<ISymbol,
Optional<PossibleGenericSymbol>>
final class SymbolTypeOrEmpty
extends Object
implements Function<ISymbol,Optional<PossibleGenericSymbol>>
Provides the PossibleGenericSymbol type of the symbol if it has been typed, or empty.
This is because the 'type' can be an aggregate or it can be a function.
-
Constructor Details
-
SymbolTypeOrEmpty
SymbolTypeOrEmpty()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<ISymbol,
Optional<PossibleGenericSymbol>>
-