_t = __t1112; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case IN_KW: case NOERROR_KW: case WITH: case Editing_phrase: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case IN_KW: { AST __t1116 = _t; AST tmp1516_AST_in = (AST)_t;
_t = __t1113; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case IN_KW: case NOERROR_KW: case WITH: case Editing_phrase: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case IN_KW: { AST __t1117 = _t; AST tmp1517_AST_in = (AST)_t;
	public final void setstate(AST _t) throws RecognitionException {				AST setstate_AST_in = (_t == ASTNULL) ? null : (AST)_t;		AST head = null;				AST __t1105 = _t;		head = _t==ASTNULL ? null :(AST)_t;		match(_t,SET);		_t = _t.getFirstChild();		if ( inputState.guessing==0 ) {			action.frameInitializingStatement(head);		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case STREAM:		{			stream_name(_t);			_t = _retTree;			break;		}		case EOF:		case PERIOD:		case EXCEPT:		case GOON:		case IN_KW:		case NOERROR_KW:		case UNLESSHIDDEN:		case WITH:		case Editing_phrase:		case Form_item:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case UNLESSHIDDEN:		{			AST tmp1514_AST_in = (AST)_t;			match(_t,UNLESSHIDDEN);			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case EXCEPT:		case GOON:		case IN_KW:		case NOERROR_KW:		case WITH:		case Editing_phrase:		case Form_item:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		_loop1109:		do {			if (_t==null) _t=ASTNULL;			if ((_t.getType()==Form_item)) {				form_item(_t,CQ.UPDATING);				_t = _retTree;			}			else {				break _loop1109;			}					} while (true);		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case GOON:		{			goonphrase(_t);			_t = _retTree;			break;		}		case EOF:		case PERIOD:		case EXCEPT:		case IN_KW:		case NOERROR_KW:		case WITH:		case Editing_phrase:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case EXCEPT:		{			AST __t1112 = _t;			AST tmp1515_AST_in = (AST)_t;			match(_t,EXCEPT);			_t = _t.getFirstChild();			{			_loop1114:			do {				if (_t==null) _t=ASTNULL;				if ((_t.getType()==Field_ref)) {					fld1(_t,CQ.SYMBOL);					_t = _retTree;				}				else {					break _loop1114;				}							} while (true);			}			_t = __t1112;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case IN_KW:		case NOERROR_KW:		case WITH:		case Editing_phrase:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case IN_KW:		{			AST __t1116 = _t;			AST tmp1516_AST_in = (AST)_t;			match(_t,IN_KW);			_t = _t.getFirstChild();			AST tmp1517_AST_in = (AST)_t;			match(_t,WINDOW);			_t = _t.getNextSibling();			expression(_t);			_t = _retTree;			_t = __t1116;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case NOERROR_KW:		case WITH:		case Editing_phrase:		{			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:		case Editing_phrase:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		if ( inputState.guessing==0 ) {			action.frameStatementEnd();		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case Editing_phrase:		{			editingphrase(_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 tmp1518_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 = __t1105;		_t = _t.getNextSibling();		_retTree = _t;	}