Class RepoLangGenerator
- java.lang.Object
-
- org.eclipse.xtext.generator.AbstractGenerator
-
- com.palladiosimulator.textual.repository.generator.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 Summary
Constructors Constructor Description RepoLangGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.palladiosimulator.pcm.seff.AbstractAction
_transformAction(SeffAcquireAction s)
protected org.palladiosimulator.pcm.seff.AbstractAction
_transformAction(SeffAction s)
protected org.palladiosimulator.pcm.seff.AbstractAction
_transformAction(SeffExternalCallAction s)
protected org.palladiosimulator.pcm.seff.AbstractAction
_transformAction(SeffForkAction s)
protected org.palladiosimulator.pcm.seff.AbstractAction
_transformAction(SeffGuardedBranchAction s)
protected org.palladiosimulator.pcm.seff.AbstractAction
_transformAction(SeffInternalAction s)
protected org.palladiosimulator.pcm.seff.AbstractAction
_transformAction(SeffLoopAction s)
protected org.palladiosimulator.pcm.seff.AbstractAction
_transformAction(SeffProbabilisticBranchAction s)
protected org.palladiosimulator.pcm.seff.AbstractAction
_transformAction(SeffReleaseAction s)
protected org.palladiosimulator.pcm.seff.AbstractAction
_transformAction(SeffSetReturnAction s)
protected org.palladiosimulator.pcm.seff.AbstractAction
_transformAction(SeffSetVariableAction s)
void
doGenerate(Resource resource, org.eclipse.xtext.generator.IFileSystemAccess2 fsa, org.eclipse.xtext.generator.IGeneratorContext context)
org.palladiosimulator.pcm.repository.BasicComponent
transform(Component c)
org.palladiosimulator.pcm.repository.OperationInterface
transform(Interface c)
org.palladiosimulator.pcm.repository.PassiveResource
transform(PassiveResource c)
org.palladiosimulator.pcm.repository.Repository
transform(Repository r)
org.palladiosimulator.pcm.seff.ResourceDemandingSEFF
transform(Seff s)
org.palladiosimulator.pcm.seff.ForkedBehaviour
transform(SeffFork s)
org.palladiosimulator.pcm.repository.OperationSignature
transform(Signature c)
org.palladiosimulator.pcm.repository.Parameter
transform(SignatureParameter s)
org.palladiosimulator.pcm.seff.ResourceDemandingBehaviour
transform(SubSeff s)
org.palladiosimulator.pcm.repository.CollectionDataType
transform(org.palladiosimulator.pcm.repository.CollectionDataType d)
org.palladiosimulator.pcm.repository.CompositeDataType
transform(org.palladiosimulator.pcm.repository.CompositeDataType d)
org.palladiosimulator.pcm.repository.InnerDeclaration
transform(org.palladiosimulator.pcm.repository.InnerDeclaration d)
org.palladiosimulator.pcm.seff.AbstractAction
transformAction(SeffAction s)
Collection<? extends org.palladiosimulator.pcm.seff.AbstractAction>
transformActions(EList<SeffAction> list)
org.palladiosimulator.pcm.seff.GuardedBranchTransition
transformBranch(SeffGuardedBranch s)
org.palladiosimulator.pcm.seff.ProbabilisticBranchTransition
transformBranch(SeffProbabilisticBranch s)
org.palladiosimulator.pcm.parameter.VariableCharacterisation
transformCharacterisation(SeffVariableChar c)
org.palladiosimulator.pcm.seff.seff_performance.ParametricResourceDemand
transformDemand(SeffInternalAction action)
org.palladiosimulator.pcm.parameter.VariableUsage
transformParameter(SeffCallParameter p)
org.palladiosimulator.pcm.parameter.VariableUsage
transformParameter(SeffReferenceParameter p)
org.palladiosimulator.pcm.parameter.VariableUsage
transformParameter(SeffReturnParameter p)
org.palladiosimulator.pcm.repository.OperationProvidedRole
transformProvided(RoleSpecification c)
org.palladiosimulator.pcm.repository.OperationRequiredRole
transformRequired(RoleSpecification c)
org.palladiosimulator.pcm.repository.DataType
transformType(org.palladiosimulator.pcm.repository.DataType d)
-
-
-
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)
-
_transformAction
protected org.palladiosimulator.pcm.seff.AbstractAction _transformAction(SeffProbabilisticBranchAction s)
-
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)
-
-