public class EglPreprocessorModule extends EolModule
compilationContext, declaredModelDeclarations, declaredOperations, imports, modelDeclarations, operations
ast, parseProblems, parser, sourceFile, sourceUri
comments
annotations, column, commentTokens, descendants, extraTokens, imaginary, line, module, properties, region, uri
Constructor and Description |
---|
EglPreprocessorModule() |
Modifier and Type | Method and Description |
---|---|
AST |
adapt(AST cst,
AST parentAst) |
Object |
execute() |
EglPreprocessorContext |
getContext() |
HashMap<String,Class<?>> |
getImportConfiguration()
Get the import configurations for this translation.
|
List<ParseProblem> |
getParseProblems() |
protected boolean |
hasAnnotation(AST ast,
String name) |
boolean |
preprocess(AST ast,
File sourceFile,
URI sourceUri) |
void |
reset() |
protected void |
updateASTLocations(AST ast) |
buildModel, clearCache, compile, createContext, getMain, getModuleElements, setContext, setMain
build, checkImports, createLexer, createParser, getAst, getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getImportsByExtension, getMainRule, getModelDelcarations, getOperations, getParentModule, getSourceFile, prepareContext, setParentModule, toString
assignAnnotations, assignComment, assignComments, createAst, extractComments, getSourceUri, invokeMainRule, parse, parse, parse, parse
build, getComments, getDebugInfo
collectDescendants, 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, toExtendedStringTreeItem
dupNode, getCharPositionInLine, getChildIndex, getText, getToken, getTokenStartIndex, getTokenStopIndex, getType, isNil, setChildIndex, setParent, setTokenStartIndex, setTokenStopIndex
addChild, addChildren, createChildrenList, deleteChild, freshenParentAndChildIndexes, freshenParentAndChildIndexes, getChildCount, getFirstChildWithType, replaceChildren, sanityCheckParentAndChildIndexes, sanityCheckParentAndChildIndexes, setChild, toStringTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
parse
getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getModelDelcarations, getOperations, getParentModule, setParentModule
public EglPreprocessorContext getContext()
getContext
in interface IEolLibraryModule
getContext
in class EolModule
public void reset()
protected void updateASTLocations(AST ast)
public Object execute() throws EglRuntimeException
execute
in interface IEolExecutableModule
execute
in class EolModule
EglRuntimeException
public List<ParseProblem> getParseProblems()
getParseProblems
in interface IModule
getParseProblems
in interface IEolLibraryModule
getParseProblems
in class AbstractModule
public final HashMap<String,Class<?>> getImportConfiguration()
getImportConfiguration
in class EolLibraryModule
Copyright © 2016. All rights reserved.