Module xl.compiler

Interface Extension

All Known Implementing Classes:
CompilerExtension

public interface Extension
  • Method Details

    • preprocess

      void preprocess(TypeScope scope, int run)
    • postprocess

      void postprocess(TypeScope scope, int run)
    • forcesDefaultConstructorFor

      boolean forcesDefaultConstructorFor(Type<?> type)
      Should a default constructor with no arguments be declared in the given type? 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.
      Parameters:
      type - the current state of the class declaration
      Returns:
      true iff a constructor with no arguments is required