public class EplModule extends ErlModule implements IEolExecutableModule
| Modifier and Type | Field and Description |
|---|---|
protected IEolContext |
context |
protected List<Pattern> |
declaredPatterns |
static int |
INFINITE |
protected int |
maxLoops |
protected String |
patternMatchModelName |
protected ArrayList<Pattern> |
patterns |
protected boolean |
repeatWhileMatchesFound |
declaredPost, declaredPre, post, precompilationContext, declaredModelDeclarations, declaredOperations, imports, modelDeclarations, operationsast, parseProblems, parser, sourceFile, sourceUricommentsannotations, column, commentTokens, descendants, extraTokens, imaginary, line, module, properties, region, uri| Constructor and Description |
|---|
EplModule() |
| Modifier and Type | Method and Description |
|---|---|
AST |
adapt(AST cst,
AST parentAst) |
void |
buildModel() |
protected org.antlr.runtime.Lexer |
createLexer(org.antlr.runtime.ANTLRInputStream inputStream) |
EpsilonParser |
createParser(org.antlr.runtime.TokenStream tokenStream) |
Object |
execute() |
IEolContext |
getContext() |
List<Pattern> |
getDeclaredPatterns() |
HashMap<String,Class<?>> |
getImportConfiguration() |
String |
getMainRule() |
int |
getMaximumLevel() |
int |
getMaxLoops() |
List<ModuleElement> |
getModuleElements() |
String |
getPatternMatchModelName() |
List<Pattern> |
getPatterns() |
protected int |
getPostBlockTokenType() |
protected int |
getPreBlockTokenType() |
boolean |
isRepeatWhileMatches() |
static void |
main(String[] args) |
void |
reset() |
void |
setContext(EolContext context) |
void |
setContext(IEolContext context) |
void |
setMaxLoops(int maxLoops) |
void |
setPatternMatchModelName(String patternMatchModelName) |
void |
setRepeatWhileMatches(boolean repeatWhileMatches) |
calculateSuperRules, execute, getDeclaredPost, getDeclaredPre, getPost, getPrebuild, checkImports, compile, getAst, getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getImportsByExtension, getModelDelcarations, getOperations, getParentModule, getSourceFile, prepareContext, setParentModule, toStringassignAnnotations, assignComment, assignComments, createAst, extractComments, getParseProblems, getSourceUri, invokeMainRule, parse, parse, parse, parsebuild, getComments, getDebugInfocollectDescendants, getAnnotationsAst, getBasename, getChild, getChildren, getColumn, getCommentTokens, getDescendants, getExtraTokens, getFile, getFirstChild, getFourthChild, getLine, getModule, getNextSibling, getNumberOfChildren, getParent, getProperties, getRegion, getSecondChild, getThirdChild, getUri, hasChildren, isImaginary, setAnnotationsAst, setColumn, setCommentTokens, setExtraTokens, setFirstChild, setImaginary, setLine, setModule, setNextSibling, setRegion, setToken, setUri, toExtendedStringTree, toExtendedStringTree, toExtendedStringTreeItemdupNode, getCharPositionInLine, getChildIndex, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndexaddChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getChildCount, getFirstChildWithType, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getModelDelcarations, getOperations, getParentModule, getParseProblems, setParentModuleprotected IEolContext context
protected boolean repeatWhileMatchesFound
protected int maxLoops
protected String patternMatchModelName
public static final int INFINITE
protected org.antlr.runtime.Lexer createLexer(org.antlr.runtime.ANTLRInputStream inputStream)
createLexer in class EolLibraryModulepublic EpsilonParser createParser(org.antlr.runtime.TokenStream tokenStream)
createParser in class EolLibraryModulepublic String getMainRule()
getMainRule in class EolLibraryModulepublic HashMap<String,Class<?>> getImportConfiguration()
getImportConfiguration in class EolLibraryModulepublic void buildModel()
throws Exception
buildModel in interface IModulebuildModel in class ErlModuleExceptionpublic List<ModuleElement> getModuleElements()
getModuleElements in interface ModuleElementgetModuleElements in class EolLibraryModulepublic IEolContext getContext()
getContext in interface IEolLibraryModulepublic void setContext(EolContext context)
public void reset()
public Object execute() throws EolRuntimeException
execute in interface IEolExecutableModuleEolRuntimeExceptionpublic int getMaxLoops()
public void setMaxLoops(int maxLoops)
public boolean isRepeatWhileMatches()
public void setRepeatWhileMatches(boolean repeatWhileMatches)
protected int getPreBlockTokenType()
getPreBlockTokenType in class ErlModuleprotected int getPostBlockTokenType()
getPostBlockTokenType in class ErlModulepublic int getMaximumLevel()
public String getPatternMatchModelName()
public void setPatternMatchModelName(String patternMatchModelName)
public void setContext(IEolContext context)
setContext in interface IEolLibraryModuleCopyright © 2016. All rights reserved.