public class ExpressionScope extends java.lang.Object implements IExpressionScope
| Modifier and Type | Class and Description |
|---|---|
static class |
ExpressionScope.DelegateScope |
static class |
ExpressionScope.Scope |
IExpressionScope.Anchor, IExpressionScope.NullExpressionScopeNULL| Constructor and Description |
|---|
ExpressionScope(FeatureScopes featureScopes,
org.eclipse.emf.ecore.EObject context,
IExpressionScope.Anchor anchor,
ITypeReferenceOwner owner) |
| Modifier and Type | Method and Description |
|---|---|
void |
addData(IFeatureScopeSession session,
IResolvedTypes types) |
protected org.eclipse.xtext.scoping.IScope |
createFeatureCallScopeForReceiver(XAbstractFeatureCall receiver) |
protected org.eclipse.xtext.scoping.IScope |
createSimpleFeatureCallScope() |
org.eclipse.xtext.scoping.IScope |
getFeatureScope() |
protected org.eclipse.xtext.scoping.IScope |
getFeatureScope(IExpressionScope.Anchor anchor) |
org.eclipse.xtext.scoping.IScope |
getFeatureScope(XAbstractFeatureCall currentFeatureCall) |
org.eclipse.xtext.scoping.IScope |
getFeatureScope(XAbstractFeatureCall currentFeatureCall,
IExpressionScope.Anchor anchor) |
java.util.List<java.lang.String> |
getTypeNamePrefix()
Returns the prefix that was used to resolve the feature as
a type literal if any.
|
boolean |
isPotentialTypeLiteral()
If the current feature is worth to be
tested as a type literal.
|
void |
replacePreviousData(IFeatureScopeSession session) |
IExpressionScope |
withAnchor(IExpressionScope.Anchor anchor) |
public ExpressionScope(FeatureScopes featureScopes, org.eclipse.emf.ecore.EObject context, IExpressionScope.Anchor anchor, ITypeReferenceOwner owner)
public IExpressionScope withAnchor(IExpressionScope.Anchor anchor)
protected org.eclipse.xtext.scoping.IScope getFeatureScope(IExpressionScope.Anchor anchor)
protected org.eclipse.xtext.scoping.IScope createFeatureCallScopeForReceiver(XAbstractFeatureCall receiver)
protected org.eclipse.xtext.scoping.IScope createSimpleFeatureCallScope()
public org.eclipse.xtext.scoping.IScope getFeatureScope(XAbstractFeatureCall currentFeatureCall, IExpressionScope.Anchor anchor)
public org.eclipse.xtext.scoping.IScope getFeatureScope()
getFeatureScope in interface IExpressionScopepublic org.eclipse.xtext.scoping.IScope getFeatureScope(XAbstractFeatureCall currentFeatureCall)
getFeatureScope in interface IExpressionScopepublic void addData(IFeatureScopeSession session, IResolvedTypes types)
public void replacePreviousData(IFeatureScopeSession session)
public java.util.List<java.lang.String> getTypeNamePrefix()
IExpressionScopegetTypeNamePrefix in interface IExpressionScopepublic boolean isPotentialTypeLiteral()
IExpressionScopeisPotentialTypeLiteral in interface IExpressionScope