TomlInteger class
AST node that represents a TOML integer.
integer = dec-int / hex-int / oct-int / bin-int
Constructors
- TomlInteger.bin(BigInt value)
- Creates a new binary integer value.
- TomlInteger.dec(BigInt value)
- Creates a new decimal integer value.
- TomlInteger.hex(BigInt value)
- Creates a new hexadecimal integer value.
- TomlInteger.oct(BigInt value)
- Creates a new octal integer value.
Properties
- format → TomlIntegerFormat
-
The format of this integer.
final
- 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 → BigInt
-
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
-
binParser
→ Parser<
TomlInteger> -
Parser for a binary TOML integer value.
final
-
decParser
→ Parser<
TomlInteger> -
Parser for a decimal TOML integer value.
final
-
hexParser
→ Parser<
TomlInteger> -
Parser for a binary TOML integer value.
final
-
octParser
→ Parser<
TomlInteger> -
Parser for a binary TOML integer value.
final
-
parser
→ Parser<
TomlInteger> -
Parser for a TOML integer value.
final