public abstract class EolLibraryModule extends AbstractModule implements IEolLibraryModule
| Modifier and Type | Field and Description |
|---|---|
protected EolCompilationContext |
compilationContext |
protected List<ModelDeclaration> |
declaredModelDeclarations |
protected OperationList |
declaredOperations |
protected List<Import> |
imports |
protected Set<ModelDeclaration> |
modelDeclarations |
protected OperationList |
operations |
ast, parseProblems, parser, sourceFile, sourceUricommentsannotations, column, commentTokens, descendants, extraTokens, imaginary, line, module, properties, region, uri| Constructor and Description |
|---|
EolLibraryModule() |
| Modifier and Type | Method and Description |
|---|---|
AST |
adapt(AST cst,
AST parentAst) |
protected void |
build(AST ast) |
void |
buildModel() |
protected void |
checkImports() |
List<ModuleMarker> |
compile() |
protected org.antlr.runtime.Lexer |
createLexer(org.antlr.runtime.ANTLRInputStream inputStream) |
EpsilonParser |
createParser(org.antlr.runtime.TokenStream tokenStream) |
AST |
getAst() |
EolCompilationContext |
getCompilationContext() |
List<ModelDeclaration> |
getDeclaredModelDeclarations() |
OperationList |
getDeclaredOperations() |
HashMap<String,Class<?>> |
getImportConfiguration() |
List<Import> |
getImports() |
protected Collection<Import> |
getImportsByExtension(String extension,
Class<?> moduleImplClass) |
String |
getMainRule() |
Set<ModelDeclaration> |
getModelDelcarations() |
List<ModuleElement> |
getModuleElements() |
OperationList |
getOperations() |
IEolLibraryModule |
getParentModule() |
File |
getSourceFile() |
protected void |
prepareContext(IEolContext context) |
void |
reset() |
void |
setParentModule(IEolLibraryModule parent) |
String |
toString() |
assignAnnotations, 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, waitgetContext, getParseProblems, setContextprotected OperationList declaredOperations
protected OperationList operations
protected List<ModelDeclaration> declaredModelDeclarations
protected Set<ModelDeclaration> modelDeclarations
protected EolCompilationContext compilationContext
public AST adapt(AST cst, AST parentAst)
adapt in class AbstractModuleprotected org.antlr.runtime.Lexer createLexer(org.antlr.runtime.ANTLRInputStream inputStream)
createLexer in class AbstractModulepublic EpsilonParser createParser(org.antlr.runtime.TokenStream tokenStream)
createParser in class AbstractModulepublic String getMainRule()
getMainRule in class AbstractModulepublic OperationList getDeclaredOperations()
getDeclaredOperations in interface IEolLibraryModulepublic void buildModel()
throws Exception
buildModel in interface IModulebuildModel in class AbstractModuleExceptionprotected void build(AST ast)
public EolCompilationContext getCompilationContext()
getCompilationContext in interface IEolLibraryModuleprotected void prepareContext(IEolContext context)
public List<ModuleMarker> compile()
public void reset()
reset in interface IModulereset in class AbstractModulepublic AST getAst()
getAst in interface IModulegetAst in class AbstractModulepublic List<ModuleElement> getModuleElements()
getModuleElements in interface ModuleElementgetModuleElements in class AbstractModulepublic File getSourceFile()
getSourceFile in class AbstractModulepublic List<Import> getImports()
getImports in interface IEolLibraryModulepublic String toString()
toString in interface org.antlr.runtime.tree.TreetoString in class org.antlr.runtime.tree.CommonTreepublic Set<ModelDeclaration> getModelDelcarations()
getModelDelcarations in interface IEolLibraryModulepublic OperationList getOperations()
getOperations in interface IEolLibraryModuleprotected Collection<Import> getImportsByExtension(String extension, Class<?> moduleImplClass)
protected void checkImports()
public List<ModelDeclaration> getDeclaredModelDeclarations()
getDeclaredModelDeclarations in interface IEolLibraryModulepublic IEolLibraryModule getParentModule()
getParentModule in interface IEolLibraryModulepublic void setParentModule(IEolLibraryModule parent)
setParentModule in interface IEolLibraryModuleCopyright © 2016. All rights reserved.