TomlSimpleKey class abstract

Base class of all AST nodes that represent simple TOML keys (i.e. non-dotted keys).

simple-key = quoted-key / unquoted-key
Inheritance
Implementers
Annotations
  • @immutable

Constructors

TomlSimpleKey()

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
The actual name of this key.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptSimpleKeyVisitor<T>(TomlSimpleKeyVisitor<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<TomlSimpleKey>
Parser for a simple TOML key.
final

Static Methods

from(dynamic key) TomlSimpleKey
Converts the given key to an AST node.