Class BodiesInServiceDeclaration
java.lang.Object
org.ek9lang.compiler.phase7.support.BodiesInServiceDeclaration
- All Implemented Interfaces:
OperationBodyLocator
THE
OperationBodyLocator of members declared in a service, matched by symbol identity: its methods first,
then its service operations (a service has no aggregate parts).-
Constructor Summary
ConstructorsConstructorDescriptionBodiesInServiceDeclaration(ParsedModule parsedModule, EK9Parser.ServiceDeclarationContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionbodyOf(MethodSymbol method) The written body ofmethod, or empty when it has none to generate from.
-
Constructor Details
-
BodiesInServiceDeclaration
public BodiesInServiceDeclaration(ParsedModule parsedModule, EK9Parser.ServiceDeclarationContext ctx) - Parameters:
parsedModule- the module that recorded the symbols ofctx's declarationsctx- the service declaration
-
-
Method Details
-
bodyOf
Description copied from interface:OperationBodyLocatorThe written body ofmethod, or empty when it has none to generate from.- Specified by:
bodyOfin interfaceOperationBodyLocator
-