Package org.ek9lang.compiler.phase3
Class OperationCallOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.OperationCallOrError
- All Implemented Interfaces:
BiFunction<EK9Parser.OperationCallContext,
IAggregateSymbol, ScopedSymbol>
final class OperationCallOrError
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
ConstructorDescriptionOperationCallOrError
(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
-
OperationCallOrError
OperationCallOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new operation resolver.
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceBiFunction<EK9Parser.OperationCallContext,
IAggregateSymbol, ScopedSymbol>
-