Package org.ek9lang.compiler.support
Class ParameterisedLocator
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.support.ResolverOrDefiner
org.ek9lang.compiler.support.ParameterisedLocator
- All Implemented Interfaces:
Function<ParameterisedTypeData,
Optional<ISymbol>>
public final class ParameterisedLocator
extends ResolverOrDefiner
implements Function<ParameterisedTypeData,Optional<ISymbol>>
Create a new parameterised symbol from a generic type and a set of type arguments.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.support.ResolverOrDefiner
errorIfNotDefinedOrResolved, symbolFactory
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionParameterisedLocator
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener, boolean errorIfNotDefinedOrResolved) Create a new Function that can define or resolve a specific generic type with a single type parameter. -
Method Summary
Methods inherited from class org.ek9lang.compiler.support.ResolverOrDefiner
resolveOrDefine
-
Constructor Details
-
ParameterisedLocator
public ParameterisedLocator(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener, boolean errorIfNotDefinedOrResolved) Create a new Function that can define or resolve a specific generic type with a single type parameter.
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<ParameterisedTypeData,
Optional<ISymbol>>
-