Class RepoLangGenerator

  • All Implemented Interfaces:
    org.eclipse.xtext.generator.IGenerator2

    public class RepoLangGenerator
    extends org.eclipse.xtext.generator.AbstractGenerator
    Generates code from your model files on save. See https://www.eclipse.org/Xtext/documentation/303_runtime_concepts.html#code-generation
    • Constructor Detail

      • RepoLangGenerator

        public RepoLangGenerator()
    • Method Detail

      • doGenerate

        public void doGenerate​(Resource resource,
                               org.eclipse.xtext.generator.IFileSystemAccess2 fsa,
                               org.eclipse.xtext.generator.IGeneratorContext context)
      • transform

        public org.palladiosimulator.pcm.repository.Repository transform​(Repository r)
      • transform

        public org.palladiosimulator.pcm.repository.CompositeDataType transform​(org.palladiosimulator.pcm.repository.CompositeDataType d)
      • transform

        public org.palladiosimulator.pcm.repository.InnerDeclaration transform​(org.palladiosimulator.pcm.repository.InnerDeclaration d)
      • transform

        public org.palladiosimulator.pcm.repository.CollectionDataType transform​(org.palladiosimulator.pcm.repository.CollectionDataType d)
      • transformType

        public org.palladiosimulator.pcm.repository.DataType transformType​(org.palladiosimulator.pcm.repository.DataType d)
      • transform

        public org.palladiosimulator.pcm.repository.OperationInterface transform​(Interface c)
      • transform

        public org.palladiosimulator.pcm.repository.OperationSignature transform​(Signature c)
      • transform

        public org.palladiosimulator.pcm.repository.Parameter transform​(SignatureParameter s)
      • transform

        public org.palladiosimulator.pcm.repository.BasicComponent transform​(Component c)
      • transformRequired

        public org.palladiosimulator.pcm.repository.OperationRequiredRole transformRequired​(RoleSpecification c)
      • transformProvided

        public org.palladiosimulator.pcm.repository.OperationProvidedRole transformProvided​(RoleSpecification c)
      • transform

        public org.palladiosimulator.pcm.seff.ResourceDemandingSEFF transform​(Seff s)
      • transformActions

        public Collection<? extends org.palladiosimulator.pcm.seff.AbstractAction> transformActions​(EList<SeffAction> list)
      • _transformAction

        protected org.palladiosimulator.pcm.seff.AbstractAction _transformAction​(SeffAction s)
      • _transformAction

        protected org.palladiosimulator.pcm.seff.AbstractAction _transformAction​(SeffInternalAction s)
      • transformDemand

        public org.palladiosimulator.pcm.seff.seff_performance.ParametricResourceDemand transformDemand​(SeffInternalAction action)
      • _transformAction

        protected org.palladiosimulator.pcm.seff.AbstractAction _transformAction​(SeffExternalCallAction s)
      • transformParameter

        public org.palladiosimulator.pcm.parameter.VariableUsage transformParameter​(SeffCallParameter p)
      • transformParameter

        public org.palladiosimulator.pcm.parameter.VariableUsage transformParameter​(SeffReferenceParameter p)
      • transformCharacterisation

        public org.palladiosimulator.pcm.parameter.VariableCharacterisation transformCharacterisation​(SeffVariableChar c)
      • transformBranch

        public org.palladiosimulator.pcm.seff.ProbabilisticBranchTransition transformBranch​(SeffProbabilisticBranch s)
      • _transformAction

        protected org.palladiosimulator.pcm.seff.AbstractAction _transformAction​(SeffGuardedBranchAction s)
      • transformBranch

        public org.palladiosimulator.pcm.seff.GuardedBranchTransition transformBranch​(SeffGuardedBranch s)
      • transform

        public org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour transform​(SubSeff s)
      • _transformAction

        protected org.palladiosimulator.pcm.seff.AbstractAction _transformAction​(SeffForkAction s)
      • transform

        public org.palladiosimulator.pcm.seff.ForkedBehaviour transform​(SeffFork s)
      • _transformAction

        protected org.palladiosimulator.pcm.seff.AbstractAction _transformAction​(SeffAcquireAction s)
      • _transformAction

        protected org.palladiosimulator.pcm.seff.AbstractAction _transformAction​(SeffReleaseAction s)
      • _transformAction

        protected org.palladiosimulator.pcm.seff.AbstractAction _transformAction​(SeffLoopAction s)
      • _transformAction

        protected org.palladiosimulator.pcm.seff.AbstractAction _transformAction​(SeffSetReturnAction s)
      • transformParameter

        public org.palladiosimulator.pcm.parameter.VariableUsage transformParameter​(SeffReturnParameter p)
      • _transformAction

        protected org.palladiosimulator.pcm.seff.AbstractAction _transformAction​(SeffSetVariableAction s)
      • transform

        public org.palladiosimulator.pcm.repository.PassiveResource transform​(PassiveResource c)
      • transformAction

        public org.palladiosimulator.pcm.seff.AbstractAction transformAction​(SeffAction s)