Implements an Expression-specific quote string state object.
Implements: IQuoteState
Description
The ExpressionQuoteState class implements an Expression-specific quote string state object.
Fields
Instance methods
decodeString
Decodes a string value.
@override
String? decodeString(String? value, int quoteSymbol)
- value: String? - String value to be decoded.
- quoteSymbol: int - String quote character.
- returns: String? - Decoded string.
encodeString
Encodes a string value.
@override
String? encodeString(String? value, int quoteSymbol)
- value: String? - String value to be encoded.
- quoteSymbol: int - String quote character.
- returns: String? - Encoded string.
nextToken
Gets the next token from the stream started from the character linked to this state.
@override
Token? nextToken(IScanner scanner, ITokenizer? tokenizer)
- scanner: IScanner - textual string to be tokenized.
- tokenizer: ITokenizer? - tokenizer class that controls the process.
- returns: Token? - next token from the top of the stream.