public class EglPreprocessorModule extends EolModule
compilationContext, declaredModelDeclarations, declaredOperations, imports, modelDeclarations, operationsast, parseProblems, parser, sourceFile, sourceUricommentsannotations, 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, setMainbuild, checkImports, createLexer, createParser, getAst, getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getImportsByExtension, getMainRule, getModelDelcarations, getOperations, getParentModule, getSourceFile, prepareContext, setParentModule, toStringassignAnnotations, assignComment, assignComments, createAst, extractComments, 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, waitparsegetCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getModelDelcarations, getOperations, getParentModule, setParentModulepublic EglPreprocessorContext getContext()
getContext in interface IEolLibraryModulegetContext in class EolModulepublic void reset()
protected void updateASTLocations(AST ast)
public Object execute() throws EglRuntimeException
execute in interface IEolExecutableModuleexecute in class EolModuleEglRuntimeExceptionpublic List<ParseProblem> getParseProblems()
getParseProblems in interface IModulegetParseProblems in interface IEolLibraryModulegetParseProblems in class AbstractModulepublic final HashMap<String,Class<?>> getImportConfiguration()
getImportConfiguration in class EolLibraryModuleCopyright © 2016. All rights reserved.