Package org.ek9lang.compiler.phase1
Class VariableDeclarationOrError
java.lang.Object
org.ek9lang.compiler.phase1.VariableDeclarationOrError
- All Implemented Interfaces:
Consumer<EK9Parser.VariableDeclarationContext>
final class VariableDeclarationOrError
extends Object
implements Consumer<EK9Parser.VariableDeclarationContext>
Checks that variable declarations is acceptable.
-
Constructor Summary
ConstructorDescriptionVariableDeclarationOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) If the variable has been declared within any sort of generic type/function and not been used with a 'typedef' i.e. -
Method Summary
-
Constructor Details
-
VariableDeclarationOrError
VariableDeclarationOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) If the variable has been declared within any sort of generic type/function and not been used with a 'typedef' i.e. it has been inferred - this will generate an error.
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.VariableDeclarationContext>
-