Package org.ek9lang.compiler.phase1
Class ValidMethodOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.phase1.ValidMethodOrError
- All Implemented Interfaces:
BiConsumer<MethodSymbol,
EK9Parser.MethodDeclarationContext>
final class ValidMethodOrError
extends RuleSupport
implements BiConsumer<MethodSymbol,EK9Parser.MethodDeclarationContext>
Checks methods from various contexts, typically this is delegated to other functions.
Those functions do the detail check.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorDescriptionValidMethodOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new method checker. -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(MethodSymbol method, EK9Parser.MethodDeclarationContext ctx) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiConsumer
andThen
-
Constructor Details
-
ValidMethodOrError
ValidMethodOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new method checker.
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceBiConsumer<MethodSymbol,
EK9Parser.MethodDeclarationContext>
-