Package org.ek9lang.compiler.phase3
Class CheckHeadTailSkipOperation
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.CheckHeadTailSkipOperation
- All Implemented Interfaces:
Consumer<EK9Parser.StreamPartContext>
final class CheckHeadTailSkipOperation
extends TypedSymbolAccess
implements Consumer<EK9Parser.StreamPartContext>
Checks the possible operation variable, literal or function for suitability for use with
'head', 'tail' and 'skip'.
Emits errors if the configuration is not valid.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorsConstructorDescriptionCheckHeadTailSkipOperation
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
CheckHeadTailSkipOperation
CheckHeadTailSkipOperation(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.StreamPartContext>
-