Class FeatureScopeTracker
- java.lang.Object
-
- org.eclipse.xtext.xbase.typesystem.internal.FeatureScopeTracker
-
- All Implemented Interfaces:
IFeatureScopeTracker
public class FeatureScopeTracker extends java.lang.Object implements IFeatureScopeTracker
An implementation of theIFeatureScopeTrackerthat really does tracking. It's usually only necessary to use this implementation in an interactive editor environment where content assist is used.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.xtext.xbase.typesystem.internal.IFeatureScopeTracker
IFeatureScopeTracker.Provider
-
-
Field Summary
-
Fields inherited from interface org.eclipse.xtext.xbase.typesystem.internal.IFeatureScopeTracker
NULL
-
-
Constructor Summary
Constructors Constructor Description FeatureScopeTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExpressionScope(ResolvedTypes current, org.eclipse.emf.ecore.EObject context, IFeatureScopeSession session, IExpressionScope.Anchor anchor)Stores the given information about the current scope.IExpressionScopegetExpressionScope(org.eclipse.emf.ecore.EObject context, IExpressionScope.Anchor anchor)booleanhasExpressionScope(org.eclipse.emf.ecore.EObject context, IExpressionScope.Anchor anchor)voidreplacePreviousExpressionScope(org.eclipse.emf.ecore.EObject context, IFeatureScopeSession session, IExpressionScope.Anchor anchor)Replace previously recorded information about the current scope.
-
-
-
Method Detail
-
getExpressionScope
public IExpressionScope getExpressionScope(org.eclipse.emf.ecore.EObject context, IExpressionScope.Anchor anchor)
- Specified by:
getExpressionScopein interfaceIFeatureScopeTracker- See Also:
IResolvedTypes.getExpressionScope(EObject, IExpressionScope.Anchor)
-
hasExpressionScope
public boolean hasExpressionScope(org.eclipse.emf.ecore.EObject context, IExpressionScope.Anchor anchor)- Specified by:
hasExpressionScopein interfaceIFeatureScopeTracker- See Also:
IResolvedTypes.hasExpressionScope(EObject, IExpressionScope.Anchor)
-
addExpressionScope
public void addExpressionScope(ResolvedTypes current, org.eclipse.emf.ecore.EObject context, IFeatureScopeSession session, IExpressionScope.Anchor anchor)
Description copied from interface:IFeatureScopeTrackerStores the given information about the current scope.- Specified by:
addExpressionScopein interfaceIFeatureScopeTracker
-
replacePreviousExpressionScope
public void replacePreviousExpressionScope(org.eclipse.emf.ecore.EObject context, IFeatureScopeSession session, IExpressionScope.Anchor anchor)Description copied from interface:IFeatureScopeTrackerReplace previously recorded information about the current scope.- Specified by:
replacePreviousExpressionScopein interfaceIFeatureScopeTracker
-
-