_t = __t1500;
_t = __t1504;
	public final void insertstate(AST _t) throws RecognitionException {				AST insertstate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t1500 = _t;		AST tmp935_AST_in = (AST)_t;		match(_t,INSERT);		_t = _t.getFirstChild();		AST tmp936_AST_in = (AST)_t;		match(_t,RECORD_NAME);		_t = _t.getNextSibling();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case EXCEPT:		{			AST __t1502 = _t;			AST tmp937_AST_in = (AST)_t;			match(_t,EXCEPT);			_t = _t.getFirstChild();			{			_loop1504:			do {				if (_t==null) _t=ASTNULL;				if ((_t.getType()==Field_ref)) {					field(_t);					_t = _retTree;				}				else {					break _loop1504;				}							} while (true);			}			_t = __t1502;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case NOERROR_KW:		case USING:		case WITH:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case USING:		{			AST __t1506 = _t;			AST tmp938_AST_in = (AST)_t;			match(_t,USING);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case ROWID:			{				AST tmp939_AST_in = (AST)_t;				match(_t,ROWID);				_t = _t.getNextSibling();				break;			}			case RECID:			{				AST tmp940_AST_in = (AST)_t;				match(_t,RECID);				_t = _t.getNextSibling();				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			expression(_t);			_t = _retTree;			_t = __t1506;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case NOERROR_KW:		case WITH:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case WITH:		{			framephrase(_t);			_t = _retTree;			break;		}		case EOF:		case PERIOD:		case NOERROR_KW:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case NOERROR_KW:		{			AST tmp941_AST_in = (AST)_t;			match(_t,NOERROR_KW);			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		_t = __t1500;		_t = _t.getNextSibling();		_retTree = _t;	}