Package org.eclipse.epsilon.eml
Class EmlModule
- All Implemented Interfaces:
IModule,ModuleElement,IEmlModule,IEolModule,IErlModule,IEtlModule
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected NamedRuleList<MergeRule>protected NamedRuleList<MergeRule>Fields inherited from class org.eclipse.epsilon.etl.EtlModule
declaredTransformationRules, transformationRulesFields 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
ConstructorsConstructorDescriptionEmlModule(IEmlContext 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 voidprotected ObjectMain execution logic.Methods inherited from class org.eclipse.epsilon.etl.EtlModule
getDeclaredTransformationRules, getTransformationRules, hasLazyRulesMethods 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.etl.IEtlModule
getDeclaredTransformationRules, getTransformationRulesMethods 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
-
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:
createLexerin classEtlModule
-
createParser
- Overrides:
createParserin classEtlModule
-
getMainRule
- Overrides:
getMainRulein classEtlModule
-
getImportConfiguration
- Overrides:
getImportConfigurationin classEtlModule
-
build
- Specified by:
buildin interfaceModuleElement- Overrides:
buildin classEtlModule
-
prepareContext
- Overrides:
prepareContextin classEtlModule- Throws:
EolRuntimeException
-
processRules
Main execution logic.- Overrides:
processRulesin classEtlModule- Returns:
- The result of executing this module.
- Throws:
EolRuntimeException- Since:
- 1.6
-
getContext
- Specified by:
getContextin interfaceIEmlModule- Specified by:
getContextin interfaceIEolModule- Specified by:
getContextin interfaceIErlModule- Specified by:
getContextin interfaceIEtlModule- Overrides:
getContextin classEtlModule
-
adapt
-
getDeclaredMergeRules
- Specified by:
getDeclaredMergeRulesin interfaceIEmlModule
-
getMergeRules
- Specified by:
getMergeRulesin interfaceIEmlModule
-
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 classEtlModule
-