public class FlockModule extends ErlModule implements IFlockModule
declaredPost, declaredPre, post, precompilationContext, context, declaredModelDeclarations, declaredOperations, imports, main, modelDeclarations, operations, postOperationStatementsparseProblems, parser, sourceFile, sourceUri| Constructor and Description |
|---|
FlockModule() |
FlockModule(IFlockContext context) |
| Modifier and Type | Method and Description |
|---|---|
ModuleElement |
adapt(AST cst,
ModuleElement parentAst) |
void |
build(AST cst,
IModule module) |
protected org.antlr.runtime.Lexer |
createLexer(org.antlr.runtime.ANTLRInputStream inputStream) |
EpsilonParser |
createParser(org.antlr.runtime.TokenStream tokenStream) |
FlockResult |
execute() |
FlockResult |
execute(IModel original,
IModel migrated) |
IFlockContext |
getContext() |
String |
getMainRule() |
MigrationStrategy |
getStrategy() |
protected FlockResult |
processRules()
Main rule processing logic.
|
calculateSuperRules, execute, execute, executeImpl, getDeclaredPost, getDeclaredPre, getImportConfiguration, getPost, getPre, postExecution, prepareExecutioncheckImports, clearCache, compile, getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getImportsByExtension, getMain, getModelDelcarations, getOperations, getParentModule, getPostOperationStatements, prepareContext, setContext, setMain, setParentModule, toStringassignAnnotations, assignComment, assignComments, createAst, extractComments, getParseProblems, getSourceFile, getSourceUri, invokeMainRule, parse, parseequals, getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUriclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetDeclaredPost, getDeclaredPre, getPost, getPreconfigure, getCompilationContext, getConfigurationProperties, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getMain, getModelDelcarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setParentModulepublic FlockModule()
public FlockModule(IFlockContext context)
protected org.antlr.runtime.Lexer createLexer(org.antlr.runtime.ANTLRInputStream inputStream)
createLexer in class ErlModulepublic EpsilonParser createParser(org.antlr.runtime.TokenStream tokenStream)
createParser in class ErlModulepublic String getMainRule()
getMainRule in class ErlModulepublic ModuleElement adapt(AST cst, ModuleElement parentAst)
public void build(AST cst, IModule module)
build in interface ModuleElementbuild in class ErlModulepublic FlockResult execute() throws EolRuntimeException
execute in interface IEolModuleexecute in class EolModuleEolRuntimeExceptionpublic FlockResult execute(IModel original, IModel migrated) throws EolRuntimeException
execute in interface IFlockModuleEolRuntimeExceptionprotected FlockResult processRules() throws EolRuntimeException
ErlModuleprocessRules in class ErlModuleEolRuntimeExceptionpublic MigrationStrategy getStrategy()
public IFlockContext getContext()
getContext in interface IEolModulegetContext in interface IErlModulegetContext in interface IFlockModulegetContext in class ErlModuleCopyright © 2020. All rights reserved.