TZQuoteState Class Reference

A quoteState returns a quoted string token from a reader. More...

Inheritance diagram for TZQuoteState:

TZTokenizerState TZExpressionQuoteState TZGenericSQLQuoteState TZMySQLQuoteState TZSQLiteQuoteState TZSybaseQuoteState TZInterbaseQuoteState TZOracleQuoteState TZPostgreSQLQuoteState

List of all members.

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)


Detailed Description

A quoteState returns a quoted string token from a reader.

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.


Member Function Documentation

string TZQuoteState::DecodeString ( const string  Value,
Char  QuoteChar 
)

string TZQuoteState::EncodeString ( const string  Value,
Char  QuoteChar 
)

TZToken TZQuoteState::NextToken ( TStream  Stream,
Char  FirstChar,
TZTokenizer  Tokenizer 
)


The documentation for this class was generated from the following file:

Generated on Wed Dec 30 08:42:56 2009 for zeoslib by  doxygen 1.5.7.1