Package org.ek9lang.compiler.phase3
Class VariableOnlyOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.common.TypedSymbolAccess
org.ek9lang.compiler.phase3.VariableOnlyOrError
- All Implemented Interfaces:
Consumer<EK9Parser.VariableOnlyDeclarationContext>
final class VariableOnlyOrError
extends TypedSymbolAccess
implements Consumer<EK9Parser.VariableOnlyDeclarationContext>
Focus on checking a variable only declaration, now that types are all known.
This is over and above the tests in phase 1. Which does all the basics.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionVariableOnlyOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
Methods inherited from class org.ek9lang.compiler.common.TypedSymbolAccess
getRecordedAndTypedSymbol, isProcessingScopePure, recordATypedSymbol
-
Constructor Details
-
VariableOnlyOrError
VariableOnlyOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.VariableOnlyDeclarationContext>
-