public class EglPreprocessorModule extends EolModule
| Modifier and Type | Field and Description |
|---|---|
protected AST |
ast |
main, postOperationStatementscompilationContext, declaredModelDeclarations, declaredOperations, imports, modelDeclarations, operationsparseProblems, parser, sourceFile, sourceUri| Constructor and Description |
|---|
EglPreprocessorModule() |
| Modifier and Type | Method and Description |
|---|---|
ModuleElement |
adapt(AST cst,
ModuleElement parentAst) |
void |
build(AST cst,
IModule module) |
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) |
clearCache, compile, createContext, getMain, getPostOperationStatements, main, setContext, setMaincheckImports, createLexer, createParser, getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getImportsByExtension, getMainRule, getModelDelcarations, getOperations, getParentModule, prepareContext, setParentModule, toStringassignAnnotations, assignComment, assignComments, createAst, extractComments, getSourceFile, getSourceUri, invokeMainRule, parse, parse, parse, parsegetChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, setModule, setParent, setRegion, setUriclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitparsegetCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getModelDelcarations, getOperations, getParentModule, setParentModuleprotected AST ast
public EglPreprocessorContext getContext()
getContext in interface IEolLibraryModulegetContext in class EolModulepublic void reset()
public void build(AST cst, IModule module)
build in interface ModuleElementbuild in class EolModuleprotected void updateASTLocations(AST ast)
public ModuleElement adapt(AST cst, ModuleElement parentAst)
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.