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, postOperationStatementsparseProblems, parser, sourceFile, sourceUri| 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 EolRuntimeException
prepareContext in class EolModuleEolRuntimeExceptionpublic MatchTrace execute() throws EolRuntimeException
execute in interface IEclModuleexecute in interface IEolModuleexecute in class EolModuleEolRuntimeExceptionprotected MatchTrace processRules() throws EolRuntimeException
processRules in class ErlModuleEolRuntimeExceptionpublic void matchModels()
throws EolRuntimeException
matchModels in interface IEclModuleEolRuntimeExceptionprotected void matchAllRules(boolean greedy)
throws EolRuntimeException
EolRuntimeExceptionpublic IEclContext getContext()
getContext in interface IEclModulegetContext in interface IEolModulegetContext in interface IErlModulegetContext in class ErlModulepublic List<MatchRule> getDeclaredMatchRules()
getDeclaredMatchRules in interface IEclModuleCopyright © 2020. All rights reserved.