Package org.ek9lang.compiler.phase1
Class CheckApplicationUseOnMethodDeclaration
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.phase1.CheckApplicationUseOnMethodDeclaration
- All Implemented Interfaces:
Consumer<EK9Parser.MethodDeclarationContext>
final class CheckApplicationUseOnMethodDeclaration
extends RuleSupport
implements Consumer<EK9Parser.MethodDeclarationContext>
Checks for the appropriate use of the APPLICATION of xyz on a method declaration.
Only to be used with Programs - this is because the grammar allows this - to keep it simple.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolAndScopeManagement
-
Constructor Summary
ConstructorsConstructorDescriptionCheckApplicationUseOnMethodDeclaration
(SymbolAndScopeManagement symbolAndScopeManagement, ErrorListener errorListener) -
Method Summary
-
Constructor Details
-
CheckApplicationUseOnMethodDeclaration
CheckApplicationUseOnMethodDeclaration(SymbolAndScopeManagement symbolAndScopeManagement, ErrorListener errorListener)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<EK9Parser.MethodDeclarationContext>
-