File: TTCNLexer.hpp

package info (click to toggle)
ttcn3parser 20011019-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,720 kB
  • ctags: 3,392
  • sloc: cpp: 49,144; makefile: 115; sh: 5
file content (88 lines) | stat: -rw-r--r-- 2,734 bytes parent folder | download
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
#ifndef INC_TTCNLexer_hpp_
#define INC_TTCNLexer_hpp_

#line 49 "TTCNLexer.g"

  // $Id: TTCNLexer.hpp,v 1.1 2001/10/19 15:24:52 debacle Exp $

  #include <string>

  using std::string;

#line 13 "TTCNLexer.hpp"
#include "antlr/config.hpp"
/* $ANTLR 2.7.1: "TTCNLexer.g" -> "TTCNLexer.hpp"$ */
#include "antlr/CommonToken.hpp"
#include "antlr/InputBuffer.hpp"
#include "antlr/BitSet.hpp"
#include "TTCNLexerTokenTypes.hpp"
#include "antlr/CharScanner.hpp"
ANTLR_BEGIN_NAMESPACE(TTCNGrammar)
class TTCNLexer : public antlr::CharScanner, public TTCNLexerTokenTypes
 {
#line 299 "TTCNLexer.g"

  public:

    unsigned int numberOfErrors() const;
    void resetErrors();

    static const string &versionInfo();

  protected:

    void reportError( const string &errorMessage );
    void reportMessage( const string &message ) const;

  private:

    unsigned int   noOfErrors;
#line 24 "TTCNLexer.hpp"
private:
	void initLiterals();
public:
	bool getCaseSensitiveLiterals() const;
public:
	TTCNLexer(std::istream& in);
	TTCNLexer(antlr::InputBuffer& ib);
	TTCNLexer(const antlr::LexerSharedInputState& state);
	antlr::RefToken nextToken();
	public: void mAnyNumber(bool _createToken);
	protected: void mNumber(bool _createToken);
	protected: void mNum(bool _createToken);
	protected: void mDecimalNumber(bool _createToken);
	protected: void mFloatValue(bool _createToken);
	protected: void mNonZeroNum(bool _createToken);
	public: void mAnyString(bool _createToken);
	protected: void mBStringMatch(bool _createToken);
	protected: void mOStringMatch(bool _createToken);
	protected: void mHStringMatch(bool _createToken);
	protected: void mBMatch(bool _createToken);
	protected: void mOMatch(bool _createToken);
	protected: void mHMatch(bool _createToken);
	public: void mCString(bool _createToken);
	protected: void mChar(bool _createToken);
	public: void mIdentifier(bool _createToken);
	protected: void mAlpha(bool _createToken);
	protected: void mAlphaNum(bool _createToken);
	protected: void mUpperAlpha(bool _createToken);
	protected: void mLowerAlpha(bool _createToken);
	public: void mMiscellaneous(bool _createToken);
	public: void mComment(bool _createToken);
	public: void mSingleLineComment(bool _createToken);
	public: void mWhiteSpaces(bool _createToken);
	protected: void mSpace(bool _createToken);
private:
	
	static const unsigned long _tokenSet_0_data_[];
	static const antlr::BitSet _tokenSet_0;
	static const unsigned long _tokenSet_1_data_[];
	static const antlr::BitSet _tokenSet_1;
	static const unsigned long _tokenSet_2_data_[];
	static const antlr::BitSet _tokenSet_2;
	static const unsigned long _tokenSet_3_data_[];
	static const antlr::BitSet _tokenSet_3;
};

ANTLR_END_NAMESPACE
#endif /*INC_TTCNLexer_hpp_*/