Package org.ek9lang.compiler.phase3
Class AccessLeftAndRightOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.AccessLeftAndRightOrError
- All Implemented Interfaces:
Function<EK9Parser.ExpressionContext,
Optional<ExprLeftAndRightData>>
final class AccessLeftAndRightOrError
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 'typed', 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
ConstructorDescriptionAccessLeftAndRightOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
AccessLeftAndRightOrError
AccessLeftAndRightOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<EK9Parser.ExpressionContext,
Optional<ExprLeftAndRightData>>
-