TomlValue class abstract

Base class for AST nodes that represent TOML values.

val = string
    / boolean
    / array
    / inline-table
    / date-time
    / float
    / integer
Inheritance
Implementers

Constructors

TomlValue()
Since there is a factory constructor, we have to provide the default constructor explicitly such that instances of subclasses can be created.
TomlValue.from(dynamic value)
Converts the given value to a TOML value.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
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 setter

Methods

acceptValueVisitor<T>(TomlValueVisitor<T> visitor) → T
Invokes the correct visit* method for this value of the given visitor.
acceptVisitor<T>(TomlVisitor<T> visitor) → T
Invokes the correct visit* method for this value of the given visitor.
override
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.
inherited

Static Properties

parser → Parser<TomlValue>
Parser for a TOML value.
final

Static Methods

parse(String input) TomlValue
Parses the given TOML value.