TomlKey class
AST node that represents a dot separated list of TomlSimpleKeys.
key = simple-key / dotted-key
dotted-key = simple-key 1*( dot-sep simple-key )
Constructors
-
TomlKey(Iterable<
TomlSimpleKey> parts) - Creates a new dotted key with the given parts.
Properties
- childKey → TomlSimpleKey
-
Gets the last key part (i.e., the name of this key within the table
called parentKey).
no setter
- hashCode → int
-
The hash code for this object.
no setteroverride
- parentKey → TomlKey
-
Gets a key for the parent table of this key.
no setter
-
parts
→ List<
TomlSimpleKey> -
The individual
TomlSimpleKey
s that make up this dotted key.final - 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.override -
child(
TomlSimpleKey child) → TomlKey - Creates a new key that identifies the given child in the table identified by this key.
-
deepChild(
TomlKey child) → TomlKey - Creates a new key that identifies the given deeply nested child in the table identified by this key.
-
isPrefixOf(
TomlKey child) → bool - Tests whether the parts of the given key start with all parts of this key.
-
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