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
  • Constructor Details

    • ExpressionPrinter

      public ExpressionPrinter()
  • Method Details

    • 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 class ExpressionSwitch
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpretting the object as an instance of 'Alternative'.
      See Also:
    • 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 class ExpressionSwitch
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpretting the object as an instance of 'Loop'.
      See Also:
    • 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 class ExpressionSwitch
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpretting the object as an instance of 'Sequence'.
      See Also:
    • doSwitch

      public Object doSwitch(EObject theEObject)
      Overrides:
      doSwitch in class Switch
    • 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 class ExpressionSwitch
      Parameters:
      object - the target of the switch.
      Returns:
      the result of interpretting the object as an instance of 'Symbol'.
      See Also: