org.eclipse.xtend.expression
Interface ExecutionContext
- All Superinterfaces:
- TypeSystem
- All Known Subinterfaces:
- PluginExecutionContext, XpandExecutionContext
- All Known Implementing Classes:
- ExecutionContextImpl, XpandExecutionContextImpl, XpandPluginExecutionContext
public interface ExecutionContext
- extends TypeSystem
- Author:
- Sven Efftinge (http://www.efftinge.de), Arno Haase
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 |
IMPLICIT_VARIABLE
static final java.lang.String IMPLICIT_VARIABLE
- See Also:
- Constant Field Values
cloneWithVariable
ExecutionContext cloneWithVariable(Variable v)
cloneWithoutVariables
ExecutionContext cloneWithoutVariables()
getVariable
Variable getVariable(java.lang.String name)
getVisibleVariables
java.util.Map<java.lang.String,Variable> getVisibleVariables()
getGlobalVariables
java.util.Map<java.lang.String,Variable> getGlobalVariables()
- accessible only through special extension methods
cloneWithResource
ExecutionContext cloneWithResource(Resource ns)
cloneWithoutResource
ExecutionContext cloneWithoutResource()
cloneWithoutMonitor
ExecutionContext cloneWithoutMonitor()
currentResource
Resource currentResource()
getExtensionForTypes
Extension getExtensionForTypes(java.lang.String functionName,
Type[] parameterTypes)
getExtension
Extension getExtension(java.lang.String functionName,
java.lang.Object[] actualParameters)
getAllExtensions
java.util.Set<? extends Extension> getAllExtensions()
getExtensionAdvices
java.util.List<Around> getExtensionAdvices()
preTask
void preTask(java.lang.Object element)
postTask
void postTask(java.lang.Object element)
getResourceManager
ResourceManager getResourceManager()
- Retrieves the associated ResourceManager
- Since:
- 4.1.2
getMonitor
org.eclipse.emf.mwe.core.monitor.ProgressMonitor getMonitor()
- Retrieves the associated ProgressMonitor
- Since:
- 4.1.2
handleRuntimeException
void handleRuntimeException(java.lang.RuntimeException ex,
SyntaxElement element,
java.util.Map<java.lang.String,java.lang.Object> additionalContextInfo)
handleNullEvaluation
java.lang.Object handleNullEvaluation(SyntaxElement element)
getCallback
VetoableCallback getCallback()
getReturnType
Type getReturnType(Extension extension,
Type[] paramTypes,
java.util.Set<AnalysationIssue> issues)