TomlMultilineBasicString class

AST node that represents multiline basic TOML strings.

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

Constructors

TomlMultilineBasicString(String value)
Creates a new multiline basic 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 for the body of a multiline basic TOML string.
final
contentParser → Parser<String>
Parser for a single character of a multiline basic TOML string.
final
delimiter String
Delimiter for multiline basic TOML strings.
final
escapedNewlineParser → Parser<String>
Parser for an escaped newline.
final
parser → Parser<TomlMultilineBasicString>
Parser for a multiline basic TOML string value.
final
quotesParser → Parser<String>
Parser for one or two quotation marks.
final
unescapedParser → Parser<String>
Parser for a single unescaped character of a multiline basic TOML string.
final

Static Methods

canEncode(String value) bool
Tests whether the given string can be represented as a multiline basic string.
escape(String value) String
Escapes all characters of the given string that are not allowed to occur unescaped in a multiline basic string.