Package org.ek9lang.compiler.support
Class CheckAppropriateWebVariable
java.lang.Object
org.ek9lang.compiler.support.CheckAppropriateWebVariable
- All Implemented Interfaces:
Consumer<EK9Parser.VariableOnlyDeclarationContext>
public class CheckAppropriateWebVariable
extends Object
implements Consumer<EK9Parser.VariableOnlyDeclarationContext>
Checks that the use of the variable only if it has a web variable correlation is valid.
i.e. only when used in a service.
This works on the structure of the grammar, so it a bit fragile if grammar is refactored.
-
Constructor Details
-
CheckAppropriateWebVariable
CheckAppropriateWebVariable(ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.VariableOnlyDeclarationContext>
-