类 NumberNode


public class NumberNode extends ConstNode
Represents a number node in the syntax tree.
  • 构造器详细资料

    • NumberNode

      public NumberNode(double value)
      Creates a NumberNode from double value.
      参数:
      value - The value of the new NumberNode.
  • 方法详细资料

    • getValue

      public final double getValue()
      The value of this node.
    • setValue

      public final void setValue(double value)
      The value of this node.