Package org.eclipse.epsilon.eml
Class EmlModule
- All Implemented Interfaces:
IModule
,ModuleElement
,IEmlModule
,IEolModule
,IErlModule
,IEtlModule
-
Field Summary
Modifier and TypeFieldDescriptionprotected NamedRuleList<MergeRule>
protected NamedRuleList<MergeRule>
Fields inherited from class org.eclipse.epsilon.etl.EtlModule
declaredTransformationRules, transformationRules
Fields inherited from class org.eclipse.epsilon.erl.ErlModule
declaredPost, declaredPre, post, pre
Fields inherited from class org.eclipse.epsilon.eol.EolModule
context, declaredModelDeclarations, declaredOperations, imports, main, modelDeclarations, operations, postOperationStatements
Fields inherited from class org.eclipse.epsilon.eol.AbstractModule
parseProblems, parser, sourceFile, sourceUri
-
Constructor Summary
ConstructorDescriptionEmlModule
(IEmlContext context) Instantiates the module with the specified execution context. -
Method Summary
Modifier and TypeMethodDescriptionadapt
(AST cst, ModuleElement parentAst) void
Creates an object that implements debugging (i.e.protected org.antlr.runtime.Lexer
createLexer
(org.antlr.runtime.ANTLRInputStream inputStream) createParser
(org.antlr.runtime.TokenStream tokenStream) protected void
protected Object
Main execution logic.Methods inherited from class org.eclipse.epsilon.etl.EtlModule
getDeclaredTransformationRules, getTransformationRules, hasLazyRules
Methods inherited from class org.eclipse.epsilon.erl.ErlModule
calculateSuperRules, execute, execute, executeImpl, getDeclaredPost, getDeclaredPre, getPost, getPre, postExecution, prepareExecution
Methods inherited from class org.eclipse.epsilon.eol.EolModule
checkImports, clearCache, execute, getDeclaredModelDeclarations, getDeclaredOperations, getImportManager, getImports, getImportsByExtension, getMain, getModelDeclarations, getOperations, getParentModule, getPostOperationStatements, setContext, setImportManager, setMain, setParentModule, toString
Methods inherited from class org.eclipse.epsilon.eol.AbstractModule
assignAnnotations, assignComment, assignComments, createAst, extractComments, getParseProblems, getSourceFile, getSourceUri, invokeMainRule, parse, parse
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.eclipse.epsilon.eol.IEolModule
configure, execute, getConfigurationProperties, getDeclaredModelDeclarations, getDeclaredOperations, getImportManager, getImports, getMain, getModelDeclarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setImportManager, setParentModule
Methods inherited from interface org.eclipse.epsilon.erl.IErlModule
getDeclaredPost, getDeclaredPre, getPost, getPre
Methods inherited from interface org.eclipse.epsilon.etl.IEtlModule
getDeclaredTransformationRules, getTransformationRules
Methods inherited from interface org.eclipse.epsilon.common.module.IModule
createAst, getSourceUri, parse, parse, parse, parse, parse
Methods inherited from interface org.eclipse.epsilon.common.module.ModuleElement
getChildren, getComments, getData, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
-
Field Details
-
declaredMergeRules
-
mergeRules
-
-
Constructor Details
-
EmlModule
public EmlModule() -
EmlModule
Instantiates the module with the specified execution context.- Parameters:
context
- The execution context- Since:
- 1.6
-
-
Method Details
-
createLexer
protected org.antlr.runtime.Lexer createLexer(org.antlr.runtime.ANTLRInputStream inputStream) - Overrides:
createLexer
in classEtlModule
-
createParser
- Overrides:
createParser
in classEtlModule
-
getMainRule
- Overrides:
getMainRule
in classEtlModule
-
getImportConfiguration
- Overrides:
getImportConfiguration
in classEtlModule
-
build
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classEtlModule
-
prepareContext
- Overrides:
prepareContext
in classEtlModule
- Throws:
EolRuntimeException
-
processRules
Main execution logic.- Overrides:
processRules
in classEtlModule
- Returns:
- The result of executing this module.
- Throws:
EolRuntimeException
- Since:
- 1.6
-
getContext
- Specified by:
getContext
in interfaceIEmlModule
- Specified by:
getContext
in interfaceIEolModule
- Specified by:
getContext
in interfaceIErlModule
- Specified by:
getContext
in interfaceIEtlModule
- Overrides:
getContext
in classEtlModule
-
adapt
-
getDeclaredMergeRules
- Specified by:
getDeclaredMergeRules
in interfaceIEmlModule
-
getMergeRules
- Specified by:
getMergeRules
in interfaceIEmlModule
-
createDebugger
Description copied from interface:IEolModule
Creates an object that implements debugging (i.e. breakpoints and stepping) for this module.- Specified by:
createDebugger
in interfaceIEolModule
- Overrides:
createDebugger
in classEtlModule
-