Package org.ek9lang.compiler.phase3
Class AccessLeftAndRight
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.AccessLeftAndRight
- All Implemented Interfaces:
Function<EK9Parser.ExpressionContext,
Optional<ExprLeftAndRightData>>
final class AccessLeftAndRight
extends TypedSymbolAccess
implements Function<EK9Parser.ExpressionContext,Optional<ExprLeftAndRightData>>
Just gets the left and right hand side of values in an expression.
Expects both to be available and types, issues errors if this is not the case and
returns empty.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorsConstructorDescriptionAccessLeftAndRight
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
AccessLeftAndRight
AccessLeftAndRight(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<EK9Parser.ExpressionContext,
Optional<ExprLeftAndRightData>>
-