| Modifier and Type | Class and Description |
|---|---|
class |
ImportedNamesAdapter.WrappingScope |
| Modifier and Type | Method and Description |
|---|---|
protected IScope |
DefaultLinkingService.getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
IScope |
ImportedNamesAdapter.wrap(IScope scope) |
| Modifier and Type | Method and Description |
|---|---|
IScope |
ImportedNamesAdapter.wrap(IScope scope) |
| Constructor and Description |
|---|
ImportedNamesAdapter.WrappingScope(IScope scope) |
| Modifier and Type | Field and Description |
|---|---|
static IScope |
IScope.NULLSCOPE
a NO-OP implementation.
|
| Modifier and Type | Method and Description |
|---|---|
IScope |
IScopeProvider.getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference)
Returns a scope for the given context.
|
IScope |
IGlobalScopeProvider.getScope(org.eclipse.emf.ecore.resource.Resource context,
org.eclipse.emf.ecore.EReference reference,
com.google.common.base.Predicate<IEObjectDescription> filter)
Returns a global scope for the given context.
|
static IScope |
Scopes.scopeFor(Iterable<? extends org.eclipse.emf.ecore.EObject> elements)
creates a scope using
SimpleAttributeResolver.NAME_RESOLVER to compute the names and sets
NULLSCOPE as parent scope |
static IScope |
Scopes.scopeFor(Iterable<? extends org.eclipse.emf.ecore.EObject> elements,
IScope outer)
creates a scope using
SimpleAttributeResolver.NAME_RESOLVER to compute the names |
static <T extends org.eclipse.emf.ecore.EObject> |
Scopes.scopeFor(Iterable<? extends T> elements,
com.google.common.base.Function<T,QualifiedName> nameComputation,
IScope outer)
creates a scope using the passed function to compute the names and sets the passed scope as the parent scope
|
| Modifier and Type | Method and Description |
|---|---|
static IScope |
Scopes.scopeFor(Iterable<? extends org.eclipse.emf.ecore.EObject> elements,
IScope outer)
creates a scope using
SimpleAttributeResolver.NAME_RESOLVER to compute the names |
static <T extends org.eclipse.emf.ecore.EObject> |
Scopes.scopeFor(Iterable<? extends T> elements,
com.google.common.base.Function<T,QualifiedName> nameComputation,
IScope outer)
creates a scope using the passed function to compute the names and sets the passed scope as the parent scope
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractScope
Base class for custom scope implementations.
|
class |
FilteringScope
A FilteringScope filters out all
IEObjectDescription for which
the given predicate returns false. |
class |
ImportScope |
class |
MapBasedScope
A scope implemented using a
Map used for efficient lookup of ordinary named
EObjectDescriptions. |
class |
MultimapBasedScope
A scope implemented using a
Multimap. |
class |
SelectableBasedScope |
class |
SimpleScope |
class |
SingletonScope |
| Modifier and Type | Method and Description |
|---|---|
protected IScope |
DefaultGlobalScopeProvider.createContainerScope(IScope parent,
IContainer container,
com.google.common.base.Predicate<IEObjectDescription> filter,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
protected IScope |
DefaultGlobalScopeProvider.createContainerScopeWithContext(org.eclipse.emf.ecore.resource.Resource eResource,
IScope parent,
IContainer container,
com.google.common.base.Predicate<IEObjectDescription> filter,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
protected IScope |
ImportUriGlobalScopeProvider.createLazyResourceScope(IScope parent,
org.eclipse.emf.common.util.URI uri,
IResourceDescriptions descriptions,
org.eclipse.emf.ecore.EClass type,
com.google.common.base.Predicate<IEObjectDescription> filter,
boolean ignoreCase) |
static IScope |
MapBasedScope.createScope(IScope parent,
Collection<IEObjectDescription> descriptions) |
protected IScope |
SimpleLocalScopeProvider.createScope(IScope parent,
ISelectable resourceContent,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
static IScope |
SelectableBasedScope.createScope(IScope outer,
ISelectable selectable,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
static IScope |
SelectableBasedScope.createScope(IScope outer,
ISelectable selectable,
com.google.common.base.Predicate<IEObjectDescription> filter,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
static IScope |
MapBasedScope.createScope(IScope parent,
Iterable<IEObjectDescription> descriptions) |
static IScope |
MultimapBasedScope.createScope(IScope parent,
Iterable<IEObjectDescription> descriptions,
boolean ignoreCase) |
static IScope |
MapBasedScope.createScope(IScope parent,
Iterable<IEObjectDescription> descriptions,
boolean ignoreCase) |
protected IScope |
ResourceSetGlobalScopeProvider.createScopeWithQualifiedNames(IScope parent,
org.eclipse.emf.ecore.resource.Resource resource,
com.google.common.base.Predicate<IEObjectDescription> filter,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
protected IScope |
DelegatingScopeProvider.delegateGetScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
protected IScope |
AbstractDeclarativeScopeProvider.delegateGetScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
protected IScope |
AbstractGlobalScopeDelegatingScopeProvider.getGlobalScope(org.eclipse.emf.ecore.resource.Resource context,
org.eclipse.emf.ecore.EReference reference) |
protected IScope |
AbstractGlobalScopeDelegatingScopeProvider.getGlobalScope(org.eclipse.emf.ecore.resource.Resource context,
org.eclipse.emf.ecore.EReference reference,
com.google.common.base.Predicate<IEObjectDescription> filter) |
protected IScope |
ImportedNamespaceAwareLocalScopeProvider.getLocalElementsScope(IScope parent,
org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
IScope |
AbstractScope.getParent() |
protected IScope |
ImportedNamespaceAwareLocalScopeProvider.getResourceScope(IScope parent,
org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
protected IScope |
ImportedNamespaceAwareLocalScopeProvider.getResourceScope(org.eclipse.emf.ecore.resource.Resource res,
org.eclipse.emf.ecore.EReference reference) |
IScope |
SimpleLocalScopeProvider.getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
IScope |
ImportedNamespaceAwareLocalScopeProvider.getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
IScope |
DelegatingScopeProvider.getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
IScope |
AbstractDeclarativeScopeProvider.getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
protected IScope |
DefaultGlobalScopeProvider.getScope(IScope parent,
org.eclipse.emf.ecore.resource.Resource context,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass type,
com.google.common.base.Predicate<IEObjectDescription> filter) |
protected IScope |
ResourceSetGlobalScopeProvider.getScope(org.eclipse.emf.ecore.resource.Resource resource,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass type,
com.google.common.base.Predicate<IEObjectDescription> filter) |
protected IScope |
ImportUriGlobalScopeProvider.getScope(org.eclipse.emf.ecore.resource.Resource resource,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass type,
com.google.common.base.Predicate<IEObjectDescription> filter) |
protected IScope |
DefaultGlobalScopeProvider.getScope(org.eclipse.emf.ecore.resource.Resource context,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass type,
com.google.common.base.Predicate<IEObjectDescription> filter) |
protected IScope |
AbstractGlobalScopeProvider.getScope(org.eclipse.emf.ecore.resource.Resource resource,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass type,
com.google.common.base.Predicate<IEObjectDescription> predicate) |
IScope |
AbstractGlobalScopeProvider.getScope(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EReference reference) |
IScope |
AbstractGlobalScopeProvider.getScope(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EReference reference,
com.google.common.base.Predicate<IEObjectDescription> filter) |
protected IScope |
AbstractDeclarativeScopeProvider.polymorphicFindScopeForClassName(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
protected IScope |
AbstractDeclarativeScopeProvider.polymorphicFindScopeForReferenceName(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
IScope |
IScopeWrapper.wrap(IScope scope) |
protected IScope |
AbstractGlobalScopeDelegatingScopeProvider.wrap(IScope scope) |
| Modifier and Type | Method and Description |
|---|---|
PolymorphicDispatcher.ErrorHandler<IScope> |
AbstractDeclarativeScopeProvider.getErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected IScope |
DefaultGlobalScopeProvider.createContainerScope(IScope parent,
IContainer container,
com.google.common.base.Predicate<IEObjectDescription> filter,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
protected IScope |
DefaultGlobalScopeProvider.createContainerScopeWithContext(org.eclipse.emf.ecore.resource.Resource eResource,
IScope parent,
IContainer container,
com.google.common.base.Predicate<IEObjectDescription> filter,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
protected ImportScope |
ImportedNamespaceAwareLocalScopeProvider.createImportScope(IScope parent,
List<ImportNormalizer> namespaceResolvers,
ISelectable importFrom,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
protected IScope |
ImportUriGlobalScopeProvider.createLazyResourceScope(IScope parent,
org.eclipse.emf.common.util.URI uri,
IResourceDescriptions descriptions,
org.eclipse.emf.ecore.EClass type,
com.google.common.base.Predicate<IEObjectDescription> filter,
boolean ignoreCase) |
static IScope |
MapBasedScope.createScope(IScope parent,
Collection<IEObjectDescription> descriptions) |
protected IScope |
SimpleLocalScopeProvider.createScope(IScope parent,
ISelectable resourceContent,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
static IScope |
SelectableBasedScope.createScope(IScope outer,
ISelectable selectable,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
static IScope |
SelectableBasedScope.createScope(IScope outer,
ISelectable selectable,
com.google.common.base.Predicate<IEObjectDescription> filter,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
static IScope |
MapBasedScope.createScope(IScope parent,
Iterable<IEObjectDescription> descriptions) |
static IScope |
MultimapBasedScope.createScope(IScope parent,
Iterable<IEObjectDescription> descriptions,
boolean ignoreCase) |
static IScope |
MapBasedScope.createScope(IScope parent,
Iterable<IEObjectDescription> descriptions,
boolean ignoreCase) |
protected IScope |
ResourceSetGlobalScopeProvider.createScopeWithQualifiedNames(IScope parent,
org.eclipse.emf.ecore.resource.Resource resource,
com.google.common.base.Predicate<IEObjectDescription> filter,
org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
protected IScope |
ImportedNamespaceAwareLocalScopeProvider.getLocalElementsScope(IScope parent,
org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
protected IScope |
ImportedNamespaceAwareLocalScopeProvider.getResourceScope(IScope parent,
org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
protected IScope |
DefaultGlobalScopeProvider.getScope(IScope parent,
org.eclipse.emf.ecore.resource.Resource context,
boolean ignoreCase,
org.eclipse.emf.ecore.EClass type,
com.google.common.base.Predicate<IEObjectDescription> filter) |
IScope |
IScopeWrapper.wrap(IScope scope) |
protected IScope |
AbstractGlobalScopeDelegatingScopeProvider.wrap(IScope scope) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractDeclarativeScopeProvider.setErrorHandler(PolymorphicDispatcher.ErrorHandler<IScope> errorHandler) |
| Constructor and Description |
|---|
AbstractScope(IScope parent,
boolean ignoreCase)
Creates a new scope with a given parent.
|
FilteringScope(IScope delegate,
com.google.common.base.Predicate<IEObjectDescription> filter) |
ImportScope(List<ImportNormalizer> namespaceResolvers,
IScope parent,
ISelectable importFrom,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
MapBasedScope(IScope parent,
Map<QualifiedName,IEObjectDescription> elements,
boolean ignoreCase) |
MultimapBasedScope(IScope parent,
com.google.common.collect.Multimap<QualifiedName,IEObjectDescription> elements,
boolean ignoreCase) |
ScopeBasedSelectable(IScope scope) |
SelectableBasedScope(IScope outer,
ISelectable selectable,
com.google.common.base.Predicate<IEObjectDescription> filter,
org.eclipse.emf.ecore.EClass type,
boolean ignoreCase) |
SimpleScope(IScope parent,
Iterable<IEObjectDescription> descriptions) |
SimpleScope(IScope parent,
Iterable<IEObjectDescription> descriptions,
boolean ignoreCase) |
SingletonScope(IEObjectDescription description,
IScope outer) |
| Modifier and Type | Method and Description |
|---|---|
ISerializationDiagnostic |
TokenDiagnosticProvider.getNoEObjectDescriptionFoundDiagnostic(org.eclipse.emf.ecore.EObject semanticObject,
CrossReference element,
org.eclipse.emf.ecore.EObject target,
IScope scope) |
ISerializationDiagnostic |
ITokenDiagnosticProvider.getNoEObjectDescriptionFoundDiagnostic(org.eclipse.emf.ecore.EObject semanticObject,
CrossReference element,
org.eclipse.emf.ecore.EObject target,
IScope scope) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
CrossReferenceSerializer.getCrossReferenceNameFromScope(org.eclipse.emf.ecore.EObject semanticObject,
CrossReference crossref,
org.eclipse.emf.ecore.EObject target,
IScope scope,
ISerializationDiagnostic.Acceptor errors) |
| Modifier and Type | Class and Description |
|---|---|
class |
SuperCallScope |
| Modifier and Type | Method and Description |
|---|---|
protected IScope |
XtextScopeProvider.createClassifierScope(Iterable<org.eclipse.emf.ecore.EClassifier> classifiers) |
protected IScope |
XtextScopeProvider.createEnumLiteralsScope(org.eclipse.emf.ecore.EEnum eEnum) |
protected IScope |
XtextScopeProvider.createEPackageScope(Grammar grammar) |
protected IScope |
XtextScopeProvider.createEPackageScope(Grammar grammar,
IScope parent) |
protected IScope |
XtextScopeProvider.createReferencedPackagesScope(Grammar g) |
protected IScope |
XtextScopeProvider.createScope(Grammar grammar,
org.eclipse.emf.ecore.EClass type,
IScope current) |
protected IScope |
XtextScopeProvider.createScope(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass type,
IScope parent) |
protected IScope |
XtextScopeProvider.doCreateScope(Grammar grammar,
org.eclipse.emf.ecore.EClass type,
IScope parent) |
IScope |
XtextScopeProvider.getScope(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference) |
| Modifier and Type | Method and Description |
|---|---|
protected IScope |
XtextScopeProvider.createEPackageScope(Grammar grammar,
IScope parent) |
protected IScope |
XtextScopeProvider.createScope(Grammar grammar,
org.eclipse.emf.ecore.EClass type,
IScope current) |
protected IScope |
XtextScopeProvider.createScope(org.eclipse.emf.ecore.resource.Resource resource,
org.eclipse.emf.ecore.EClass type,
IScope parent) |
protected IScope |
XtextScopeProvider.doCreateScope(Grammar grammar,
org.eclipse.emf.ecore.EClass type,
IScope parent) |
Copyright © 2015. All Rights Reserved.