TomlLiteralString class
AST node that represents literal TOML strings.
literal-string = apostrophe *literal-char apostrophe
- Inheritance
-
- Object
- TomlNode
- TomlValue
- TomlString
- TomlSinglelineString
- TomlLiteralString
- Annotations
-
- @immutable
Constructors
- TomlLiteralString(String value)
-
Creates a new literal string value with the given contents.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringType → TomlStringType
-
The type of this string.
no setteroverride
- type → TomlType
-
The type of the TOML value represented by this AST node.
no setterinherited
- value → String
-
The contents of the string.
final
Methods
-
acceptStringVisitor<
T> (TomlStringVisitor< T> visitor) → T -
Invokes the correct
visit*
method for this string value of the given visitor.override -
acceptValueVisitor<
T> (TomlValueVisitor< T> visitor) → T -
Invokes the correct
visit*
method for this value of the given visitor.inherited -
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
-
charParser
→ Parser<
String> -
Parser for a single character of a basic TOML string.
final
- delimiter → String
-
Delimiter for basic TOML strings.
final
-
parser
→ Parser<
TomlLiteralString> -
Parser for a literal TOML string value.
final