Class CharacterizedDataDictionaryScopeProvider

java.lang.Object
org.eclipse.xtext.scoping.impl.AbstractScopeProvider
org.eclipse.xtext.scoping.impl.DelegatingScopeProvider
org.palladiosimulator.dataflow.dictionary.characterized.dsl.scoping.AbstractCharacterizedDataDictionaryScopeProvider
org.palladiosimulator.dataflow.dictionary.characterized.dsl.scoping.CharacterizedDataDictionaryScopeProvider
All Implemented Interfaces:
org.eclipse.xtext.scoping.impl.IDelegatingScopeProvider, org.eclipse.xtext.scoping.IScopeProvider
Direct Known Subclasses:
AbstractDDDslScopeProvider

public class CharacterizedDataDictionaryScopeProvider extends AbstractCharacterizedDataDictionaryScopeProvider
This class contains custom scoping description. See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#scoping on how and when to use it.
  • Field Details

  • Constructor Details

    • CharacterizedDataDictionaryScopeProvider

      public CharacterizedDataDictionaryScopeProvider()
  • Method Details

    • initScopeProcessors

    • getScope

      public org.eclipse.xtext.scoping.IScope getScope(EObject context, EReference reference)
      Specified by:
      getScope in interface org.eclipse.xtext.scoping.IScopeProvider
      Overrides:
      getScope in class org.eclipse.xtext.scoping.impl.DelegatingScopeProvider
    • getScopeForPinInDataCharacteristicReference

      protected org.eclipse.xtext.scoping.IScope getScopeForPinInDataCharacteristicReference(EObject context, EReference reference, org.eclipse.xtext.scoping.IScope scope)
    • getScopeForLiteralInEnumCharacteristicReference

      protected org.eclipse.xtext.scoping.IScope getScopeForLiteralInEnumCharacteristicReference(EObject context, EReference reference, org.eclipse.xtext.scoping.IScope scope)
    • getScopeForValuesInEnumCharacteristic

      protected org.eclipse.xtext.scoping.IScope getScopeForValuesInEnumCharacteristic(EObject context, EReference reference, org.eclipse.xtext.scoping.IScope scope)
    • buildLastSegmentScope

      protected org.eclipse.xtext.scoping.IScope buildLastSegmentScope(org.eclipse.xtext.scoping.IScope superScope)
    • findParentOfType

      protected <T extends EObject> Optional<T> findParentOfType(EObject object, Class<T> parentType)
    • isLhs

      protected boolean isLhs(CharacteristicReference reference)
    • isRhs

      protected boolean isRhs(CharacteristicReference reference)