Class ExpressionPrinter
- java.lang.Object
-
- org.eclipse.emf.ecore.util.Switch<T>
-
- org.palladiosimulator.solver.spa.expression.util.ExpressionSwitch
-
- org.palladiosimulator.solver.transformations.pcm2regex.ExpressionPrinter
-
public class ExpressionPrinter extends ExpressionSwitch
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.solver.spa.expression.util.ExpressionSwitch
modelPackage
-
-
Constructor Summary
Constructors Constructor Description ExpressionPrinter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectcaseAlternative(Alternative object)Returns the result of interpretting the object as an instance of 'Alternative'.ObjectcaseLoop(Loop object)Returns the result of interpretting the object as an instance of 'Loop'.ObjectcaseSequence(Sequence object)Returns the result of interpretting the object as an instance of 'Sequence'.ObjectcaseSymbol(Symbol object)Returns the result of interpretting the object as an instance of 'Symbol'.ObjectdoSwitch(EObject theEObject)StringgetOutput()-
Methods inherited from class org.palladiosimulator.solver.spa.expression.util.ExpressionSwitch
caseAcquire, caseExpression, caseOperation, caseOption, caseParallel, caseRelease, caseTerminal, defaultCase, doSwitch, isSwitchFor
-
-
-
-
Method Detail
-
getOutput
public String getOutput()
-
caseAlternative
public Object caseAlternative(Alternative object)
Description copied from class:ExpressionSwitchReturns the result of interpretting the object as an instance of 'Alternative'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseAlternativein classExpressionSwitch- Parameters:
object- the target of the switch.- Returns:
- the result of interpretting the object as an instance of 'Alternative'.
- See Also:
doSwitch(EObject)
-
caseLoop
public Object caseLoop(Loop object)
Description copied from class:ExpressionSwitchReturns the result of interpretting the object as an instance of 'Loop'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseLoopin classExpressionSwitch- Parameters:
object- the target of the switch.- Returns:
- the result of interpretting the object as an instance of 'Loop'.
- See Also:
doSwitch(EObject)
-
caseSequence
public Object caseSequence(Sequence object)
Description copied from class:ExpressionSwitchReturns the result of interpretting the object as an instance of 'Sequence'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseSequencein classExpressionSwitch- Parameters:
object- the target of the switch.- Returns:
- the result of interpretting the object as an instance of 'Sequence'.
- See Also:
doSwitch(EObject)
-
caseSymbol
public Object caseSymbol(Symbol object)
Description copied from class:ExpressionSwitchReturns the result of interpretting the object as an instance of 'Symbol'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseSymbolin classExpressionSwitch- Parameters:
object- the target of the switch.- Returns:
- the result of interpretting the object as an instance of 'Symbol'.
- See Also:
doSwitch(EObject)
-
-