public class FlockModule extends ErlModule implements IFlockModule
declaredPost, declaredPre, post, pre
compilationContext, context, declaredModelDeclarations, declaredOperations, imports, main, modelDeclarations, operations, postOperationStatements
parseProblems, 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, prepareExecution
checkImports, clearCache, compile, getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getImportsByExtension, getMain, getModelDelcarations, getOperations, getParentModule, getPostOperationStatements, prepareContext, setContext, setMain, setParentModule, toString
assignAnnotations, assignComment, assignComments, createAst, extractComments, getParseProblems, getSourceFile, getSourceUri, invokeMainRule, parse, parse
equals, getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getDeclaredPost, getDeclaredPre, getPost, getPre
configure, getCompilationContext, getConfigurationProperties, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getMain, getModelDelcarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setParentModule
public FlockModule()
public FlockModule(IFlockContext context)
protected org.antlr.runtime.Lexer createLexer(org.antlr.runtime.ANTLRInputStream inputStream)
createLexer
in class ErlModule
public EpsilonParser createParser(org.antlr.runtime.TokenStream tokenStream)
createParser
in class ErlModule
public String getMainRule()
getMainRule
in class ErlModule
public ModuleElement adapt(AST cst, ModuleElement parentAst)
public void build(AST cst, IModule module)
build
in interface ModuleElement
build
in class ErlModule
public FlockResult execute() throws EolRuntimeException
execute
in interface IEolModule
execute
in class EolModule
EolRuntimeException
public FlockResult execute(IModel original, IModel migrated) throws EolRuntimeException
execute
in interface IFlockModule
EolRuntimeException
protected FlockResult processRules() throws EolRuntimeException
ErlModule
processRules
in class ErlModule
EolRuntimeException
public MigrationStrategy getStrategy()
public IFlockContext getContext()
getContext
in interface IEolModule
getContext
in interface IErlModule
getContext
in interface IFlockModule
getContext
in class ErlModule
Copyright © 2020. All rights reserved.