Decodes a string value.
A string value to be decoded.
A string quote character.
An decoded string.
Encodes a string value.
A string value to be encoded.
A string quote character.
An encoded string.
Return a quoted string token from a scanner. This method will collect characters until it sees a match to the character that the tokenizer used to switch to this state.
A textual string to be tokenized.
A tokenizer class that controls the process.
The next token from the top of the stream.
Generated using TypeDoc
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.