GenericQuoteState class
A quoteState returns a quoted string token from a scanner.
This state will collect characters until it sees a match to the character that the tokenizer used to switch to this state. For example, if a tokenizer uses a double-quote character to enter this state, then nextToken will search for another double-quote until it finds one or finds the end of the scanner.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
decodeString(
String? value, int quoteSymbol) → String? -
Decodes a string value.
override
-
encodeString(
String? value, int quoteSymbol) → String? -
Encodes a string value.
override
-
nextToken(
IScanner scanner, ITokenizer? tokenizer) → Token -
Return a quoted string token from a scanner.
override
-
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.
inherited