org.eclipse.epsilon.eol
Class EolModule
java.lang.Object
org.eclipse.epsilon.common.module.AbstractModuleElement
org.eclipse.epsilon.eol.AbstractModule
org.eclipse.epsilon.eol.EolLibraryModule
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
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.epsilon.eol.IEolLibraryModule |
getDeclaredModelDefinitions, getDeclaredModelGroupDefinitions, getDeclaredOperations, getImports, getModelDefinitions, getModelGroupDefinitions, getOperationFactory, getOperations, getParentModule, getParseProblems, setOperationFactory, setParentModule |
EolModule
public EolModule()
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.