Package org.eclipse.epsilon.etl
Class EtlModule
- All Implemented Interfaces:
IModule,ModuleElement,IEolModule,IErlModule,IEtlModule
- Direct Known Subclasses:
EmlModule,EtlModuleParallel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected NamedRuleList<TransformationRule>protected NamedRuleList<TransformationRule>Fields inherited from class org.eclipse.epsilon.erl.ErlModule
declaredPost, declaredPre, post, preFields inherited from class org.eclipse.epsilon.eol.EolModule
context, declaredModelDeclarations, declaredOperations, imports, main, modelDeclarations, operations, postOperationStatementsFields inherited from class org.eclipse.epsilon.eol.AbstractModule
parseProblems, parser, sourceFile, sourceUri -
Constructor Summary
ConstructorsConstructorDescriptionEtlModule(IEtlContext context) Instantiates the module with the specified execution context. -
Method Summary
Modifier and TypeMethodDescriptionadapt(AST cst, ModuleElement parentAst) voidCreates an object that implements debugging (i.e.protected org.antlr.runtime.LexercreateLexer(org.antlr.runtime.ANTLRInputStream inputStream) createParser(org.antlr.runtime.TokenStream tokenStream) protected booleanprotected voidprotected ObjectMain execution logic.Methods inherited from class org.eclipse.epsilon.erl.ErlModule
calculateSuperRules, execute, execute, executeImpl, getDeclaredPost, getDeclaredPre, getPost, getPre, postExecution, prepareExecutionMethods inherited from class org.eclipse.epsilon.eol.EolModule
clearCache, execute, getDeclaredModelDeclarations, getDeclaredOperations, getImportManager, getImports, getMain, getModelDeclarations, getOperations, getParentModule, getPostOperationStatements, loadImports, setContext, setImportManager, setMain, setParentModule, toStringMethods inherited from class org.eclipse.epsilon.eol.AbstractModule
assignAnnotations, assignComment, assignComments, createAst, extractComments, getParseProblems, getSourceFile, getSourceUri, invokeMainRule, parse, parseMethods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUriMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.epsilon.eol.IEolModule
configure, execute, getConfigurationProperties, getDeclaredModelDeclarations, getDeclaredOperations, getImportManager, getImports, getMain, getModelDeclarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setImportManager, setParentModuleMethods inherited from interface org.eclipse.epsilon.erl.IErlModule
getDeclaredPost, getDeclaredPre, getPost, getPreMethods inherited from interface org.eclipse.epsilon.common.module.IModule
createAst, getSourceUri, parse, parse, parse, parse, parseMethods 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:
createLexerin classErlModule
-
createParser
- Overrides:
createParserin classErlModule
-
getMainRule
- Overrides:
getMainRulein classErlModule
-
adapt
-
build
- Specified by:
buildin interfaceModuleElement- Overrides:
buildin classErlModule
-
prepareContext
- Overrides:
prepareContextin classEolModule- Throws:
EolRuntimeException
-
processRules
Main execution logic.- Overrides:
processRulesin classErlModule- Returns:
- The result of executing this module.
- Throws:
EolRuntimeException- Since:
- 1.6
-
getImportConfiguration
- Overrides:
getImportConfigurationin classErlModule
-
getContext
- Specified by:
getContextin interfaceIEolModule- Specified by:
getContextin interfaceIErlModule- Specified by:
getContextin interfaceIEtlModule- Overrides:
getContextin classErlModule
-
getDeclaredTransformationRules
- Specified by:
getDeclaredTransformationRulesin interfaceIEtlModule
-
hasLazyRules
- Throws:
EolRuntimeException
-
getTransformationRules
- Specified by:
getTransformationRulesin interfaceIEtlModule
-
createDebugger
Description copied from interface:IEolModuleCreates an object that implements debugging (i.e. breakpoints and stepping) for this module.- Specified by:
createDebuggerin interfaceIEolModule- Overrides:
createDebuggerin classEolModule
-