TomlNode class abstract

Base class of all TOML AST nodes.

The hashCode and operator== methods should be overwritten by subclasses such that they check for deep equality of the data structure. For example, a quoted and an unquoted key with the same name are not considered equal and two inline tables are only equal if all key/value pairs are equal and in the same order. It is most often not correct to use TomlNodes as keys of hash maps.

The toString method is overwritten such that the AST is pretty printed with TOML syntax. See TomlPrettyPrinter for details.

Implementers

Constructors

TomlNode()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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