de.grogra.rgg.model
public class CompilerExtension extends java.lang.Object implements de.grogra.xl.compiler.Extension
| Constructor and Description |
|---|
CompilerExtension() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
forcesDefaultConstructorFor(Type type)
Should a default constructor with no arguments be declared
in the given
type? |
void |
postprocess(de.grogra.xl.compiler.scope.TypeScope scope,
int run) |
void |
preprocess(de.grogra.xl.compiler.scope.TypeScope scope,
int run) |
public boolean forcesDefaultConstructorFor(Type type)
de.grogra.xl.compiler.Extensiontype?
Returns true iff the class declaration for
type has to
provide a default constructor with no arguments. If no such
constructor is declared explicitly, an implicit declaration has
to be added by the compiler.forcesDefaultConstructorFor in interface de.grogra.xl.compiler.Extensiontype - the current state of the class declarationtrue iff a constructor with no arguments is requiredpublic void postprocess(de.grogra.xl.compiler.scope.TypeScope scope,
int run)
postprocess in interface de.grogra.xl.compiler.Extensionpublic void preprocess(de.grogra.xl.compiler.scope.TypeScope scope,
int run)
preprocess in interface de.grogra.xl.compiler.Extension