Class ProgramDfnGenerator
java.lang.Object
org.ek9lang.compiler.phase7.AbstractDfnGenerator
org.ek9lang.compiler.phase7.ProgramDfnGenerator
- All Implemented Interfaces:
Function<EK9Parser.MethodDeclarationContext, IRConstruct>
final class ProgramDfnGenerator
extends AbstractDfnGenerator
implements Function<EK9Parser.MethodDeclarationContext, IRConstruct>
Creates the appropriate IR Construct for an Aggregate of type 'program'.
-
Field Summary
Fields inherited from class AbstractDfnGenerator
notImplicitSuper, operationDfnGenerator, stackContext, voidStr
-
Constructor Summary
ConstructorsConstructorDescriptionProgramDfnGenerator
(IRGenerationContext stackContext) Constructor using stack context - the single source of state. -
Method Summary
Methods inherited from class AbstractDfnGenerator
createCallMetaDataExtractor, createDebugInfoCreator, createInitOperation, createInstanceInitOperation, getParsedModule, newPerConstructContext, newSyntheticInitOperation, processAsMethodOrOperator, processPropertiesForInstanceInit, processSyntheticConstructor
-
Constructor Details
-
ProgramDfnGenerator
ProgramDfnGenerator(IRGenerationContext stackContext) Constructor using stack context - the single source of state.
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<EK9Parser.MethodDeclarationContext, IRConstruct>
-