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