Package org.ek9lang.compiler.phase3
Class HeadTailSkipOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.HeadTailSkipOrError
- All Implemented Interfaces:
Consumer<EK9Parser.StreamPartContext>
final class HeadTailSkipOrError
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
ConstructorDescriptionHeadTailSkipOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
HeadTailSkipOrError
HeadTailSkipOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.StreamPartContext>
-