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 Object
caseAlternative(Alternative object)
Returns the result of interpretting the object as an instance of 'Alternative'.Object
caseLoop(Loop object)
Returns the result of interpretting the object as an instance of 'Loop'.Object
caseSequence(Sequence object)
Returns the result of interpretting the object as an instance of 'Sequence'.Object
caseSymbol(Symbol object)
Returns the result of interpretting the object as an instance of 'Symbol'.Object
doSwitch(EObject theEObject)
String
getOutput()
-
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:ExpressionSwitch
Returns 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:
caseAlternative
in 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:ExpressionSwitch
Returns 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:
caseLoop
in 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:ExpressionSwitch
Returns 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:
caseSequence
in 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:ExpressionSwitch
Returns 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:
caseSymbol
in classExpressionSwitch
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpretting the object as an instance of 'Symbol'.
- See Also:
doSwitch(EObject)
-
-