Package org.ek9lang.compiler.phase2
Class SyntheticConstructorCreator
java.lang.Object
org.ek9lang.compiler.phase2.SyntheticConstructorCreator
- All Implemented Interfaces:
Consumer<IAggregateSymbol>
Some aggregates like classes, components, etc. Can be defined without a constructor.
If that is the case then a synthetic constructor(s) can be added.
This is a bit like Java in terms of not requiring the developer to declare obvious constructors.
The ek9 developer can use 'default Name' where Name is the class/record etc.
-
Constructor Details
-
SyntheticConstructorCreator
SyntheticConstructorCreator(AggregateFactory aggregateFactory)
-
-
Method Details
-
accept
- Specified by:
accept
in interfaceConsumer<IAggregateSymbol>
-