forked from sqlitebrowser/sqlitebrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSqlite3Lexer.hpp
70 lines (67 loc) · 2.62 KB
/
Sqlite3Lexer.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#ifndef INC_Sqlite3Lexer_hpp_
#define INC_Sqlite3Lexer_hpp_
#include <antlr/config.hpp>
/* $ANTLR 2.7.7 (20141010): "sqlite3.g" -> "Sqlite3Lexer.hpp"$ */
#include <antlr/CommonToken.hpp>
#include <antlr/InputBuffer.hpp>
#include <antlr/BitSet.hpp>
#include "sqlite3TokenTypes.hpp"
#include <antlr/CharScanner.hpp>
class CUSTOM_API Sqlite3Lexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public sqlite3TokenTypes
{
private:
void initLiterals();
public:
bool getCaseSensitiveLiterals() const
{
return false;
}
public:
Sqlite3Lexer(ANTLR_USE_NAMESPACE(std)istream& in);
Sqlite3Lexer(ANTLR_USE_NAMESPACE(antlr)InputBuffer& ib);
Sqlite3Lexer(const ANTLR_USE_NAMESPACE(antlr)LexerSharedInputState& state);
ANTLR_USE_NAMESPACE(antlr)RefToken nextToken();
protected: void mDIGIT(bool _createToken);
protected: void mDOT(bool _createToken);
public: void mID(bool _createToken);
public: void mQUOTEDID(bool _createToken);
public: void mQUOTEDLITERAL(bool _createToken);
public: void mNUMERIC(bool _createToken);
public: void mPLUS(bool _createToken);
public: void mMINUS(bool _createToken);
protected: void mNL(bool _createToken);
public: void mCOMMENT(bool _createToken);
public: void mWS(bool _createToken);
public: void mSTRINGLITERAL(bool _createToken);
public: void mLPAREN(bool _createToken);
public: void mRPAREN(bool _createToken);
public: void mCOMMA(bool _createToken);
public: void mSEMI(bool _createToken);
public: void mSTAR(bool _createToken);
public: void mTILDE(bool _createToken);
public: void mAMPERSAND(bool _createToken);
public: void mBITOR(bool _createToken);
public: void mOROP(bool _createToken);
public: void mEQUAL(bool _createToken);
public: void mEQUAL2(bool _createToken);
public: void mGREATER(bool _createToken);
public: void mGREATEREQUAL(bool _createToken);
public: void mLOWER(bool _createToken);
public: void mLOWEREQUAL(bool _createToken);
public: void mUNEQUAL(bool _createToken);
public: void mUNEQUAL2(bool _createToken);
public: void mBITWISELEFT(bool _createToken);
public: void mBITWISERIGHT(bool _createToken);
private:
static const unsigned long _tokenSet_0_data_[];
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_0;
static const unsigned long _tokenSet_1_data_[];
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_1;
static const unsigned long _tokenSet_2_data_[];
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_2;
static const unsigned long _tokenSet_3_data_[];
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3;
static const unsigned long _tokenSet_4_data_[];
static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4;
};
#endif /*INC_Sqlite3Lexer_hpp_*/