Kaydet (Commit) fd42ad29 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS dba24c (1.21.54); FILE MERGED

2007/09/18 20:04:51 fs 1.21.54.1: during #i81095#: outsourced the CYCLIC_SUB_QUERIES error to the new css.sdb.ErrorCondition
üst 09011c35
......@@ -4,9 +4,9 @@
*
* $RCSfile: sqlparse.hxx,v $
*
* $Revision: 1.21 $
* $Revision: 1.22 $
*
* last change: $Author: vg $ $Date: 2007-04-11 12:35:02 $
* last change: $Author: ihi $ $Date: 2007-11-21 14:57:54 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -92,6 +92,7 @@ namespace com
namespace connectivity
{
class OSQLScanner;
class SQLError;
//==========================================================================
//= OParseContext
......@@ -131,6 +132,7 @@ namespace connectivity
//==========================================================================
//= OSQLParser
//==========================================================================
struct OSQLParser_Data;
/** Parser for SQL92
*/
class OSQLParser
......@@ -155,7 +157,8 @@ namespace connectivity
// informations on the current parse action
const IParseContext* m_pContext;
OSQLParseNode* m_pParseTree; // result from parsing
::com::sun::star::lang::Locale* m_pLocale; // current locale settings for parsing
::std::auto_ptr< OSQLParser_Data >
m_pData;
::rtl::OUString m_sFieldName; // current field name for a predicate
::rtl::OUString m_sErrorMessage;// current error msg
......@@ -201,6 +204,9 @@ namespace connectivity
// Access to the context
const IParseContext& getContext() const {return *m_pContext;}
/// access to the SQLError instance owned by this parser
const SQLError& getErrorHelper() const;
// TokenIDToStr: Token-Name zu einer Token-Nr.
static ::rtl::OString TokenIDToStr(sal_uInt32 nTokenID, const IParseContext* pContext = NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment