AST tmp1190_AST_in = (AST)_t;
AST tmp1200_AST_in = (AST)_t;
	public final void definetemptablestate(AST _t) throws RecognitionException {				AST definetemptablestate_AST_in = (_t == ASTNULL) ? null : (AST)_t;		AST def = null;		AST id = null;		AST bt = null;				AST __t591 = _t;		def = _t==ASTNULL ? null :(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 tmp1183_AST_in = (AST)_t;		match(_t,TEMPTABLE);		_t = _t.getNextSibling();		id = (AST)_t;		match(_t,ID);		_t = _t.getNextSibling();		if ( inputState.guessing==0 ) {				action.defineTemptable(def, id);		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case UNDO:		{			AST tmp1184_AST_in = (AST)_t;			match(_t,UNDO);			_t = _t.getNextSibling();			break;		}		case NOUNDO:		{			AST tmp1185_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 tmp1186_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 __t601 = _t;			AST tmp1187_AST_in = (AST)_t;			match(_t,BEFORETABLE);			_t = _t.getFirstChild();			bt = (AST)_t;			match(_t,ID);			_t = _t.getNextSibling();			if ( inputState.guessing==0 ) {					action.defineBuffer(bt, bt, id, false);			}			_t = __t601;			_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 tmp1188_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);		}		}		}		{		_loop604:		do {			if (_t==null) _t=ASTNULL;			if ((_t.getType()==FIELD)) {				def_table_field(_t);				_t = _retTree;			}			else {				break _loop604;			}					} while (true);		}		{		_loop615:		do {			if (_t==null) _t=ASTNULL;			if ((_t.getType()==INDEX)) {				AST __t606 = _t;				AST tmp1189_AST_in = (AST)_t;				match(_t,INDEX);				_t = _t.getFirstChild();				AST tmp1190_AST_in = (AST)_t;				match(_t,ID);				_t = _t.getNextSibling();				{				_loop610:				do {					if (_t==null) _t=ASTNULL;					if ((_tokenSet_19.member(_t.getType()))) {						{						if (_t==null) _t=ASTNULL;						switch ( _t.getType()) {						case AS:						{							AST tmp1191_AST_in = (AST)_t;							match(_t,AS);							_t = _t.getNextSibling();							break;						}						case IS:						{							AST tmp1192_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 tmp1193_AST_in = (AST)_t;							match(_t,UNIQUE);							_t = _t.getNextSibling();							break;						}						case PRIMARY:						{							AST tmp1194_AST_in = (AST)_t;							match(_t,PRIMARY);							_t = _t.getNextSibling();							break;						}						case WORDINDEX:						{							AST tmp1195_AST_in = (AST)_t;							match(_t,WORDINDEX);							_t = _t.getNextSibling();							break;						}						default:						{							throw new NoViableAltException(_t);						}						}						}					}					else {						break _loop610;					}									} while (true);				}				{				int _cnt614=0;				_loop614:				do {					if (_t==null) _t=ASTNULL;					if ((_t.getType()==ID)) {						AST tmp1196_AST_in = (AST)_t;						match(_t,ID);						_t = _t.getNextSibling();						{						_loop613:						do {							if (_t==null) _t=ASTNULL;							switch ( _t.getType()) {							case ASCENDING:							{								AST tmp1197_AST_in = (AST)_t;								match(_t,ASCENDING);								_t = _t.getNextSibling();								break;							}							case DESCENDING:							{								AST tmp1198_AST_in = (AST)_t;								match(_t,DESCENDING);								_t = _t.getNextSibling();								break;							}							case CASESENSITIVE:							{								AST tmp1199_AST_in = (AST)_t;								match(_t,CASESENSITIVE);								_t = _t.getNextSibling();								break;							}							default:							{								break _loop613;							}							}						} while (true);						}					}					else {						if ( _cnt614>=1 ) { break _loop614; } else {throw new NoViableAltException(_t);}					}										_cnt614++;				} while (true);				}				_t = __t606;				_t = _t.getNextSibling();			}			else {				break _loop615;			}					} while (true);		}		state_end(_t);		_t = _retTree;		_t = __t591;		_t = _t.getNextSibling();		_retTree = _t;	}