_t = __t2219;
_t = __t2220;
	public final void viewstate(AST _t) throws RecognitionException {				AST viewstate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t2214 = _t;		AST tmp1572_AST_in = (AST)_t;		match(_t,VIEW);		_t = _t.getFirstChild();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case STREAM:		{			stream_name(_t);			_t = _retTree;			break;		}		case EOF:		case PERIOD:		case IN_KW:		case Widget_ref:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		_loop2217:		do {			if (_t==null) _t=ASTNULL;			if ((_t.getType()==Widget_ref)) {				gwidget(_t);				_t = _retTree;			}			else {				break _loop2217;			}					} while (true);		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case IN_KW:		{			AST __t2219 = _t;			AST tmp1573_AST_in = (AST)_t;			match(_t,IN_KW);			_t = _t.getFirstChild();			AST tmp1574_AST_in = (AST)_t;			match(_t,WINDOW);			_t = _t.getNextSibling();			expression(_t);			_t = _retTree;			_t = __t2219;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		_t = __t2214;		_t = _t.getNextSibling();		_retTree = _t;	}