TomlUnquotedKey class

AST node that represents an unquoted key.

unquoted-key = 1*( ALPHA / DIGIT / %x2D / %x5F )
             ; A-Z / a-z / 0-9 / - / _
Inheritance
Annotations
  • @immutable

Constructors

TomlUnquotedKey(String name)
Creates a new unquoted key node.

Properties

hashCode int
The hash code for this object.
no setteroverride
name String
The actual name of this key.
final
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.
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<TomlUnquotedKey>
Parser for an unquoted TOML key.
final

Static Methods

canEncode(String key) bool
Tests whether the given key does not have to be quoted.