Package org.eclipse.epsilon.eol
Interface IEolModule
-
- All Superinterfaces:
IModule,ModuleElement
- All Known Subinterfaces:
IEclModule,IEglModule,IEglModule,IEgxModule,IEmgModule,IEmlModule,IEplModule,IErlModule,IErlModuleAtomBatches<D>,IErlModuleParallelAnnotation,IEtlModule,IEUnitModule,IEvlModule,IEwlModule,IFlockModule,ProfilableIEolModule
- All Known Implementing Classes:
AbstractEplModule,EclModule,EclModuleParallel,EclModuleParallelAnnotation,EglModule,EglTemplateFactoryModuleAdapter,EgxModule,EgxModuleParallel,EgxModuleParallelAnnotation,EgxModuleParallelGenerationRuleAtoms,EmgModule,EmlModule,EolModule,EolModuleParallel,EplModule,EplModuleParallel,EplModuleParallelPatterns,ErlModule,ErlModuleParallel,EtlModule,EtlModuleParallel,EUnitModule,EvlModule,EvlModuleParallel,EvlModuleParallelAnnotation,EvlModuleParallelAtoms,EvlModuleParallelConstraintAtoms,EvlModuleParallelContextAtoms,EvlModuleParallelElements,EwlModule,FlockModule,HutnModule,LazyEgxModule,PinsetModule
public interface IEolModule extends IModule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidconfigure(java.util.Map<java.lang.String,?> properties)Configure the IEolModule with the given propertiesjava.lang.Objectexecute()IEolCompilationContextgetCompilationContext()default java.util.Set<java.lang.String>getConfigurationProperties()Get the set of property names that should be retrieved from the ILaunchConfiguration in order to configure this module.IEolContextgetContext()java.util.List<ModelDeclaration>getDeclaredModelDeclarations()OperationListgetDeclaredOperations()java.util.List<Import>getImports()StatementBlockgetMain()java.util.Set<ModelDeclaration>getModelDelcarations()OperationListgetOperations()IEolModulegetParentModule()java.util.List<ParseProblem>getParseProblems()java.util.List<Statement>getPostOperationStatements()booleanparse(java.lang.String code, java.io.File file)voidsetContext(IEolContext context)voidsetParentModule(IEolModule parent)-
Methods inherited from interface org.eclipse.epsilon.common.module.IModule
compile, createAst, getSourceUri, parse, parse, parse, parse, parse
-
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
build, getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
-
-
-
Method Detail
-
execute
java.lang.Object execute() throws EolRuntimeException- Throws:
EolRuntimeException
-
getMain
StatementBlock getMain()
-
getPostOperationStatements
java.util.List<Statement> getPostOperationStatements()
-
parse
boolean parse(java.lang.String code, java.io.File file) throws java.lang.Exception
-
getDeclaredOperations
OperationList getDeclaredOperations()
-
getOperations
OperationList getOperations()
-
getDeclaredModelDeclarations
java.util.List<ModelDeclaration> getDeclaredModelDeclarations()
-
getModelDelcarations
java.util.Set<ModelDeclaration> getModelDelcarations()
-
getParentModule
IEolModule getParentModule()
-
setParentModule
void setParentModule(IEolModule parent)
-
getImports
java.util.List<Import> getImports()
-
getContext
IEolContext getContext()
-
setContext
void setContext(IEolContext context)
-
getCompilationContext
IEolCompilationContext getCompilationContext()
-
getParseProblems
java.util.List<ParseProblem> getParseProblems()
- Specified by:
getParseProblemsin interfaceIModule
-
configure
default void configure(java.util.Map<java.lang.String,?> properties)
Configure the IEolModule with the given properties- Parameters:
properties- a map of property:value- Since:
- 1.6
-
getConfigurationProperties
default java.util.Set<java.lang.String> getConfigurationProperties()
Get the set of property names that should be retrieved from the ILaunchConfiguration in order to configure this module.- Returns:
- Since:
- 1.6
-
-