Package org.eclipse.epsilon.etl
Class EtlModule
- All Implemented Interfaces:
IModule
,ModuleElement
,IEolModule
,IErlModule
,IEtlModule
- Direct Known Subclasses:
EmlModule
,EtlModuleParallel
-
Field Summary
Modifier and TypeFieldDescriptionprotected NamedRuleList<TransformationRule>
protected NamedRuleList<TransformationRule>
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
ConstructorDescriptionEtlModule
(IEtlContext 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 boolean
protected void
protected Object
Main execution logic.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.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
-
declaredTransformationRules
-
transformationRules
-
-
Constructor Details
-
EtlModule
public EtlModule() -
EtlModule
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 classErlModule
-
createParser
- Overrides:
createParser
in classErlModule
-
getMainRule
- Overrides:
getMainRule
in classErlModule
-
adapt
-
build
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classErlModule
-
prepareContext
- Overrides:
prepareContext
in classEolModule
- Throws:
EolRuntimeException
-
processRules
Main execution logic.- Overrides:
processRules
in classErlModule
- Returns:
- The result of executing this module.
- Throws:
EolRuntimeException
- Since:
- 1.6
-
getImportConfiguration
- Overrides:
getImportConfiguration
in classErlModule
-
getContext
- Specified by:
getContext
in interfaceIEolModule
- Specified by:
getContext
in interfaceIErlModule
- Specified by:
getContext
in interfaceIEtlModule
- Overrides:
getContext
in classErlModule
-
getDeclaredTransformationRules
- Specified by:
getDeclaredTransformationRules
in interfaceIEtlModule
-
hasLazyRules
- Throws:
EolRuntimeException
-
getTransformationRules
- Specified by:
getTransformationRules
in interfaceIEtlModule
-
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 classEolModule
-