public class EclModule extends ErlModule implements IEclModule
| Modifier and Type | Field and Description |
|---|---|
protected NamedRuleList<MatchRule> |
declaredMatchRules |
protected NamedRuleList<MatchRule> |
matchRules |
declaredPost, declaredPre, post, precompilationContext, context, declaredModelDeclarations, declaredOperations, imports, main, modelDeclarations, operations, postOperationStatements| Constructor and Description |
|---|
EclModule() |
EclModule(IEclContext context)
Instantiates the module with the specified execution context.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.epsilon.common.module.ModuleElement |
adapt(org.eclipse.epsilon.common.parse.AST cst,
org.eclipse.epsilon.common.module.ModuleElement parentAst) |
void |
build(org.eclipse.epsilon.common.parse.AST cst,
org.eclipse.epsilon.common.module.IModule module) |
protected org.antlr.runtime.Lexer |
createLexer(org.antlr.runtime.ANTLRInputStream inputStream) |
org.eclipse.epsilon.common.parse.EpsilonParser |
createParser(org.antlr.runtime.TokenStream tokenStream) |
MatchTrace |
execute() |
IEclContext |
getContext() |
List<MatchRule> |
getDeclaredMatchRules() |
HashMap<String,Class<?>> |
getImportConfiguration() |
String |
getMainRule() |
List<MatchRule> |
getMatchRules() |
protected void |
matchAllRules(boolean greedy) |
void |
matchModels() |
protected void |
prepareContext() |
protected MatchTrace |
processRules() |
calculateSuperRules, execute, execute, executeImpl, getDeclaredPost, getDeclaredPre, getPost, getPre, postExecution, prepareExecutioncheckImports, clearCache, compile, getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getImportsByExtension, getMain, getModelDelcarations, getOperations, getParentModule, getPostOperationStatements, 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, waitgetRulesFor, matchgetDeclaredPost, getDeclaredPre, getPost, getPreconfigure, getCompilationContext, getConfigurationProperties, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getMain, getModelDelcarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setParentModuleprotected NamedRuleList<MatchRule> matchRules
protected final NamedRuleList<MatchRule> declaredMatchRules
public EclModule()
public EclModule(IEclContext context)
context - The execution contextprotected org.antlr.runtime.Lexer createLexer(org.antlr.runtime.ANTLRInputStream inputStream)
createLexer in class ErlModulepublic org.eclipse.epsilon.common.parse.EpsilonParser createParser(org.antlr.runtime.TokenStream tokenStream)
createParser in class ErlModulepublic String getMainRule()
getMainRule in class ErlModulepublic void build(org.eclipse.epsilon.common.parse.AST cst,
org.eclipse.epsilon.common.module.IModule module)
public org.eclipse.epsilon.common.module.ModuleElement adapt(org.eclipse.epsilon.common.parse.AST cst,
org.eclipse.epsilon.common.module.ModuleElement parentAst)
public HashMap<String,Class<?>> getImportConfiguration()
getImportConfiguration in class ErlModulepublic List<MatchRule> getMatchRules()
getMatchRules in interface IEclModuleprotected void prepareContext()
throws org.eclipse.epsilon.eol.exceptions.EolRuntimeException
prepareContext in class org.eclipse.epsilon.eol.EolModuleorg.eclipse.epsilon.eol.exceptions.EolRuntimeExceptionpublic MatchTrace execute() throws org.eclipse.epsilon.eol.exceptions.EolRuntimeException
execute in interface IEclModuleexecute in interface org.eclipse.epsilon.eol.IEolModuleexecute in class org.eclipse.epsilon.eol.EolModuleorg.eclipse.epsilon.eol.exceptions.EolRuntimeExceptionprotected MatchTrace processRules() throws org.eclipse.epsilon.eol.exceptions.EolRuntimeException
processRules in class ErlModuleorg.eclipse.epsilon.eol.exceptions.EolRuntimeExceptionpublic void matchModels()
throws org.eclipse.epsilon.eol.exceptions.EolRuntimeException
matchModels in interface IEclModuleorg.eclipse.epsilon.eol.exceptions.EolRuntimeExceptionprotected void matchAllRules(boolean greedy)
throws org.eclipse.epsilon.eol.exceptions.EolRuntimeException
org.eclipse.epsilon.eol.exceptions.EolRuntimeExceptionpublic IEclContext getContext()
getContext in interface IEclModulegetContext in interface org.eclipse.epsilon.eol.IEolModulegetContext in interface IErlModulegetContext in class ErlModulepublic List<MatchRule> getDeclaredMatchRules()
getDeclaredMatchRules in interface IEclModuleCopyright © 2020. All rights reserved.