Class ExpressionPrinter

    • Constructor Detail

      • ExpressionPrinter

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