TomlFloat class

AST node that represents a TOML floating point number.

float = float-int-part ( exp / frac [ exp ] )
float =/ special-float
Inheritance
Annotations
  • @immutable

Constructors

TomlFloat(double value)
Creates a new floating point value.

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type TomlType
The type of the TOML value represented by this AST node.
no setteroverride
value double
The number represented by this node.
final

Methods

acceptValueVisitor<T>(TomlValueVisitor<T> visitor) → T
Invokes the correct visit* method for this value of the given visitor.
override
acceptVisitor<T>(TomlVisitor<T> visitor) → T
Invokes the correct visit* method for this value of the given visitor.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override

Static Properties

finalFloatParser → Parser<TomlFloat>
Parser for a regular TOML floating point value.
final
parser → Parser<TomlFloat>
Parser for a TOML floating point value.
final
specialFloatParser → Parser<TomlFloat>
Parser for a special TOML floating point value.
final