org.eclipse.epsilon.eol
Class EolModule

java.lang.Object
  extended by org.eclipse.epsilon.common.module.AbstractModuleElement
      extended by org.eclipse.epsilon.eol.AbstractModule
          extended by org.eclipse.epsilon.eol.EolLibraryModule
              extended by org.eclipse.epsilon.eol.EolModule
All Implemented Interfaces:
IModule, ModuleElement, IEolExecutableModule, IEolLibraryModule, IEolModule
Direct Known Subclasses:
EglPreprocessorModule, EUnitModule

public class EolModule
extends EolLibraryModule
implements IEolModule


Constructor Summary
EolModule()
           
 
Method Summary
 void buildModel()
           
 void clearCache()
          Clear all cached results and type information, and all extended properties.
 IEolContext createContext()
           
 java.lang.Object execute()
           
 java.util.List<ModuleElement> getChildren()
           
 IEolContext getContext()
           
 EolMain getMain()
           
 void reset()
           
 void setContext(IEolContext context)
           
 
Methods inherited from class org.eclipse.epsilon.eol.EolLibraryModule
createLexer, createParser, getAst, getDeclaredModelDefinitions, getDeclaredModelGroupDefinitions, getDeclaredOperations, getImportConfiguration, getImports, getMainRule, getModelDefinitions, getModelGroupDefinitions, getOperationFactory, getOperations, getParentModule, getSourceFile, main, setOperationFactory, setParentModule, toString
 
Methods inherited from class org.eclipse.epsilon.eol.AbstractModule
adapt, getParseProblems, parse, parse, parse, parse
 
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
getSourceUri, setAst
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.epsilon.eol.IEolModule
parse
 
Methods inherited from interface org.eclipse.epsilon.eol.IEolLibraryModule
getDeclaredModelDefinitions, getDeclaredModelGroupDefinitions, getDeclaredOperations, getImports, getModelDefinitions, getModelGroupDefinitions, getOperationFactory, getOperations, getParentModule, getParseProblems, setOperationFactory, setParentModule
 
Methods inherited from interface org.eclipse.epsilon.common.module.IModule
getSourceUri, parse, parse, parse
 
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getAst
 

Constructor Detail

EolModule

public EolModule()
Method Detail

buildModel

public void buildModel()
                throws java.lang.Exception
Specified by:
buildModel in interface IModule
Overrides:
buildModel in class EolLibraryModule
Throws:
java.lang.Exception

execute

public java.lang.Object execute()
                         throws EolRuntimeException
Specified by:
execute in interface IEolExecutableModule
Throws:
EolRuntimeException

getMain

public EolMain getMain()
Specified by:
getMain in interface IEolModule

getContext

public IEolContext getContext()
Specified by:
getContext in interface IEolLibraryModule

setContext

public void setContext(IEolContext context)
Specified by:
setContext in interface IEolLibraryModule

getChildren

public java.util.List<ModuleElement> getChildren()
Specified by:
getChildren in interface ModuleElement
Overrides:
getChildren in class EolLibraryModule

createContext

public IEolContext createContext()

reset

public void reset()
Specified by:
reset in interface IModule
Overrides:
reset in class EolLibraryModule

clearCache

public void clearCache()
Clear all cached results and type information, and all extended properties. Useful for rerunning the same EolModule with different sets of models, without having to parse it again.