_t = __t1085;
_t = __t1089;
	public final void definetemptablestate(AST _t) throws RecognitionException {				AST definetemptablestate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t1085 = _t;		AST tmp735_AST_in = (AST)_t;		match(_t,DEFINE);		_t = _t.getFirstChild();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case NEW:		case SHARED:		{			def_shared(_t);			_t = _retTree;			break;		}		case PRIVATE:		case PUBLIC:		case TEMPTABLE:		case PROTECTED:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case PRIVATE:		case PUBLIC:		case PROTECTED:		{			def_visib(_t);			_t = _retTree;			break;		}		case TEMPTABLE:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		AST tmp736_AST_in = (AST)_t;		match(_t,TEMPTABLE);		_t = _t.getNextSibling();		AST tmp737_AST_in = (AST)_t;		match(_t,ID);		_t = _t.getNextSibling();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case UNDO:		{			AST tmp738_AST_in = (AST)_t;			match(_t,UNDO);			_t = _t.getNextSibling();			break;		}		case NOUNDO:		{			AST tmp739_AST_in = (AST)_t;			match(_t,NOUNDO);			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case COLUMNLABEL:		case FIELD:		case INDEX:		case LABEL:		case LIKE:		case RCODEINFORMATION:		case BEFORETABLE:		case NAMESPACEPREFIX:		case NAMESPACEURI:		case REFERENCEONLY:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case NAMESPACEURI:		{			namespace_uri(_t);			_t = _retTree;			break;		}		case EOF:		case PERIOD:		case COLUMNLABEL:		case FIELD:		case INDEX:		case LABEL:		case LIKE:		case RCODEINFORMATION:		case BEFORETABLE:		case NAMESPACEPREFIX:		case REFERENCEONLY:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case NAMESPACEPREFIX:		{			namespace_prefix(_t);			_t = _retTree;			break;		}		case EOF:		case PERIOD:		case COLUMNLABEL:		case FIELD:		case INDEX:		case LABEL:		case LIKE:		case RCODEINFORMATION:		case BEFORETABLE:		case REFERENCEONLY:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case REFERENCEONLY:		{			AST tmp740_AST_in = (AST)_t;			match(_t,REFERENCEONLY);			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case COLUMNLABEL:		case FIELD:		case INDEX:		case LABEL:		case LIKE:		case RCODEINFORMATION:		case BEFORETABLE:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case LIKE:		{			def_table_like(_t);			_t = _retTree;			break;		}		case EOF:		case PERIOD:		case COLUMNLABEL:		case FIELD:		case INDEX:		case LABEL:		case RCODEINFORMATION:		case BEFORETABLE:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case COLUMNLABEL:		case LABEL:		{			label_constant(_t);			_t = _retTree;			break;		}		case EOF:		case PERIOD:		case FIELD:		case INDEX:		case RCODEINFORMATION:		case BEFORETABLE:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case BEFORETABLE:		{			AST __t1095 = _t;			AST tmp741_AST_in = (AST)_t;			match(_t,BEFORETABLE);			_t = _t.getFirstChild();			AST tmp742_AST_in = (AST)_t;			match(_t,ID);			_t = _t.getNextSibling();			_t = __t1095;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case FIELD:		case INDEX:		case RCODEINFORMATION:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case RCODEINFORMATION:		{			AST tmp743_AST_in = (AST)_t;			match(_t,RCODEINFORMATION);			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case FIELD:		case INDEX:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		_loop1098:		do {			if (_t==null) _t=ASTNULL;			if ((_t.getType()==FIELD)) {				def_table_field(_t);				_t = _retTree;			}			else {				break _loop1098;			}					} while (true);		}		{		_loop1109:		do {			if (_t==null) _t=ASTNULL;			if ((_t.getType()==INDEX)) {				AST __t1100 = _t;				AST tmp744_AST_in = (AST)_t;				match(_t,INDEX);				_t = _t.getFirstChild();				AST tmp745_AST_in = (AST)_t;				match(_t,ID);				_t = _t.getNextSibling();				{				_loop1104:				do {					if (_t==null) _t=ASTNULL;					if ((_tokenSet_12.member(_t.getType()))) {						{						if (_t==null) _t=ASTNULL;						switch ( _t.getType()) {						case AS:						{							AST tmp746_AST_in = (AST)_t;							match(_t,AS);							_t = _t.getNextSibling();							break;						}						case IS:						{							AST tmp747_AST_in = (AST)_t;							match(_t,IS);							_t = _t.getNextSibling();							break;						}						case PRIMARY:						case UNIQUE:						case WORDINDEX:						{							break;						}						default:						{							throw new NoViableAltException(_t);						}						}						}						{						if (_t==null) _t=ASTNULL;						switch ( _t.getType()) {						case UNIQUE:						{							AST tmp748_AST_in = (AST)_t;							match(_t,UNIQUE);							_t = _t.getNextSibling();							break;						}						case PRIMARY:						{							AST tmp749_AST_in = (AST)_t;							match(_t,PRIMARY);							_t = _t.getNextSibling();							break;						}						case WORDINDEX:						{							AST tmp750_AST_in = (AST)_t;							match(_t,WORDINDEX);							_t = _t.getNextSibling();							break;						}						default:						{							throw new NoViableAltException(_t);						}						}						}					}					else {						break _loop1104;					}									} while (true);				}				{				int _cnt1108=0;				_loop1108:				do {					if (_t==null) _t=ASTNULL;					if ((_t.getType()==ID)) {						AST tmp751_AST_in = (AST)_t;						match(_t,ID);						_t = _t.getNextSibling();						{						_loop1107:						do {							if (_t==null) _t=ASTNULL;							switch ( _t.getType()) {							case ASCENDING:							{								AST tmp752_AST_in = (AST)_t;								match(_t,ASCENDING);								_t = _t.getNextSibling();								break;							}							case DESCENDING:							{								AST tmp753_AST_in = (AST)_t;								match(_t,DESCENDING);								_t = _t.getNextSibling();								break;							}							case CASESENSITIVE:							{								AST tmp754_AST_in = (AST)_t;								match(_t,CASESENSITIVE);								_t = _t.getNextSibling();								break;							}							default:							{								break _loop1107;							}							}						} while (true);						}					}					else {						if ( _cnt1108>=1 ) { break _loop1108; } else {throw new NoViableAltException(_t);}					}										_cnt1108++;				} while (true);				}				_t = __t1100;				_t = _t.getNextSibling();			}			else {				break _loop1109;			}					} while (true);		}		state_end(_t);		_t = _retTree;		_t = __t1085;		_t = _t.getNextSibling();		_retTree = _t;	}