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 RuleSupport
errorListener, symbolsAndScopes -
Constructor Summary
ConstructorsConstructorDescriptionValidMethodOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new method checker. -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(MethodSymbol method, EK9Parser.MethodDeclarationContext ctx) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThen
-
Constructor Details
-
ValidMethodOrError
ValidMethodOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new method checker.
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<MethodSymbol, EK9Parser.MethodDeclarationContext>
-