FloatVal constructor
- String value
Constructs a floating-point value node by parsing the string representation.
Parameters:
value
: String representation of the floating-point value (e.g., "3.14")
Throws:
- FormatException if the string cannot be parsed as a double
Implementation
FloatVal(String value) : super(double.parse(value), []);