#ifndef DLGLexer_h
#define DLGLexer_h
/*
 * D L G L e x e r  C l a s s  D e f i n i t i o n
 *
 * Generated from: parser.dlg
 *
 * 1989-2001 by  Will Cohen, Terence Parr, and Hank Dietz
 * Purdue University Electrical Engineering
 * DLG Version 1.33MR33
 */


#include "DLexerBase.h"

class DLGLexer : public DLGLexerBase {
public:
public:
	static const int MAX_MODE;
	static const int DfaStates;
	static const int START;
	static const int PAR_STATE;
	static const int NORMAL;
	typedef unsigned short DfaState;

	DLGLexer(DLGInputStream *in,
		unsigned bufsize=2000)
		: DLGLexerBase(in, bufsize, 1)
	{
	;
	}
	void	  mode(int);
	ANTLRTokenType nextTokenType(void);
	void     advance(void);
protected:
	ANTLRTokenType act1();
	ANTLRTokenType act2();
	ANTLRTokenType act3();
	ANTLRTokenType act4();
	ANTLRTokenType act5();
	ANTLRTokenType act6();
	ANTLRTokenType act7();
	ANTLRTokenType act8();
	ANTLRTokenType act9();
	ANTLRTokenType act10();
	ANTLRTokenType act11();
	ANTLRTokenType act12();
	ANTLRTokenType act13();
	ANTLRTokenType act14();
	ANTLRTokenType act15();
	ANTLRTokenType act16();
	ANTLRTokenType act17();
	ANTLRTokenType act18();
	ANTLRTokenType act19();
	ANTLRTokenType act20();
	ANTLRTokenType act21();
	ANTLRTokenType act22();
	ANTLRTokenType act23();
	ANTLRTokenType act24();
	ANTLRTokenType act25();
	ANTLRTokenType act26();
	ANTLRTokenType act27();
	ANTLRTokenType act28();
	ANTLRTokenType act29();
	ANTLRTokenType act30();
	ANTLRTokenType act31();
	ANTLRTokenType act32();
	ANTLRTokenType act33();
	ANTLRTokenType act34();
	ANTLRTokenType act35();
	ANTLRTokenType act36();
	ANTLRTokenType act37();
	ANTLRTokenType act38();
	ANTLRTokenType act39();
	ANTLRTokenType act40();
	ANTLRTokenType act41();
	ANTLRTokenType act42();
	ANTLRTokenType act43();
	ANTLRTokenType act44();
	ANTLRTokenType act45();
	ANTLRTokenType act46();
	ANTLRTokenType act47();
	ANTLRTokenType act48();
	ANTLRTokenType act49();
	ANTLRTokenType act50();
	ANTLRTokenType act51();
	ANTLRTokenType act52();
	ANTLRTokenType act53();
	ANTLRTokenType act54();
	ANTLRTokenType act55();
	ANTLRTokenType act56();
	ANTLRTokenType act57();
	ANTLRTokenType act58();
	ANTLRTokenType act59();
	ANTLRTokenType act60();
	ANTLRTokenType act61();
	ANTLRTokenType act62();
	ANTLRTokenType act63();
	ANTLRTokenType act64();
	ANTLRTokenType act65();
	ANTLRTokenType act66();
	ANTLRTokenType act67();
	ANTLRTokenType act68();
	ANTLRTokenType act69();
	ANTLRTokenType act70();
	ANTLRTokenType act71();
	ANTLRTokenType act72();
	ANTLRTokenType act73();
	ANTLRTokenType act74();
	ANTLRTokenType act75();
	ANTLRTokenType act76();
	ANTLRTokenType act77();
	ANTLRTokenType act78();
	ANTLRTokenType act79();
	static DfaState st0[3];
	static DfaState st1[3];
	static DfaState st2[3];
	static DfaState st3[34];
	static DfaState st4[34];
	static DfaState st5[34];
	static DfaState st6[34];
	static DfaState st7[34];
	static DfaState st8[34];
	static DfaState st9[34];
	static DfaState st10[34];
	static DfaState st11[34];
	static DfaState st12[34];
	static DfaState st13[34];
	static DfaState st14[34];
	static DfaState st15[34];
	static DfaState st16[34];
	static DfaState st17[34];
	static DfaState st18[34];
	static DfaState st19[34];
	static DfaState st20[34];
	static DfaState st21[34];
	static DfaState st22[34];
	static DfaState st23[34];
	static DfaState st24[34];
	static DfaState st25[34];
	static DfaState st26[34];
	static DfaState st27[34];
	static DfaState st28[34];
	static DfaState st29[34];
	static DfaState st30[34];
	static DfaState st31[34];
	static DfaState st32[34];
	static DfaState st33[34];
	static DfaState st34[34];
	static DfaState st35[34];
	static DfaState st36[34];
	static DfaState st37[34];
	static DfaState st38[34];
	static DfaState st39[34];
	static DfaState st40[34];
	static DfaState st41[34];
	static DfaState st42[34];
	static DfaState st43[34];
	static DfaState st44[34];
	static DfaState st45[34];
	static DfaState st46[34];
	static DfaState st47[34];
	static DfaState st48[34];
	static DfaState st49[34];
	static DfaState st50[34];
	static DfaState st51[34];
	static DfaState st52[34];
	static DfaState st53[34];
	static DfaState st54[34];
	static DfaState st55[34];
	static DfaState st56[34];
	static DfaState st57[34];
	static DfaState st58[34];
	static DfaState st59[34];
	static DfaState st60[34];
	static DfaState st61[34];
	static DfaState st62[58];
	static DfaState st63[58];
	static DfaState st64[58];
	static DfaState st65[58];
	static DfaState st66[58];
	static DfaState st67[58];
	static DfaState st68[58];
	static DfaState st69[58];
	static DfaState st70[58];
	static DfaState st71[58];
	static DfaState st72[58];
	static DfaState st73[58];
	static DfaState st74[58];
	static DfaState st75[58];
	static DfaState st76[58];
	static DfaState st77[58];
	static DfaState st78[58];
	static DfaState st79[58];
	static DfaState st80[58];
	static DfaState st81[58];
	static DfaState st82[58];
	static DfaState st83[58];
	static DfaState st84[58];
	static DfaState st85[58];
	static DfaState st86[58];
	static DfaState st87[58];
	static DfaState st88[58];
	static DfaState st89[58];
	static DfaState st90[58];
	static DfaState st91[58];
	static DfaState st92[58];
	static DfaState st93[58];
	static DfaState st94[58];
	static DfaState st95[58];
	static DfaState st96[58];
	static DfaState st97[58];
	static DfaState st98[58];
	static DfaState st99[58];
	static DfaState st100[58];
	static DfaState st101[58];
	static DfaState st102[58];
	static DfaState st103[58];
	static DfaState st104[58];
	static DfaState st105[58];
	static DfaState st106[58];
	static DfaState st107[58];
	static DfaState st108[58];
	static DfaState st109[58];
	static DfaState st110[58];
	static DfaState st111[58];
	static DfaState st112[58];
	static DfaState st113[58];
	static DfaState st114[58];
	static DfaState st115[58];
	static DfaState st116[58];
	static DfaState st117[58];
	static DfaState st118[58];
	static DfaState st119[58];
	static DfaState st120[58];
	static DfaState st121[58];
	static DfaState st122[58];
	static DfaState st123[58];
	static DfaState st124[58];
	static DfaState st125[58];
	static DfaState st126[58];
	static DfaState st127[58];
	static DfaState st128[58];
	static DfaState st129[58];
	static DfaState st130[58];
	static DfaState st131[58];
	static DfaState st132[58];
	static DfaState st133[58];
	static DfaState st134[58];
	static DfaState st135[58];
	static DfaState st136[58];
	static DfaState st137[58];
	static DfaState st138[58];
	static DfaState st139[58];
	static DfaState st140[58];
	static DfaState st141[58];
	static DfaState st142[58];
	static DfaState st143[58];
	static DfaState st144[58];
	static DfaState st145[58];
	static DfaState st146[58];
	static DfaState st147[58];
	static DfaState st148[58];
	static DfaState st149[58];
	static DfaState st150[58];
	static DfaState st151[58];
	static DfaState st152[58];
	static DfaState st153[58];
	static DfaState st154[58];
	static DfaState st155[58];
	static DfaState st156[58];
	static DfaState st157[58];
	static DfaState st158[58];
	static DfaState st159[58];
	static DfaState st160[58];
	static DfaState st161[58];
	static DfaState st162[58];
	static DfaState st163[58];
	static DfaState st164[58];
	static DfaState st165[58];
	static DfaState st166[58];
	static DfaState st167[58];
	static DfaState st168[58];
	static DfaState st169[58];
	static DfaState st170[58];
	static DfaState st171[58];
	static DfaState st172[58];
	static DfaState st173[58];
	static DfaState st174[58];
	static DfaState st175[58];
	static DfaState st176[58];
	static DfaState st177[58];
	static DfaState st178[58];
	static DfaState st179[58];
	static DfaState st180[58];
	static DfaState st181[58];
	static DfaState st182[58];
	static DfaState st183[58];
	static DfaState st184[58];
	static DfaState st185[58];
	static DfaState st186[58];
	static DfaState st187[58];
	static DfaState st188[58];
	static DfaState st189[58];
	static DfaState st190[58];
	static DfaState st191[58];
	static DfaState st192[58];
	static DfaState st193[58];
	static DfaState st194[58];
	static DfaState st195[58];
	static DfaState st196[58];
	static DfaState st197[58];
	static DfaState st198[58];
	static DfaState st199[58];
	static DfaState st200[58];
	static DfaState st201[58];
	static DfaState st202[58];
	static DfaState st203[58];
	static DfaState st204[58];
	static DfaState st205[58];
	static DfaState st206[58];
	static DfaState st207[58];
	static DfaState st208[58];
	static DfaState st209[58];
	static DfaState st210[58];
	static DfaState st211[58];
	static DfaState st212[58];
	static DfaState st213[58];
	static DfaState st214[58];
	static DfaState st215[58];
	static DfaState st216[58];
	static DfaState st217[58];
	static DfaState st218[58];
	static DfaState st219[58];
	static DfaState st220[58];
	static DfaState st221[58];
	static DfaState st222[58];
	static DfaState st223[58];
	static DfaState st224[58];
	static DfaState st225[58];
	static DfaState st226[58];
	static DfaState st227[58];
	static DfaState st228[58];
	static DfaState st229[58];
	static DfaState st230[58];
	static DfaState *dfa[231];
	static DfaState dfa_base[];
	static unsigned char *b_class_no[];
	static DfaState accepts[232];
	static DLGChar alternatives[232];
	static ANTLRTokenType (DLGLexer::*actions[80])();
	static unsigned char shift0[257];
	static unsigned char shift1[257];
	static unsigned char shift2[257];
	int ZZSHIFT(int c) { return b_class_no[automaton][1+c]; }
//
// 133MR1 Deprecated feature to allow inclusion of user-defined code in DLG class header
//
#ifdef DLGLexerIncludeFile
#include DLGLexerIncludeFile
#endif
};
typedef ANTLRTokenType (DLGLexer::*PtrDLGLexerMemberFunc)();
#endif
