Package org.ek9lang.compiler.support
Class AggregateFactory
java.lang.Object
org.ek9lang.compiler.support.CommonFactory
org.ek9lang.compiler.support.AggregateFactory
Deals with the creation of various aggregate types.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.support.CommonFactory
aggregateManipulator, checkContextNotNull, parsedModule
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new aggregate that represents an EK9 class.Create a new aggregate that represents an EK9 component.newDynamicClass
(IScopedSymbol enclosingMainTypeOrFunction, EK9Parser.DynamicClassDeclarationContext ctx) Create a new aggregate that represents an EK9 dynamic class.Create a new aggregate that represents an EK9 record.Create a new aggregate that represents an EK9 trait.Methods inherited from class org.ek9lang.compiler.support.CommonFactory
configureAggregate, configureSymbol, createAndRegisterParameterisedSymbols, getAggregateFactory, getDefaultOperatorInitializer, getDefaultOperatorSymbolInitializer
-
Constructor Details
-
AggregateFactory
AggregateFactory(ParsedModule parsedModule)
-
-
Method Details
-
newClass
Create a new aggregate that represents an EK9 class. A bit tricky when it comes to parameterised (generic/template classes). -
newComponent
Create a new aggregate that represents an EK9 component. -
newTrait
Create a new aggregate that represents an EK9 trait. -
newRecord
Create a new aggregate that represents an EK9 record. -
newDynamicClass
public AggregateWithTraitsSymbol newDynamicClass(IScopedSymbol enclosingMainTypeOrFunction, EK9Parser.DynamicClassDeclarationContext ctx) Create a new aggregate that represents an EK9 dynamic class.
-