org.eclipse.xpand2
Class XpandExecutionContextImpl
java.lang.Object
ExecutionContextImpl
org.eclipse.xpand2.XpandExecutionContextImpl
- All Implemented Interfaces:
- XpandExecutionContext
- Direct Known Subclasses:
- XpandPluginExecutionContext
public class XpandExecutionContextImpl
- extends ExecutionContextImpl
- implements XpandExecutionContext
*
Constructor Summary |
|
XpandExecutionContextImpl(Output output,
org.eclipse.internal.xpand2.pr.ProtectedRegionResolver prs)
|
|
XpandExecutionContextImpl(Output output,
org.eclipse.internal.xpand2.pr.ProtectedRegionResolver prs,
java.util.Map<java.lang.String,Variable> globalVars,
ExceptionHandler exceptionHandler,
NullEvaluationHandler nullEvaluationHandler)
|
protected |
XpandExecutionContextImpl(ResourceManager resourceManager,
Resource currentResource,
TypeSystemImpl typeSystem,
java.util.Map<java.lang.String,Variable> vars,
java.util.Map<java.lang.String,Variable> globalVars,
Output output,
org.eclipse.internal.xpand2.pr.ProtectedRegionResolver protectedRegionResolver,
org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor,
ExceptionHandler exceptionHandler,
java.util.List<Around> advices,
NullEvaluationHandler nullEvaluationHandler,
java.util.Map<Resource,java.util.Set<Extension>> allExtensionsPerResource,
Callback callback,
extensionsForNameAndTypesCache,
java.util.Map<,Type> extensionsReturnTypeCache)
|
protected |
XpandExecutionContextImpl(TypeSystemImpl ts,
Output output,
org.eclipse.internal.xpand2.pr.ProtectedRegionResolver prs,
java.util.Map<java.lang.String,Variable> globalVars,
ExceptionHandler exceptionHandler,
NullEvaluationHandler nullEvaluationHandler)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
output
protected final Output output
protectedRegionResolver
protected final org.eclipse.internal.xpand2.pr.ProtectedRegionResolver protectedRegionResolver
XpandExecutionContextImpl
public XpandExecutionContextImpl(Output output,
org.eclipse.internal.xpand2.pr.ProtectedRegionResolver prs)
XpandExecutionContextImpl
public XpandExecutionContextImpl(Output output,
org.eclipse.internal.xpand2.pr.ProtectedRegionResolver prs,
java.util.Map<java.lang.String,Variable> globalVars,
ExceptionHandler exceptionHandler,
NullEvaluationHandler nullEvaluationHandler)
XpandExecutionContextImpl
protected XpandExecutionContextImpl(TypeSystemImpl ts,
Output output,
org.eclipse.internal.xpand2.pr.ProtectedRegionResolver prs,
java.util.Map<java.lang.String,Variable> globalVars,
ExceptionHandler exceptionHandler,
NullEvaluationHandler nullEvaluationHandler)
XpandExecutionContextImpl
protected XpandExecutionContextImpl(ResourceManager resourceManager,
Resource currentResource,
TypeSystemImpl typeSystem,
java.util.Map<java.lang.String,Variable> vars,
java.util.Map<java.lang.String,Variable> globalVars,
Output output,
org.eclipse.internal.xpand2.pr.ProtectedRegionResolver protectedRegionResolver,
org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor,
ExceptionHandler exceptionHandler,
java.util.List<Around> advices,
NullEvaluationHandler nullEvaluationHandler,
java.util.Map<Resource,java.util.Set<Extension>> allExtensionsPerResource,
Callback callback,
extensionsForNameAndTypesCache,
java.util.Map<,Type> extensionsReturnTypeCache)
cloneContext
public ExecutionContextImpl cloneContext()
getAllDefinitions
public java.util.List<org.eclipse.internal.xpand2.model.XpandDefinition> getAllDefinitions()
- Specified by:
getAllDefinitions
in interface XpandExecutionContext
findDefinition
public org.eclipse.internal.xpand2.model.XpandDefinition findDefinition(java.lang.String name,
Type target,
Type[] paramTypes)
- Specified by:
findDefinition
in interface XpandExecutionContext
registerAdvices
public void registerAdvices(java.lang.String fullyQualifiedName)
getProtectedRegionResolver
public org.eclipse.internal.xpand2.pr.ProtectedRegionResolver getProtectedRegionResolver()
- Specified by:
getProtectedRegionResolver
in interface XpandExecutionContext
getOutput
public Output getOutput()
- Specified by:
getOutput
in interface XpandExecutionContext
findTemplate
public org.eclipse.internal.xpand2.model.XpandResource findTemplate(java.lang.String templateName)
- Specified by:
findTemplate
in interface XpandExecutionContext
findTemplate
public org.eclipse.internal.xpand2.model.XpandResource findTemplate(java.lang.String templateName,
java.lang.String[] importedNs)
setFileEncoding
public void setFileEncoding(java.lang.String fileEncoding)
setResourceManager
public void setResourceManager(ResourceManager resourceManager)