Package org.ek9lang.compiler.phase3
Class ListUseOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.ListUseOrError
- All Implemented Interfaces:
Consumer<EK9Parser.ListContext>
Creates/Updates an ek9 list of a specific type if the expressions are typed correctly.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionListUseOrError
(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) Create a new consumer to handle Lists in the form of '[X, Y, Z]'. -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
ListUseOrError
ListUseOrError(SymbolsAndScopes symbolsAndScopes, SymbolFactory symbolFactory, ErrorListener errorListener) Create a new consumer to handle Lists in the form of '[X, Y, Z]'.
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.ListContext>
-