_t = __t541;
_t = __t545;
	public final void closestoredprocedurestate(AST _t) throws RecognitionException {				AST closestoredprocedurestate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t537 = _t;		AST tmp338_AST_in = (AST)_t;		match(_t,CLOSE);		_t = _t.getFirstChild();		AST tmp339_AST_in = (AST)_t;		match(_t,STOREDPROCEDURE);		_t = _t.getNextSibling();		AST tmp340_AST_in = (AST)_t;		match(_t,ID);		_t = _t.getNextSibling();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case EQUAL:		{			AST __t539 = _t;			AST tmp341_AST_in = (AST)_t;			match(_t,EQUAL);			_t = _t.getFirstChild();			field(_t);			_t = _retTree;			AST tmp342_AST_in = (AST)_t;			match(_t,PROCSTATUS);			_t = _t.getNextSibling();			_t = __t539;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case WHERE:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case WHERE:		{			AST __t541 = _t;			AST tmp343_AST_in = (AST)_t;			match(_t,WHERE);			_t = _t.getFirstChild();			AST tmp344_AST_in = (AST)_t;			match(_t,PROCHANDLE);			_t = _t.getNextSibling();			AST tmp345_AST_in = (AST)_t;			match(_t,EQ);			_t = _t.getNextSibling();			field(_t);			_t = _retTree;			_t = __t541;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		_t = __t537;		_t = _t.getNextSibling();		_retTree = _t;	}