Package org.ek9lang.compiler.phase3
Class StreamStatementTerminationOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.StreamStatementTerminationOrError
- All Implemented Interfaces:
Consumer<EK9Parser.StreamStatementTerminationContext>
final class StreamStatementTerminationOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.StreamStatementTerminationContext>
Process and ensure that the stream termination can function correctly.
But note this is only a basic check, only at the end of the whole Stream pipeline 'exit'
can the whole 'typed flow be checked.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionStreamStatementTerminationOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
StreamStatementTerminationOrError
StreamStatementTerminationOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.StreamStatementTerminationContext>
-