_t = __t2195;
_t = __t2198;
	public final void upstate(AST _t) throws RecognitionException {				AST upstate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t2195 = _t;		AST tmp1564_AST_in = (AST)_t;		match(_t,UP);		_t = _t.getFirstChild();		{		if (_t==null) _t=ASTNULL;		if ((_t.getType()==STREAM)) {			stream_name(_t);			_t = _retTree;		}		else if ((_tokenSet_28.member(_t.getType()))) {		}		else {			throw new NoViableAltException(_t);		}				}		{		if (_t==null) _t=ASTNULL;		if ((_tokenSet_3.member(_t.getType()))) {			expression(_t);			_t = _retTree;		}		else if ((_tokenSet_29.member(_t.getType()))) {		}		else {			throw new NoViableAltException(_t);		}				}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case STREAM:		{			stream_name(_t);			_t = _retTree;			break;		}		case EOF:		case PERIOD:		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:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		_t = __t2195;		_t = _t.getNextSibling();		_retTree = _t;	}