Class BodiesInAggregateParts
java.lang.Object
org.ek9lang.compiler.phase7.support.BodiesInAggregateParts
- All Implemented Interfaces:
OperationBodyLocator
THE
OperationBodyLocator of members declared in an aggregate's parts, matched by symbol identity (classes,
records, traits, components).-
Constructor Summary
ConstructorsConstructorDescriptionBodiesInAggregateParts(ParsedModule parsedModule, EK9Parser.AggregatePartsContext ctx) -
Method Summary
Modifier and TypeMethodDescriptionbodyOf(MethodSymbol method) The written body ofmethod, or empty when it has none to generate from.
-
Constructor Details
-
BodiesInAggregateParts
- Parameters:
parsedModule- the module that recorded the symbols ofctx's declarationsctx- the aggregate parts, null when the aggregate has no body
-
-
Method Details
-
bodyOf
Description copied from interface:OperationBodyLocatorThe written body ofmethod, or empty when it has none to generate from.- Specified by:
bodyOfin interfaceOperationBodyLocator
-