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'.
TODO still needs the code for the actual 'main' entry point that deals with accepting
TODO and converting commandline arguments into correctly typed arguments to call _main.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.phase7.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 org.ek9lang.compiler.phase7.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>
-