AST __t2416 = _t; AST tmp1963_AST_in = (AST)_t;
AST __t2422 = _t; AST tmp1975_AST_in = (AST)_t;
	public final void declarecursorstate(AST _t) throws RecognitionException {				AST declarecursorstate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t2412 = _t;		AST tmp1958_AST_in = (AST)_t;		match(_t,DECLARE);		_t = _t.getFirstChild();		AST tmp1959_AST_in = (AST)_t;		match(_t,ID);		_t = _t.getNextSibling();		AST tmp1960_AST_in = (AST)_t;		match(_t,CURSOR);		_t = _t.getNextSibling();		AST tmp1961_AST_in = (AST)_t;		match(_t,FOR);		_t = _t.getNextSibling();		selectstatea(_t);		_t = _retTree;		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case FOR:		{			AST __t2414 = _t;			AST tmp1962_AST_in = (AST)_t;			match(_t,FOR);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case READ:			{				AST __t2416 = _t;				AST tmp1963_AST_in = (AST)_t;				match(_t,READ);				_t = _t.getFirstChild();				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case ONLY:				{					AST tmp1964_AST_in = (AST)_t;					match(_t,ONLY);					_t = _t.getNextSibling();					break;				}				case 3:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				_t = __t2416;				_t = _t.getNextSibling();				break;			}			case UPDATE:			{				AST tmp1965_AST_in = (AST)_t;				match(_t,UPDATE);				_t = _t.getNextSibling();				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			_t = __t2414;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		_t = __t2412;		_t = _t.getNextSibling();		_retTree = _t;	}