StringTokenValue class

A class that represents a string token and contains its raw value.

Constructors

StringTokenValue(StringToken token, String raw)
const
StringTokenValue.literal(String raw)
A token representing a literal value.

Properties

hashCode int
The hash code for this object.
no setteroverride
raw String
The raw value of the token.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token StringToken
The token type.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

colorSeparator → const StringTokenValue
A token representing a color separator character.
colorStart → const StringTokenValue
A token representing a color start character.
colorTerm → const StringTokenValue
A token representing a color terminator character.
empty → const StringTokenValue
A token representing an empty literal.
esc → const StringTokenValue
A token representing an escape character.