Class RepoLangSemanticSequencer

  • All Implemented Interfaces:
    org.eclipse.xtext.serializer.sequencer.ISemanticSequencer

    public class RepoLangSemanticSequencer
    extends org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer
    • Field Summary

      • Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer

        genericSequencer, genericSequencerProvider
      • Fields inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer

        diagnosticProvider, errorAcceptor, feederProvider, masterSequencer, nodeProvider, sequenceAcceptor, transientValues
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void sequence​(org.eclipse.xtext.serializer.ISerializationContext context, EObject semanticObject)  
      protected void sequence_Component​(org.eclipse.xtext.serializer.ISerializationContext context, Component semanticObject)
      Contexts: NamedElement returns Component Component returns Component Constraint: ( name=ID (provides+=RoleSpecification provides+=RoleSpecification*)? (requires+=RoleSpecification requires+=RoleSpecification*)? seffs+=Seff* passiveResources+=PassiveResource* )
      protected void sequence_CompositeComponent​(org.eclipse.xtext.serializer.ISerializationContext context, CompositeComponent semanticObject)
      Contexts: CompositeComponent returns CompositeComponent Constraint: (name=ID provides+=RoleSpecification* requires+=RoleSpecification* components+=[Component|ID]*)
      protected void sequence_CustomCollectionType​(org.eclipse.xtext.serializer.ISerializationContext context, org.palladiosimulator.pcm.repository.CollectionDataType semanticObject)
      Contexts: CustomType returns CollectionDataType CustomCollectionType returns CollectionDataType Constraint: (entityName=ID innerType_CollectionDataType=[DataType|FQN])
      protected void sequence_CustomCompositeType​(org.eclipse.xtext.serializer.ISerializationContext context, org.palladiosimulator.pcm.repository.CompositeDataType semanticObject)
      Contexts: CustomType returns CompositeDataType CustomCompositeType returns CompositeDataType Constraint: (entityName=ID parentType_CompositeDataType+=[CompositeDataType|FQN]? innerDeclaration_CompositeDataType+=CustomInnerDeclaration*)
      protected void sequence_CustomInnerDeclaration​(org.eclipse.xtext.serializer.ISerializationContext context, org.palladiosimulator.pcm.repository.InnerDeclaration semanticObject)
      Contexts: CustomInnerDeclaration returns InnerDeclaration Constraint: (entityName=ID datatype_InnerDeclaration=[DataType|FQN])
      protected void sequence_ImportedRepository​(org.eclipse.xtext.serializer.ISerializationContext context, ImportedRepository semanticObject)
      Contexts: ImportedRepository returns ImportedRepository Constraint: importedNamespace=QualifiedNameWithWildcard
      protected void sequence_Interface​(org.eclipse.xtext.serializer.ISerializationContext context, Interface semanticObject)
      Contexts: NamedElement returns Interface Interface returns Interface Constraint: (name=ID signature+=Signature*)
      protected void sequence_PassiveResource​(org.eclipse.xtext.serializer.ISerializationContext context, PassiveResource semanticObject)
      Contexts: PassiveResource returns PassiveResource Constraint: (name=ID capacity=INT)
      protected void sequence_Repository​(org.eclipse.xtext.serializer.ISerializationContext context, Repository semanticObject)
      Contexts: Repository returns Repository Constraint: (name=ID imports+=ImportedRepository* types=TypeRepo? elements+=NamedElement*)
      protected void sequence_RoleSpecification​(org.eclipse.xtext.serializer.ISerializationContext context, RoleSpecification semanticObject)
      Contexts: RoleSpecification returns RoleSpecification Constraint: (interface=[Interface|ID] name=ID)
      protected void sequence_Seff​(org.eclipse.xtext.serializer.ISerializationContext context, Seff semanticObject)
      Contexts: Seff returns Seff Constraint: (name=ID? role=[RoleSpecification|ID] signature=[Signature|FQN] actions+=SeffAction*)
      protected void sequence_SeffAcquireAction​(org.eclipse.xtext.serializer.ISerializationContext context, SeffAcquireAction semanticObject)
      Contexts: SeffAction returns SeffAcquireAction SeffAcquireAction returns SeffAcquireAction Constraint: (name=ID? resource=[PassiveResource|ID] amount=INT?)
      protected void sequence_SeffCallParameter​(org.eclipse.xtext.serializer.ISerializationContext context, SeffCallParameter semanticObject)
      Contexts: SeffCallParameter returns SeffCallParameter Constraint: ((parameter=[SignatureParameter|ID] | referenceName=STRING) values+=SeffVariableChar+)
      protected void sequence_SeffExternalCallAction​(org.eclipse.xtext.serializer.ISerializationContext context, SeffExternalCallAction semanticObject)
      Contexts: SeffAction returns SeffExternalCallAction SeffExternalCallAction returns SeffExternalCallAction Constraint: (name=ID? role=[RoleSpecification|ID]? called=[Signature|FQN] (bindings+=SeffCallParameter+ returning+=SeffReferenceParameter*)?)
      protected void sequence_SeffFork​(org.eclipse.xtext.serializer.ISerializationContext context, SeffFork semanticObject)
      Contexts: SeffFork returns SeffFork Constraint: (name=ID? seff=SubSeff)
      protected void sequence_SeffForkAction​(org.eclipse.xtext.serializer.ISerializationContext context, SeffForkAction semanticObject)
      Contexts: SeffAction returns SeffForkAction SeffForkAction returns SeffForkAction Constraint: (sync?='SYNC'? name=ID? forks+=SeffFork forks+=SeffFork*)
      protected void sequence_SeffGuardedBranch​(org.eclipse.xtext.serializer.ISerializationContext context, SeffGuardedBranch semanticObject)
      Contexts: SeffBranch returns SeffGuardedBranch SeffGuardedBranch returns SeffGuardedBranch Constraint: (condition=STRING name=ID? seff=SubSeff)
      protected void sequence_SeffGuardedBranchAction​(org.eclipse.xtext.serializer.ISerializationContext context, SeffGuardedBranchAction semanticObject)
      Contexts: SeffAction returns SeffGuardedBranchAction SeffGuardedBranchAction returns SeffGuardedBranchAction Constraint: (name=ID? branches+=SeffGuardedBranch+)
      protected void sequence_SeffInternalAction​(org.eclipse.xtext.serializer.ISerializationContext context, SeffInternalAction semanticObject)
      Contexts: SeffAction returns SeffInternalAction SeffInternalAction returns SeffInternalAction Constraint: (name=ID? demandType=[ProcessingResourceType|ID] demand=STRING)
      protected void sequence_SeffLoopAction​(org.eclipse.xtext.serializer.ISerializationContext context, SeffLoopAction semanticObject)
      Contexts: SeffAction returns SeffLoopAction SeffLoopAction returns SeffLoopAction Constraint: (name=ID? count=STRING actions=SubSeff)
      protected void sequence_SeffProbabilisticBranch​(org.eclipse.xtext.serializer.ISerializationContext context, SeffProbabilisticBranch semanticObject)
      Contexts: SeffBranch returns SeffProbabilisticBranch SeffProbabilisticBranch returns SeffProbabilisticBranch Constraint: (probability=Probability name=ID? seff=SubSeff)
      protected void sequence_SeffProbabilisticBranchAction​(org.eclipse.xtext.serializer.ISerializationContext context, SeffProbabilisticBranchAction semanticObject)
      Contexts: SeffAction returns SeffProbabilisticBranchAction SeffProbabilisticBranchAction returns SeffProbabilisticBranchAction Constraint: (name=ID? branches+=SeffProbabilisticBranch+)
      protected void sequence_SeffReferenceParameter​(org.eclipse.xtext.serializer.ISerializationContext context, SeffReferenceParameter semanticObject)
      Contexts: SeffReferenceParameter returns SeffReferenceParameter Constraint: (referenceName=STRING values+=SeffVariableChar+)
      protected void sequence_SeffReleaseAction​(org.eclipse.xtext.serializer.ISerializationContext context, SeffReleaseAction semanticObject)
      Contexts: SeffAction returns SeffReleaseAction SeffReleaseAction returns SeffReleaseAction Constraint: (name=ID? resource=[PassiveResource|ID] amount=INT?)
      protected void sequence_SeffReturnParameter​(org.eclipse.xtext.serializer.ISerializationContext context, SeffReturnParameter semanticObject)
      Contexts: SeffReturnParameter returns SeffReturnParameter Constraint: values+=SeffVariableChar+
      protected void sequence_SeffSetReturnAction​(org.eclipse.xtext.serializer.ISerializationContext context, SeffSetReturnAction semanticObject)
      Contexts: SeffAction returns SeffSetReturnAction SeffSetReturnAction returns SeffSetReturnAction Constraint: (name=ID? returnValue=SeffReturnParameter)
      protected void sequence_SeffSetVariableAction​(org.eclipse.xtext.serializer.ISerializationContext context, SeffSetVariableAction semanticObject)
      Contexts: SeffAction returns SeffSetVariableAction SeffSetVariableAction returns SeffSetVariableAction Constraint: (name=ID? setValues+=SeffReferenceParameter+)
      protected void sequence_SeffVariableChar​(org.eclipse.xtext.serializer.ISerializationContext context, SeffVariableChar semanticObject)
      Contexts: SeffVariableChar returns SeffVariableChar Constraint: (characterisationType=CharType value=STRING)
      protected void sequence_Signature​(org.eclipse.xtext.serializer.ISerializationContext context, Signature semanticObject)
      Contexts: Signature returns Signature Constraint: (name=ID (parameters+=SignatureParameter parameters+=SignatureParameter*)?)
      protected void sequence_SignatureParameter​(org.eclipse.xtext.serializer.ISerializationContext context, SignatureParameter semanticObject)
      Contexts: SignatureParameter returns SignatureParameter Constraint: (name=ID type=[DataType|FQN])
      protected void sequence_SubSeff​(org.eclipse.xtext.serializer.ISerializationContext context, SubSeff semanticObject)
      Contexts: SubSeff returns SubSeff Constraint: actions+=SeffAction+
      protected void sequence_TypeRepo​(org.eclipse.xtext.serializer.ISerializationContext context, org.palladiosimulator.pcm.repository.Repository semanticObject)
      Contexts: TypeRepo returns Repository Constraint: dataTypes__Repository+=CustomType+
      • Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractDelegatingSemanticSequencer

        init
      • Methods inherited from class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer

        createContext, createNodeProvider, createSequence, createSequence, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, createSequencerFeeder, init, setMasterSequencer
    • Constructor Detail

      • RepoLangSemanticSequencer

        public RepoLangSemanticSequencer()
    • Method Detail

      • sequence

        public void sequence​(org.eclipse.xtext.serializer.ISerializationContext context,
                             EObject semanticObject)
        Overrides:
        sequence in class org.eclipse.xtext.serializer.sequencer.AbstractSemanticSequencer
      • sequence_Component

        protected void sequence_Component​(org.eclipse.xtext.serializer.ISerializationContext context,
                                          Component semanticObject)
        Contexts: NamedElement returns Component Component returns Component Constraint: ( name=ID (provides+=RoleSpecification provides+=RoleSpecification*)? (requires+=RoleSpecification requires+=RoleSpecification*)? seffs+=Seff* passiveResources+=PassiveResource* )
      • sequence_CompositeComponent

        protected void sequence_CompositeComponent​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                   CompositeComponent semanticObject)
        Contexts: CompositeComponent returns CompositeComponent Constraint: (name=ID provides+=RoleSpecification* requires+=RoleSpecification* components+=[Component|ID]*)
      • sequence_CustomCollectionType

        protected void sequence_CustomCollectionType​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                     org.palladiosimulator.pcm.repository.CollectionDataType semanticObject)
        Contexts: CustomType returns CollectionDataType CustomCollectionType returns CollectionDataType Constraint: (entityName=ID innerType_CollectionDataType=[DataType|FQN])
      • sequence_CustomCompositeType

        protected void sequence_CustomCompositeType​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                    org.palladiosimulator.pcm.repository.CompositeDataType semanticObject)
        Contexts: CustomType returns CompositeDataType CustomCompositeType returns CompositeDataType Constraint: (entityName=ID parentType_CompositeDataType+=[CompositeDataType|FQN]? innerDeclaration_CompositeDataType+=CustomInnerDeclaration*)
      • sequence_CustomInnerDeclaration

        protected void sequence_CustomInnerDeclaration​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                       org.palladiosimulator.pcm.repository.InnerDeclaration semanticObject)
        Contexts: CustomInnerDeclaration returns InnerDeclaration Constraint: (entityName=ID datatype_InnerDeclaration=[DataType|FQN])
      • sequence_ImportedRepository

        protected void sequence_ImportedRepository​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                   ImportedRepository semanticObject)
        Contexts: ImportedRepository returns ImportedRepository Constraint: importedNamespace=QualifiedNameWithWildcard
      • sequence_Interface

        protected void sequence_Interface​(org.eclipse.xtext.serializer.ISerializationContext context,
                                          Interface semanticObject)
        Contexts: NamedElement returns Interface Interface returns Interface Constraint: (name=ID signature+=Signature*)
      • sequence_PassiveResource

        protected void sequence_PassiveResource​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                PassiveResource semanticObject)
        Contexts: PassiveResource returns PassiveResource Constraint: (name=ID capacity=INT)
      • sequence_Repository

        protected void sequence_Repository​(org.eclipse.xtext.serializer.ISerializationContext context,
                                           Repository semanticObject)
        Contexts: Repository returns Repository Constraint: (name=ID imports+=ImportedRepository* types=TypeRepo? elements+=NamedElement*)
      • sequence_RoleSpecification

        protected void sequence_RoleSpecification​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                  RoleSpecification semanticObject)
        Contexts: RoleSpecification returns RoleSpecification Constraint: (interface=[Interface|ID] name=ID)
      • sequence_SeffAcquireAction

        protected void sequence_SeffAcquireAction​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                  SeffAcquireAction semanticObject)
        Contexts: SeffAction returns SeffAcquireAction SeffAcquireAction returns SeffAcquireAction Constraint: (name=ID? resource=[PassiveResource|ID] amount=INT?)
      • sequence_SeffCallParameter

        protected void sequence_SeffCallParameter​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                  SeffCallParameter semanticObject)
        Contexts: SeffCallParameter returns SeffCallParameter Constraint: ((parameter=[SignatureParameter|ID] | referenceName=STRING) values+=SeffVariableChar+)
      • sequence_SeffExternalCallAction

        protected void sequence_SeffExternalCallAction​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                       SeffExternalCallAction semanticObject)
        Contexts: SeffAction returns SeffExternalCallAction SeffExternalCallAction returns SeffExternalCallAction Constraint: (name=ID? role=[RoleSpecification|ID]? called=[Signature|FQN] (bindings+=SeffCallParameter+ returning+=SeffReferenceParameter*)?)
      • sequence_SeffForkAction

        protected void sequence_SeffForkAction​(org.eclipse.xtext.serializer.ISerializationContext context,
                                               SeffForkAction semanticObject)
        Contexts: SeffAction returns SeffForkAction SeffForkAction returns SeffForkAction Constraint: (sync?='SYNC'? name=ID? forks+=SeffFork forks+=SeffFork*)
      • sequence_SeffFork

        protected void sequence_SeffFork​(org.eclipse.xtext.serializer.ISerializationContext context,
                                         SeffFork semanticObject)
        Contexts: SeffFork returns SeffFork Constraint: (name=ID? seff=SubSeff)
      • sequence_SeffGuardedBranchAction

        protected void sequence_SeffGuardedBranchAction​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                        SeffGuardedBranchAction semanticObject)
        Contexts: SeffAction returns SeffGuardedBranchAction SeffGuardedBranchAction returns SeffGuardedBranchAction Constraint: (name=ID? branches+=SeffGuardedBranch+)
      • sequence_SeffGuardedBranch

        protected void sequence_SeffGuardedBranch​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                  SeffGuardedBranch semanticObject)
        Contexts: SeffBranch returns SeffGuardedBranch SeffGuardedBranch returns SeffGuardedBranch Constraint: (condition=STRING name=ID? seff=SubSeff)
      • sequence_SeffInternalAction

        protected void sequence_SeffInternalAction​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                   SeffInternalAction semanticObject)
        Contexts: SeffAction returns SeffInternalAction SeffInternalAction returns SeffInternalAction Constraint: (name=ID? demandType=[ProcessingResourceType|ID] demand=STRING)
      • sequence_SeffLoopAction

        protected void sequence_SeffLoopAction​(org.eclipse.xtext.serializer.ISerializationContext context,
                                               SeffLoopAction semanticObject)
        Contexts: SeffAction returns SeffLoopAction SeffLoopAction returns SeffLoopAction Constraint: (name=ID? count=STRING actions=SubSeff)
      • sequence_SeffProbabilisticBranchAction

        protected void sequence_SeffProbabilisticBranchAction​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                              SeffProbabilisticBranchAction semanticObject)
        Contexts: SeffAction returns SeffProbabilisticBranchAction SeffProbabilisticBranchAction returns SeffProbabilisticBranchAction Constraint: (name=ID? branches+=SeffProbabilisticBranch+)
      • sequence_SeffProbabilisticBranch

        protected void sequence_SeffProbabilisticBranch​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                        SeffProbabilisticBranch semanticObject)
        Contexts: SeffBranch returns SeffProbabilisticBranch SeffProbabilisticBranch returns SeffProbabilisticBranch Constraint: (probability=Probability name=ID? seff=SubSeff)
      • sequence_SeffReferenceParameter

        protected void sequence_SeffReferenceParameter​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                       SeffReferenceParameter semanticObject)
        Contexts: SeffReferenceParameter returns SeffReferenceParameter Constraint: (referenceName=STRING values+=SeffVariableChar+)
      • sequence_SeffReleaseAction

        protected void sequence_SeffReleaseAction​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                  SeffReleaseAction semanticObject)
        Contexts: SeffAction returns SeffReleaseAction SeffReleaseAction returns SeffReleaseAction Constraint: (name=ID? resource=[PassiveResource|ID] amount=INT?)
      • sequence_SeffReturnParameter

        protected void sequence_SeffReturnParameter​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                    SeffReturnParameter semanticObject)
        Contexts: SeffReturnParameter returns SeffReturnParameter Constraint: values+=SeffVariableChar+
      • sequence_SeffSetReturnAction

        protected void sequence_SeffSetReturnAction​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                    SeffSetReturnAction semanticObject)
        Contexts: SeffAction returns SeffSetReturnAction SeffSetReturnAction returns SeffSetReturnAction Constraint: (name=ID? returnValue=SeffReturnParameter)
      • sequence_SeffSetVariableAction

        protected void sequence_SeffSetVariableAction​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                      SeffSetVariableAction semanticObject)
        Contexts: SeffAction returns SeffSetVariableAction SeffSetVariableAction returns SeffSetVariableAction Constraint: (name=ID? setValues+=SeffReferenceParameter+)
      • sequence_SeffVariableChar

        protected void sequence_SeffVariableChar​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                 SeffVariableChar semanticObject)
        Contexts: SeffVariableChar returns SeffVariableChar Constraint: (characterisationType=CharType value=STRING)
      • sequence_Seff

        protected void sequence_Seff​(org.eclipse.xtext.serializer.ISerializationContext context,
                                     Seff semanticObject)
        Contexts: Seff returns Seff Constraint: (name=ID? role=[RoleSpecification|ID] signature=[Signature|FQN] actions+=SeffAction*)
      • sequence_SignatureParameter

        protected void sequence_SignatureParameter​(org.eclipse.xtext.serializer.ISerializationContext context,
                                                   SignatureParameter semanticObject)
        Contexts: SignatureParameter returns SignatureParameter Constraint: (name=ID type=[DataType|FQN])
      • sequence_Signature

        protected void sequence_Signature​(org.eclipse.xtext.serializer.ISerializationContext context,
                                          Signature semanticObject)
        Contexts: Signature returns Signature Constraint: (name=ID (parameters+=SignatureParameter parameters+=SignatureParameter*)?)
      • sequence_SubSeff

        protected void sequence_SubSeff​(org.eclipse.xtext.serializer.ISerializationContext context,
                                        SubSeff semanticObject)
        Contexts: SubSeff returns SubSeff Constraint: actions+=SeffAction+
      • sequence_TypeRepo

        protected void sequence_TypeRepo​(org.eclipse.xtext.serializer.ISerializationContext context,
                                         org.palladiosimulator.pcm.repository.Repository semanticObject)
        Contexts: TypeRepo returns Repository Constraint: dataTypes__Repository+=CustomType+