Package org.ek9lang.compiler.phase3
Class ProcessOperationCallOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.ProcessOperationCallOrError
- All Implemented Interfaces:
BiFunction<EK9Parser.OperationCallContext,
IAggregateSymbol, ScopedSymbol>
final class ProcessOperationCallOrError
extends TypedSymbolAccess
implements BiFunction<EK9Parser.OperationCallContext,IAggregateSymbol,ScopedSymbol>
Used for resolving operation calls on aggregates, which can include properties that are delegates to functions.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorsConstructorDescriptionProcessOperationCallOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new operation resolver. -
Method Summary
Modifier and TypeMethodDescriptionapply
(EK9Parser.OperationCallContext ctx, IAggregateSymbol aggregate) Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiFunction
andThen
-
Constructor Details
-
ProcessOperationCallOrError
ProcessOperationCallOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new operation resolver.
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<EK9Parser.OperationCallContext,
IAggregateSymbol, ScopedSymbol>
-