Class AbstractSessionBasedExecutableScope
- java.lang.Object
-
- org.eclipse.xtext.scoping.impl.AbstractScope
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
-
- org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedExecutableScope
-
- All Implemented Interfaces:
org.eclipse.xtext.scoping.IScope
- Direct Known Subclasses:
AbstractStaticImportsScope,AbstractStaticOrInstanceFeatureScope,DynamicExtensionsScope
public abstract class AbstractSessionBasedExecutableScope extends AbstractSessionBasedScope
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
AbstractSessionBasedScope.NameAcceptor
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSessionBasedExecutableScope(org.eclipse.xtext.scoping.IScope parent, IFeatureScopeSession session, XAbstractFeatureCall featureCall, OperatorMapping operatorMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OperatorMappinggetOperatorMapping()protected voidprocessFeatureNames(org.eclipse.xtext.naming.QualifiedName name, AbstractSessionBasedScope.NameAcceptor acceptor)From a given name, other variants are computed, e.g.-
Methods inherited from class org.eclipse.xtext.xbase.scoping.batch.AbstractSessionBasedScope
addToList, addToList, findAllFeaturesByName, getAllLocalElements, getElements, getFeatureCall, getLocalElementsByEObject, getLocalElementsByName, getSession, getShadowingKey, isShadowed, processAsPropertyNames, toProperty, toProperty, tryGetAsPropertyName
-
-
-
-
Constructor Detail
-
AbstractSessionBasedExecutableScope
protected AbstractSessionBasedExecutableScope(org.eclipse.xtext.scoping.IScope parent, IFeatureScopeSession session, XAbstractFeatureCall featureCall, OperatorMapping operatorMapping)
-
-
Method Detail
-
getOperatorMapping
protected OperatorMapping getOperatorMapping()
-
processFeatureNames
protected void processFeatureNames(org.eclipse.xtext.naming.QualifiedName name, AbstractSessionBasedScope.NameAcceptor acceptor)From a given name, other variants are computed, e.g. the name may be a property name such as a prefix may be added to the name. Or it may be an operator such as the original method name should be used, too, to find a declaration.- Overrides:
processFeatureNamesin classAbstractSessionBasedScope
-
-