Class ASTDivNode

  • All Implemented Interfaces:
    Node, Renderable

    public class ASTDivNode
    extends ASTMathNode
    Handles number division of nodes

    Please look at the Parser.jjt file which is what controls the generation of this class.
    Version:
    $Id: ASTDivNode.java 691048 2008-09-01 20:26:11Z nbubna $
    • Constructor Detail

      • ASTDivNode

        public ASTDivNode​(int id)
        Parameters:
        id -
      • ASTDivNode

        public ASTDivNode​(Parser p,
                          int id)
        Parameters:
        p -
        id -
    • Method Detail

      • perform

        public java.lang.Number perform​(java.lang.Number left,
                                        java.lang.Number right,
                                        InternalContextAdapter context)
        Description copied from class: ASTMathNode
        Performs the math operation represented by this node.
        Specified by:
        perform in class ASTMathNode