Class RecordDfnGenerator
java.lang.Object
org.ek9lang.compiler.phase7.AbstractDfnGenerator
org.ek9lang.compiler.phase7.RecordDfnGenerator
- All Implemented Interfaces:
Function<EK9Parser.RecordDeclarationContext,
IRConstruct>
final class RecordDfnGenerator
extends AbstractDfnGenerator
implements Function<EK9Parser.RecordDeclarationContext,IRConstruct>
Creates the appropriate IR Construct for a record declaration.
Follows the same pattern as ProgramCreator and ClassCreator.
-
Constructor Details
-
RecordDfnGenerator
RecordDfnGenerator(ParsedModule parsedModule, CompilerFlags compilerFlags)
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<EK9Parser.RecordDeclarationContext,
IRConstruct>
-