org.eclipse.xtend.shared.ui.expression
Class XpandPluginExecutionContext
java.lang.Object
org.eclipse.xtend.expression.ExecutionContextImpl
org.eclipse.xpand2.XpandExecutionContextImpl
org.eclipse.xtend.shared.ui.expression.XpandPluginExecutionContext
- All Implemented Interfaces:
- XpandExecutionContext, ExecutionContext, TypeSystem
public class XpandPluginExecutionContext
- extends XpandExecutionContextImpl
Constructor Summary |
|
XpandPluginExecutionContext(IXtendXpandProject xp)
|
protected |
XpandPluginExecutionContext(ResourceManager resourceManager,
Resource currentResource,
TypeSystemImpl typeSystem,
java.util.Map<java.lang.String,Variable> vars,
java.util.Map<java.lang.String,Variable> globalVars,
Output output,
ProtectedRegionResolver prs,
org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor,
IXtendXpandProject xp,
java.util.Map<Pair<java.lang.String,java.util.List<Type>>,Type> extensionsReturnTypeCache)
|
protected |
XpandPluginExecutionContext(ResourceManager resourceManager,
Resource currentResource,
TypeSystemImpl typeSystem,
java.util.Map<java.lang.String,Variable> vars,
java.util.Map<java.lang.String,Variable> globalVars,
Output output,
ProtectedRegionResolver prs,
org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor,
IXtendXpandProject xp,
java.util.Map<Pair<java.lang.String,java.util.List<Type>>,Type> extensionsReturnTypeCache,
java.util.Map<Resource,java.util.Set<Extension>> allExtensionsPerResource,
VetoableCallback vetoableCallback,
Cache<Triplet<Resource,java.lang.String,java.util.List<Type>>,Extension> extensionsForNameAndTypesCache)
|
Methods inherited from class org.eclipse.xpand2.XpandExecutionContextImpl |
cloneWithStatement, findDefinition, findDefinition, findTemplate, findTemplate, getAllDefinitions, getDeferredStatements, getOutput, getProtectedRegionResolver, registerAdvices, setResourceManager |
Methods inherited from class org.eclipse.xtend.expression.ExecutionContextImpl |
cloneWithoutMonitor, cloneWithoutResource, cloneWithoutVariables, cloneWithResource, cloneWithVariable, currentResource, findOperation, findProperty, findTypesForPrefix, getAllTypes, getBooleanType, getCallback, getCollectionType, getExtension, getExtensionAdvices, getFeatureType, getGlobalVariables, getImportedNamespaces, getIntegerType, getListType, getMetaModels, getMonitor, getNamespaces, getObjectType, getOperationType, getPropertyType, getRealType, getResourceManager, getReturnType, getSetType, getStaticPropertyType, getStringType, getType, getTypeForName, getTypeType, getVariable, getVisibleVariables, getVoidType, handleNullEvaluation, handleRuntimeException, postTask, preTask, registerExtensionAdvices, registerMetaModel, release, setCallBack, setFileEncoding, setMonitor, setVetoableCallBack |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.xtend.expression.ExecutionContext |
cloneWithoutMonitor, cloneWithoutResource, cloneWithoutVariables, cloneWithResource, cloneWithVariable, currentResource, getCallback, getExtension, getExtensionAdvices, getGlobalVariables, getMonitor, getResourceManager, getReturnType, getVariable, getVisibleVariables, handleNullEvaluation, handleRuntimeException, postTask, preTask |
Methods inherited from interface org.eclipse.xtend.expression.TypeSystem |
findOperation, findProperty, findTypesForPrefix, getAllTypes, getBooleanType, getCollectionType, getFeatureType, getIntegerType, getListType, getNamespaces, getObjectType, getOperationType, getPropertyType, getRealType, getSetType, getStaticPropertyType, getStringType, getType, getTypeForName, getTypeType, getVoidType, release |
XpandPluginExecutionContext
public XpandPluginExecutionContext(IXtendXpandProject xp)
XpandPluginExecutionContext
protected XpandPluginExecutionContext(ResourceManager resourceManager,
Resource currentResource,
TypeSystemImpl typeSystem,
java.util.Map<java.lang.String,Variable> vars,
java.util.Map<java.lang.String,Variable> globalVars,
Output output,
ProtectedRegionResolver prs,
org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor,
IXtendXpandProject xp,
java.util.Map<Pair<java.lang.String,java.util.List<Type>>,Type> extensionsReturnTypeCache)
XpandPluginExecutionContext
protected XpandPluginExecutionContext(ResourceManager resourceManager,
Resource currentResource,
TypeSystemImpl typeSystem,
java.util.Map<java.lang.String,Variable> vars,
java.util.Map<java.lang.String,Variable> globalVars,
Output output,
ProtectedRegionResolver prs,
org.eclipse.emf.mwe.core.monitor.ProgressMonitor monitor,
IXtendXpandProject xp,
java.util.Map<Pair<java.lang.String,java.util.List<Type>>,Type> extensionsReturnTypeCache,
java.util.Map<Resource,java.util.Set<Extension>> allExtensionsPerResource,
VetoableCallback vetoableCallback,
Cache<Triplet<Resource,java.lang.String,java.util.List<Type>>,Extension> extensionsForNameAndTypesCache)
- Since:
- 2.0
cloneContext
public XpandPluginExecutionContext cloneContext()
- Overrides:
cloneContext
in class XpandExecutionContextImpl
getAllExtensions
public java.util.Set<? extends Extension> getAllExtensions()
- Specified by:
getAllExtensions
in interface ExecutionContext
- Overrides:
getAllExtensions
in class ExecutionContextImpl
getExtensionForTypes
public Extension getExtensionForTypes(java.lang.String functionName,
Type[] parameterTypes)
- Specified by:
getExtensionForTypes
in interface ExecutionContext
- Overrides:
getExtensionForTypes
in class ExecutionContextImpl