Package org.ek9lang.compiler.phase1
Class ValidAggregateConstructorsOrError
java.lang.Object
org.ek9lang.compiler.common.RuleSupport
org.ek9lang.compiler.phase1.ValidAggregateConstructorsOrError
Checks that if the aggregate is a generic class that the appropriate public constructors are in place.
This is important for generic classes as their construction can take multiple forms. BUT, it is important that a 'public' default constructor is present on Generic types so that the EK9 developer can write 'Optional() of String' for example.
-
Field Summary
Fields inherited from class org.ek9lang.compiler.common.RuleSupport
errorListener, symbolsAndScopes
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ValidAggregateConstructorsOrError
(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener) -
Method Summary
-
Constructor Details
-
ValidAggregateConstructorsOrError
protected ValidAggregateConstructorsOrError(SymbolsAndScopes symbolsAndScopes, ErrorListener errorListener)
-
-
Method Details