Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

mlsub.compilation
Interface Module  view Module download Module.java


public interface Module

The smallest unit that can be compiled independantly.


Method Summary
 void compile()
          Compile the module.
 void freezeGlobalContext()
           
 java.lang.String getName()
          Returns the name of this module.
 java.util.List getRequirements()
          Returns the list of Modules this modules depends on.
 long lastModification()
          The date of the last modification of this module.
 void link()
           
 void load()
          Resolve scoping and load the constants in the context.
 void localResolve()
          Resolve local entities, that might increase the global context.
 void scope()
          Creates the scope.
 void typecheck()
          Check types.
 void typedResolve()
          Resolve scoping for entities that need the global context.
 void unfreezeGlobalContext()
           
 

Method Detail

getRequirements

public java.util.List getRequirements()
Returns the list of Modules this modules depends on.


scope

public void scope()
Creates the scope.


load

public void load()
Resolve scoping and load the constants in the context.


typedResolve

public void typedResolve()
Resolve scoping for entities that need the global context.


localResolve

public void localResolve()
Resolve local entities, that might increase the global context.


typecheck

public void typecheck()
Check types.


compile

public void compile()
Compile the module. This may involve: - code generation - saving the interface of the module


link

public void link()

getName

public java.lang.String getName()
Returns the name of this module.


lastModification

public long lastModification()
The date of the last modification of this module.


freezeGlobalContext

public void freezeGlobalContext()

unfreezeGlobalContext

public void unfreezeGlobalContext()