Class RecordDfnGenerator
java.lang.Object
org.ek9lang.compiler.phase7.AbstractDfnGenerator
org.ek9lang.compiler.phase7.AggregateDfnGenerator
org.ek9lang.compiler.phase7.RecordDfnGenerator
- All Implemented Interfaces:
Function<EK9Parser.RecordDeclarationContext, IRConstruct>
final class RecordDfnGenerator
extends AggregateDfnGenerator
implements Function<EK9Parser.RecordDeclarationContext, IRConstruct>
Creates the appropriate IR Construct for a record declaration.
Follows the same pattern as ProgramCreator and ClassCreator.
-
Field Summary
Fields inherited from class AbstractDfnGenerator
generators, notImplicitSuper, operationDfnGenerator, stackContext, synthesisedCallMetaData -
Constructor Summary
ConstructorsConstructorDescriptionRecordDfnGenerator(IRGenerationContext stackContext) Constructor using stack context - the single source of state. -
Method Summary
Methods inherited from class AggregateDfnGenerator
beforeInstanceInit, createFieldDeclarations, createInitializationOperations, createOperationsForAggregateParts, matchClonedMethodsBySourceToken, processAggregate, processAggregate, withFieldSetStatusCarrierMethods inherited from class AbstractDfnGenerator
createEmptyInitOperation, createInitOperation, createInstanceInitOperation, getParsedModule, newSyntheticInitOperation, processAsMethodOrOperator, processAsMethodOrOperator, processPropertiesForInstanceInit, processSyntheticConstructor, processSyntheticConstructor, processSyntheticConstructor
-
Constructor Details
-
RecordDfnGenerator
RecordDfnGenerator(IRGenerationContext stackContext) Constructor using stack context - the single source of state.
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<EK9Parser.RecordDeclarationContext, IRConstruct>
-