Class NumberNode
Represents a number node in the syntax tree.
-
Constructor Summary
Constructors
Creates a NumberNode
from double
value.
-
Method Summary
-
Constructor Details
-
NumberNode
public NumberNode(double value)
Creates a NumberNode
from double
value.
- Parameters:
value
- The value of the new NumberNode
.
-
Method Details
-
getValue
public final double getValue()
The value of this node.
-
setValue
public final void setValue(double value)
The value of this node.