Class RationalDivisionPrintRule

  • All Implemented Interfaces:
    PrintVisitor.PrintRulesI, java.io.Serializable

    public class RationalDivisionPrintRule
    extends java.lang.Object
    implements PrintVisitor.PrintRulesI
    A special rule for printing divisions involving rational numbers. This ensure that if we have an expression like x/(3/5) where the 3/5 is a Rational constant then it is printed as x/(3/5) and not x/3/5.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void append​(Node node, PrintVisitor pv)
      The method called to append data for the rule.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait