Class EpsilonDelegateContext<M extends IEolModule,R>
java.lang.Object
org.eclipse.epsilon.ecore.delegates.EpsilonDelegateContext<M,R>
- All Implemented Interfaces:
DelegateContext
- Direct Known Subclasses:
EolOperationDelegateContext,EvlDelegateContext
public abstract class EpsilonDelegateContext<M extends IEolModule,R>
extends Object
implements DelegateContext
A delegate context for Epsilon Delegates
- Since:
- 2.5
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.epsilon.ecore.delegates.DelegateContext
DelegateContext.ContextFactory -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEpsilonDelegateContext(DelegateUri delegateURI, org.eclipse.emf.ecore.EPackage ePackage, DelegateResourceAdapter delegateRA, M module, String mainParserRule) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidprotected abstract org.antlr.runtime.LexercreateLexer(org.antlr.runtime.ANTLRInputStream inputStream) protected abstract EpsilonParsercreateParser(org.antlr.runtime.TokenStream stream) voiddispose()Dispose of this delegate context releasing any resources cached to support delegated behaviour for the associated package.protected abstract voidpreParse()program()program(List<ParseProblem> parseProblems) toString()
-
Field Details
-
module
-
uri
-
-
Constructor Details
-
EpsilonDelegateContext
public EpsilonDelegateContext(DelegateUri delegateURI, org.eclipse.emf.ecore.EPackage ePackage, DelegateResourceAdapter delegateRA, M module, String mainParserRule)
-
-
Method Details
-
dispose
public void dispose()Description copied from interface:DelegateContextDispose of this delegate context releasing any resources cached to support delegated behaviour for the associated package.- Specified by:
disposein interfaceDelegateContext
-
toString
-
parse
-
program
-
createParser
-
createLexer
protected abstract org.antlr.runtime.Lexer createLexer(org.antlr.runtime.ANTLRInputStream inputStream) throws IOException - Throws:
IOException
-
preParse
protected abstract void preParse() -
createAst
-
program
-