TomlMultilineLiteralString class

AST node that represents multiline literal TOML strings.

ml-literal-string = ml-literal-string-delim [ newline ] ml-literal-body
                    ml-literal-string-delim
Inheritance
Annotations
  • @immutable

Constructors

TomlMultilineLiteralString(String value)
Creates a new multiline literal TOML 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

bodyParser → Parser<String>
Parser fir the body of a multiline literal TOML string.
final
contentParser → Parser<String>
Parser for a single character of a multiline literal TOML string.
final
delimiter String
Delimiter for multiline literal TOML strings.
final
parser → Parser<TomlMultilineLiteralString>
Parser for a multiline literal TOML string value.
final
quotesParser → Parser<String>
Parser for one or two apostrophes.
final

Static Methods

canEncode(String str) bool
Tests whether the given string can be represented as a literal string.