HyriseSQLParser/src/SQLParser.h

28 lines
388 B
C
Raw Normal View History

2014-10-09 01:30:22 +02:00
#ifndef __SQLPARSER_H_
#define __SQLPARSER_H_
#include "sqltypes.h"
2014-10-09 01:30:22 +02:00
namespace hsql {
2014-12-15 18:32:46 +01:00
/*!
* \mainpage SQLParser (C++)
*/
/*!
* @brief Main class for parsing SQL strings
*/
2014-10-09 01:30:22 +02:00
class SQLParser {
public:
2014-12-03 17:43:02 +01:00
static SQLStatementList* parseSQLString(const char* sql);
2015-01-07 13:24:39 +01:00
static SQLStatementList* parseSQLString(const std::string& sql);
2014-10-09 01:30:22 +02:00
private:
SQLParser();
};
} // namespace hsql
2014-10-09 01:30:22 +02:00
#endif