-
Notifications
You must be signed in to change notification settings - Fork 1
/
TPTPLexer.hpp
98 lines (92 loc) · 3.59 KB
/
TPTPLexer.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/** This software is an adaptation of the theorem prover Vampire for
* working with large knowledge bases in the KIF format, see
* http://www.prover.info for publications on Vampire.
*
* Copyright (C) Andrei Voronkov and Alexandre Riazanov
*
* @author Alexandre Riazanov <riazanov@cs.man.ac.uk>
* @author Andrei Voronkov <voronkov@cs.man.ac.uk>, <andrei@voronkov.com>
*
* @date 06/06/2003
*
* This software is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Also add information on how to contact you by electronic and paper mail.
*/
#ifndef INC_TPTPLexer_hpp_
#define INC_TPTPLexer_hpp_
#include "antlr/config.hpp"
/* $ANTLR 2.7.1: "TPTP.g" -> "TPTPLexer.hpp"$ */
#include "antlr/CommonToken.hpp"
#include "antlr/InputBuffer.hpp"
#include "antlr/BitSet.hpp"
#include "TPTPLexerTokenTypes.hpp"
#include "antlr/CharScanner.hpp"
#line 19 "TPTP.g"
#include <iostream>
#include "Unit.hpp"
#line 17 "TPTPLexer.hpp"
class TPTPLexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public TPTPLexerTokenTypes
{
#line 1 "TPTP.g"
#line 21 "TPTPLexer.hpp"
private:
void initLiterals();
public:
bool getCaseSensitiveLiterals() const;
public:
TPTPLexer(ANTLR_USE_NAMESPACE(std)istream& in);
TPTPLexer(ANTLR_USE_NAMESPACE(antlr)InputBuffer& ib);
TPTPLexer(const ANTLR_USE_NAMESPACE(antlr)LexerSharedInputState& state);
ANTLR_USE_NAMESPACE(antlr)RefToken nextToken();
protected: void mUPPER(bool _createToken);
protected: void mLOWER(bool _createToken);
protected: void mDIGIT(bool _createToken);
protected: void mWHITE(bool _createToken);
protected: void mNUMBER(bool _createToken);
protected: void mWORDCHAR(bool _createToken);
protected: void mCHARACTER(bool _createToken);
public: void mSKIP_RULE(bool _createToken);
public: void mCOMMENT_LINE(bool _createToken);
protected: void mQUOTE(bool _createToken);
public: void mFILE_NAME(bool _createToken);
public: void mLPAR(bool _createToken);
public: void mRPAR(bool _createToken);
public: void mLBRA(bool _createToken);
public: void mRBRA(bool _createToken);
public: void mCOMMA(bool _createToken);
public: void mCOLON(bool _createToken);
public: void mDOT(bool _createToken);
public: void mAND(bool _createToken);
public: void mNOT(bool _createToken);
public: void mOR(bool _createToken);
public: void mIFF(bool _createToken);
public: void mIMP(bool _createToken);
public: void mXOR(bool _createToken);
public: void mFORALL(bool _createToken);
public: void mEXISTS(bool _createToken);
public: void mPP(bool _createToken);
public: void mMM(bool _createToken);
public: void mNAME(bool _createToken);
public: void mVAR(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;
};
#endif /*INC_TPTPLexer_hpp_*/