Package org.ek9lang.compiler.support
Class ResolveOrDefineIdentifierReference
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.support.ResolverOrDefiner
org.ek9lang.compiler.support.ResolveOrDefineTypes
org.ek9lang.compiler.support.ResolveOrDefineIdentifierReference
- All Implemented Interfaces:
Function<EK9Parser.IdentifierReferenceContext,
Optional<ISymbol>>
public class ResolveOrDefineIdentifierReference
extends ResolveOrDefineTypes
implements Function<EK9Parser.IdentifierReferenceContext,Optional<ISymbol>>
The bulk of the processing is in the abstract base.
This just defines the entry point for identifierReference context.
-
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
ConstructorDescriptionResolveOrDefineIdentifierReference
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener, boolean errorIfNotDefinedOrResolved) A bit of a complex constructor - for a function. -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.ek9lang.compiler.support.ResolveOrDefineTypes
resolveSimpleTypeByIdentifierReference, resolveTypeByIdentifierReference, resolveTypeByParameterizedType, resolveTypeByTypeDef
Methods inherited from class org.ek9lang.compiler.support.ResolverOrDefiner
resolveOrDefine
-
Constructor Details
-
ResolveOrDefineIdentifierReference
public ResolveOrDefineIdentifierReference(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener, boolean errorIfNotDefinedOrResolved) A bit of a complex constructor - for a function.
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<EK9Parser.IdentifierReferenceContext,
Optional<ISymbol>>
-