Package org.ek9lang.compiler.phase2
Class CheckServiceOperation
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.phase2.CheckServiceOperation
- All Implemented Interfaces:
BiConsumer<ServiceOperationSymbol,
EK9Parser.ServiceOperationDeclarationContext>
final class CheckServiceOperation
extends RuleSupport
implements BiConsumer<ServiceOperationSymbol,EK9Parser.ServiceOperationDeclarationContext>
Check that a service operation complies with ek9 rules or return types etc.
Also incoming parameters are limited and therefore checked in here.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorsConstructorDescriptionCheckServiceOperation
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new Check Service Operation function. -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(ServiceOperationSymbol operation, EK9Parser.ServiceOperationDeclarationContext 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
-
CheckServiceOperation
CheckServiceOperation(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) Create a new Check Service Operation function.
-
-
Method Details
-
accept
public void accept(ServiceOperationSymbol operation, EK9Parser.ServiceOperationDeclarationContext ctx) - Specified by:
accept
in interfaceBiConsumer<ServiceOperationSymbol,
EK9Parser.ServiceOperationDeclarationContext>
-