Public Member Functions | |
string | DecodeString (const string Value, Char QuoteChar) |
string | EncodeString (const string Value, Char QuoteChar) |
TZToken | NextToken (TStream Stream, Char FirstChar, TZTokenizer Tokenizer) |
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 reader.
Definition at line 182 of file ZTokenizer.pas.
string TZQuoteState::DecodeString | ( | const string | Value, | |
Char | QuoteChar | |||
) |
Reimplemented in TZExpressionQuoteState, TZGenericSQLQuoteState, TZMySQLQuoteState, TZSQLiteQuoteState, and TZSybaseQuoteState.
string TZQuoteState::EncodeString | ( | const string | Value, | |
Char | QuoteChar | |||
) |
Reimplemented in TZExpressionQuoteState, TZGenericSQLQuoteState, TZMySQLQuoteState, TZSQLiteQuoteState, and TZSybaseQuoteState.
TZToken TZQuoteState::NextToken | ( | TStream | Stream, | |
Char | FirstChar, | |||
TZTokenizer | Tokenizer | |||
) |
Reimplemented from TZTokenizerState.
Reimplemented in TZExpressionQuoteState, TZGenericSQLQuoteState, TZMySQLQuoteState, TZPostgreSQLQuoteState, TZSQLiteQuoteState, and TZSybaseQuoteState.