TomlBoolean class

AST node that represents a boolean TOML value.

boolean = true / false

true    = %x74.72.75.65     ; true
false   = %x66.61.6C.73.65  ; false
Inheritance
Annotations
  • @immutable

Constructors

TomlBoolean(bool value)
Creates a new boolean 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 bool
The boolean value 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

parser → Parser<TomlBoolean>
Parser for a boolean TOML value.
final