2014-10-09 01:30:22 +02:00
|
|
|
#ifndef __SQLPARSER_H_
|
|
|
|
#define __SQLPARSER_H_
|
|
|
|
|
2014-11-07 01:09:06 +01:00
|
|
|
#include "sqllib.h"
|
2014-10-22 16:01:25 +02:00
|
|
|
#include "bison_parser.h"
|
2014-10-09 01:30:22 +02:00
|
|
|
|
2014-10-31 18:36:02 +01:00
|
|
|
namespace hsql {
|
|
|
|
|
2014-10-09 01:30:22 +02:00
|
|
|
class SQLParser {
|
|
|
|
public:
|
2014-11-07 02:00:09 +01:00
|
|
|
static StatementList* parseSQLString(const char* sql);
|
2014-10-09 01:30:22 +02:00
|
|
|
|
|
|
|
private:
|
|
|
|
SQLParser();
|
|
|
|
};
|
|
|
|
|
2014-10-31 18:36:02 +01:00
|
|
|
|
|
|
|
} // namespace hsql
|
2014-10-09 01:30:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
#endif
|