|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.xtext.scoping.impl.AbstractScopeProvider org.eclipse.xtext.xbase.scoping.XtypeScopeProvider org.eclipse.xtext.xbase.scoping.XbaseScopeProvider org.eclipse.emf.ecore.xcore.scoping.XcoreScopeProvider
public class XcoreScopeProvider
This class contains custom scoping description. see : http://www.eclipse.org/Xtext/documentation/latest/xtext.html#scoping on how and when to use it
Nested Class Summary | |
---|---|
protected class |
XcoreScopeProvider.TypeParameterScope
|
Nested classes/interfaces inherited from class org.eclipse.xtext.xbase.scoping.XbaseScopeProvider |
---|
org.eclipse.xtext.xbase.scoping.XbaseScopeProvider.AbstractJvmFeatureScopeAcceptor, org.eclipse.xtext.xbase.scoping.XbaseScopeProvider.GenericTypeArgumentContextFactory, org.eclipse.xtext.xbase.scoping.XbaseScopeProvider.IJvmFeatureScopeAcceptor, org.eclipse.xtext.xbase.scoping.XbaseScopeProvider.JvmFeatureScopeAcceptor, org.eclipse.xtext.xbase.scoping.XbaseScopeProvider.SimpleAcceptor |
Field Summary |
---|
Fields inherited from class org.eclipse.xtext.xbase.scoping.XbaseScopeProvider |
---|
DEFAULT_IMPLICIT_STATIC_FEATURE_PRIORITY, DEFAULT_IT_PRIORITY, DEFAULT_MEMBER_CALL_PRIORITY, DEFAULT_STATIC_EXTENSION_PRIORITY_OFFSET, DEFAULT_SUGAR_PRIORITY_OFFSET, DEFAULT_THIS_PRIORITY, IT, jvmFeatureScopeProvider, SUPER, THIS |
Constructor Summary | |
---|---|
XcoreScopeProvider()
|
Method Summary | |
---|---|
protected org.eclipse.xtext.scoping.IScope |
createLocalVarScope(org.eclipse.xtext.scoping.IScope parent,
org.eclipse.xtext.xbase.scoping.LocalVariableScopeContext scopeContext)
|
protected org.eclipse.xtext.common.types.JvmDeclaredType |
getContextType(EObject call)
|
org.eclipse.xtext.scoping.IScope |
getScope(EObject context,
EReference reference)
|
Methods inherited from class org.eclipse.xtext.xbase.scoping.XbaseScopeProvider |
---|
adaptsToJvmElement, addFeatureCallScopes, addFeatureCallScopes, addFeatureDescriptionProviders, addFeatureDescriptionProviders, addFeatureDescriptionProvidersForAssignment, addFeatureDescriptionProvidersForAssignment, addFeatureScopes, addStaticFeatureDescriptionProviders, createConstructorCallScope, createFeatureCallScope, createFeatureCallScopeForReceiver, createFeatureScopeForTypeRef, createImplicitFeatureCallScope, createLocalScopeForParameter, createLocalVarDescription, createLocalVarDescription, createLocalVariableScopeContext, createLocalVarScopeForBlock, createLocalVarScopeForCatchClause, createLocalVarScopeForClosure, createLocalVarScopeForJvmConstructor, createLocalVarScopeForJvmDeclaredType, createLocalVarScopeForJvmOperation, createLocalVarScopeForSwitchExpression, createLocalVarScopeForTypeGuardedCase, createSimpleFeatureCallScope, createTypeScope, createTypeScope, getDefaultPriority, getFeatureCallToJavaMapping, getImplicitStaticExtensionPriorityOffset, getImplicitStaticFeaturePriority, getItPriority, getSugarPriorityOffset, getSyntacticalReceiver, getThisPriority, getTypeProvider, isConstructorCallScope, isFeatureCallScope, isTypeScope, isVisible, newConstructorProvider, newDefaultConstructorDescriptionProvider, newDefaultFeatureDescriptionProvider, newImplicitStaticFeaturesProvider, newSugarDescriptionProvider, setDefaultFeatureDescProvider, setSugarFeatureDescProvider, setTypeProvider, sortDescriptionsFromLowestToHighest, unkownToObject |
Methods inherited from class org.eclipse.xtext.xbase.scoping.XtypeScopeProvider |
---|
delegateGetScope, getDelegate, getJvmTypeScope, setDelegate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XcoreScopeProvider()
Method Detail |
---|
protected org.eclipse.xtext.scoping.IScope createLocalVarScope(org.eclipse.xtext.scoping.IScope parent, org.eclipse.xtext.xbase.scoping.LocalVariableScopeContext scopeContext)
createLocalVarScope
in class org.eclipse.xtext.xbase.scoping.XbaseScopeProvider
protected org.eclipse.xtext.common.types.JvmDeclaredType getContextType(EObject call)
getContextType
in class org.eclipse.xtext.xbase.scoping.XbaseScopeProvider
public org.eclipse.xtext.scoping.IScope getScope(EObject context, EReference reference)
getScope
in interface org.eclipse.xtext.scoping.IScopeProvider
getScope
in class org.eclipse.xtext.xbase.scoping.XbaseScopeProvider
|
Copyright 2001-2012 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |