Class PropertyFieldOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.PropertyFieldOrError
- All Implemented Interfaces:
BiFunction<EK9Parser.IdentifierContext, IScope, ISymbol>
final class PropertyFieldOrError
extends TypedSymbolAccess
implements BiFunction<EK9Parser.IdentifierContext, IScope, ISymbol>
Used for resolving and recoding of fields on specific types.
This takes into account field visibility and where access is being made from.
So it will work on a range of aggregates, records, classes, components, etc.
-
Field Summary
Fields inherited from class RuleSupport
errorListener, symbolsAndScopes -
Constructor Summary
ConstructorsConstructorDescriptionPropertyFieldOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new field resolver. -
Method Summary
Modifier and TypeMethodDescriptionapply(EK9Parser.IdentifierContext ctx, IScope scopeToResolveIn) Methods inherited from class TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbolMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiFunction
andThen
-
Constructor Details
-
PropertyFieldOrError
PropertyFieldOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new field resolver.
-
-
Method Details
-
apply
- Specified by:
applyin interfaceBiFunction<EK9Parser.IdentifierContext, IScope, ISymbol>
-