Package org.ek9lang.compiler.phase3
Class StreamCatOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.StreamCatOrError
- All Implemented Interfaces:
Consumer<EK9Parser.StreamCatContext>
final class StreamCatOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.StreamCatContext>
Deals with working out what the type being 'catted' is.
A bit more complex than you might think. This is because there can be multiple
expressions as part of the 'cat'. So it is essential to establish a common type.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionStreamCatOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
StreamCatOrError
StreamCatOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.StreamCatContext>
-