00001 #ifndef INC_vrml97lexer_hpp_
00002 #define INC_vrml97lexer_hpp_
00003
00004 #include <antlr/config.hpp>
00005
00006 #include <antlr/CommonToken.hpp>
00007 #include <antlr/InputBuffer.hpp>
00008 #include <antlr/BitSet.hpp>
00009 #include "vrml97parserTokenTypes.hpp"
00010 #include <antlr/CharScanner.hpp>
00011 #line 2 "vrml97.g"
00012
00013 #include <xdkwrl/fieldtypes/sfbool.h>
00014 #include <xdkwrl/fieldtypes/sfcolor.h>
00015 #include <xdkwrl/fieldtypes/sffloat.h>
00016 #include <xdkwrl/fieldtypes/sfimage.h>
00017 #include <xdkwrl/fieldtypes/sfint32.h>
00018 #include <xdkwrl/fieldtypes/sfnode.h>
00019 #include <xdkwrl/fieldtypes/sfrotation.h>
00020 #include <xdkwrl/fieldtypes/sfstring.h>
00021 #include <xdkwrl/fieldtypes/sftime.h>
00022 #include <xdkwrl/fieldtypes/sfvec2f.h>
00023 #include <xdkwrl/fieldtypes/sfvec3f.h>
00024 #include <xdkwrl/fieldtypes/mfcolor.h>
00025 #include <xdkwrl/fieldtypes/mffloat.h>
00026 #include <xdkwrl/fieldtypes/mfint32.h>
00027 #include <xdkwrl/fieldtypes/mfnode.h>
00028 #include <xdkwrl/fieldtypes/mfrotation.h>
00029 #include <xdkwrl/fieldtypes/mfstring.h>
00030 #include <xdkwrl/fieldtypes/mftime.h>
00031 #include <xdkwrl/fieldtypes/mfvec2f.h>
00032 #include <xdkwrl/fieldtypes/mfvec3f.h>
00033 #include <xdkwrl/proto.h>
00034 #include <xdkwrl/script.h>
00035 #include <iostream>
00036 #include <string>
00037 #include <stack>
00038 #include <map>
00039
00040 #line 41 "vrml97lexer.hpp"
00041 class CUSTOM_API vrml97lexer : public ANTLR_USE_NAMESPACE(antlr)CharScanner, public vrml97parserTokenTypes
00042 {
00043 #line 1 "vrml97.g"
00044 #line 45 "vrml97lexer.hpp"
00045 private:
00046 void initLiterals();
00047 public:
00048 bool getCaseSensitiveLiterals() const
00049 {
00050 return true;
00051 }
00052 public:
00053 vrml97lexer(ANTLR_USE_NAMESPACE(std)istream& in);
00054 vrml97lexer(ANTLR_USE_NAMESPACE(antlr)InputBuffer& ib);
00055 vrml97lexer(const ANTLR_USE_NAMESPACE(antlr)LexerSharedInputState& state);
00056 ANTLR_USE_NAMESPACE(antlr)RefToken nextToken();
00057 public: void mLBRACKET(bool _createToken);
00058 public: void mRBRACKET(bool _createToken);
00059 public: void mLBRACE(bool _createToken);
00060 public: void mRBRACE(bool _createToken);
00061 protected: void mDOT(bool _createToken);
00062 protected: void mROOTFLOAT(bool _createToken);
00063 protected: void mNOROOTFLOAT(bool _createToken);
00064 protected: void mFLOAT(bool _createToken);
00065 protected: void mABS_INT(bool _createToken);
00066 protected: void mINT(bool _createToken);
00067 public: void mFLOAT_OR_INT_OR_DOT(bool _createToken);
00068 protected: void mESC(bool _createToken);
00069 protected: void mSTRING_INTERNAL(bool _createToken);
00070 public: void mSTRING(bool _createToken);
00071 protected: void mIdFirstChar(bool _createToken);
00072 protected: void mIdRestChar(bool _createToken);
00073 public: void mId(bool _createToken);
00074 public: void mWS(bool _createToken);
00075 protected: void mCOMMENT(bool _createToken);
00076 protected: void mHEADER(bool _createToken);
00077 public: void mCOMMENT_OR_HEADER(bool _createToken);
00078 private:
00079
00080 static const unsigned long _tokenSet_0_data_[];
00081 static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_0;
00082 static const unsigned long _tokenSet_1_data_[];
00083 static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_1;
00084 static const unsigned long _tokenSet_2_data_[];
00085 static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_2;
00086 static const unsigned long _tokenSet_3_data_[];
00087 static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_3;
00088 static const unsigned long _tokenSet_4_data_[];
00089 static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_4;
00090 static const unsigned long _tokenSet_5_data_[];
00091 static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_5;
00092 static const unsigned long _tokenSet_6_data_[];
00093 static const ANTLR_USE_NAMESPACE(antlr)BitSet _tokenSet_6;
00094 };
00095
00096 #endif