TomlKeyValuePair class

A TOML expression AST node that represents a key/value pair.

keyval = key keyval-sep val
Inheritance
Annotations
  • @immutable

Constructors

TomlKeyValuePair(TomlKey key, TomlValue value)
Creates a new key/value pair.

Properties

hashCode int
The hash code for this object.
no setteroverride
key TomlKey
The AST node that represents the key of the key/value pair.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value TomlValue
The AST node that represents the value of the key/value pair.
final

Methods

acceptExpressionVisitor<T>(TomlExpressionVisitor<T> visitor) → T
Invokes the correct visit* method for this expression 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<TomlKeyValuePair>
Parser for a TOML key/value pair.
final
separator String
The separator between the key and value.
final