public class EwlModule extends EolModule implements IEwlModule
Modifier and Type | Field and Description |
---|---|
protected List<Wizard> |
wizards |
compilationContext, context, declaredModelDeclarations, declaredOperations, imports, main, modelDeclarations, operations, postOperationStatements
parseProblems, parser, sourceFile, sourceUri
Constructor and Description |
---|
EwlModule() |
EwlModule(IEwlContext context)
Instantiates the module with the specified execution context.
|
Modifier and Type | Method and Description |
---|---|
ModuleElement |
adapt(AST cst,
ModuleElement parentAst) |
void |
build(AST cst,
IModule module) |
protected org.antlr.runtime.Lexer |
createLexer(org.antlr.runtime.ANTLRInputStream inputStream) |
EpsilonParser |
createParser(org.antlr.runtime.TokenStream tokenStream) |
IEwlContext |
getContext() |
String |
getMainRule() |
List<Wizard> |
getWizards() |
List<WizardInstance> |
getWizardsFor(Object self) |
checkImports, clearCache, compile, execute, executeImpl, getCompilationContext, getDeclaredModelDeclarations, getDeclaredOperations, getImportConfiguration, getImports, getImportsByExtension, getMain, getModelDelcarations, getOperations, getParentModule, getPostOperationStatements, prepareContext, setContext, setMain, setParentModule, toString
assignAnnotations, assignComment, assignComments, createAst, extractComments, getParseProblems, getSourceFile, getSourceUri, invokeMainRule, parse, parse
equals, getChildren, getComments, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
configure, execute, getCompilationContext, getConfigurationProperties, getDeclaredModelDeclarations, getDeclaredOperations, getImports, getMain, getModelDelcarations, getOperations, getParentModule, getParseProblems, getPostOperationStatements, parse, setContext, setParentModule
public EwlModule()
public EwlModule(IEwlContext context)
context
- The execution contextpublic ModuleElement adapt(AST cst, ModuleElement parentAst)
protected org.antlr.runtime.Lexer createLexer(org.antlr.runtime.ANTLRInputStream inputStream)
createLexer
in class EolModule
public EpsilonParser createParser(org.antlr.runtime.TokenStream tokenStream)
createParser
in class EolModule
public String getMainRule()
getMainRule
in class EolModule
public void build(AST cst, IModule module)
build
in interface ModuleElement
build
in class EolModule
public List<WizardInstance> getWizardsFor(Object self) throws EolRuntimeException
getWizardsFor
in interface IEwlModule
EolRuntimeException
public IEwlContext getContext()
getContext
in interface IEolModule
getContext
in interface IEwlModule
getContext
in class EolModule
Copyright © 2020. All rights reserved.