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 void
protected abstract org.antlr.runtime.Lexer
createLexer
(org.antlr.runtime.ANTLRInputStream inputStream) protected abstract EpsilonParser
createParser
(org.antlr.runtime.TokenStream stream) void
dispose()
Dispose of this delegate context releasing any resources cached to support delegated behaviour for the associated package.protected abstract void
preParse()
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:DelegateContext
Dispose of this delegate context releasing any resources cached to support delegated behaviour for the associated package.- Specified by:
dispose
in 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
-