TomlArray class

AST node that represents a TOML array value.

array = array-open [ array-values ] ws-comment-newline array-close

array-values =  ws-comment-newline val ws-comment-newline array-sep
                array-values
array-values =/ ws-comment-newline val ws-comment-newline [ array-sep ]
Inheritance
Annotations
  • @immutable

Constructors

TomlArray(Iterable<TomlValue> items)
Creates a new array value.

Properties

hashCode int
The hash code for this object.
no setteroverride
items List<TomlValue>
The array items.
final
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

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

closingDelimiter String
The closing delimiter of arrays.
final
openingDelimiter String
The opening delimiter of arrays.
final
parser → Parser<TomlArray>
Parser for a TOML array value.
final
separator String
The separator for the items in arrays.
final