AST tmp2234_AST_in = (AST)_t;
AST tmp2236_AST_in = (AST)_t;
	public final void waitforstate(AST _t) throws RecognitionException {				AST waitforstate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t2387 = _t;		AST tmp2228_AST_in = (AST)_t;		match(_t,WAITFOR);		_t = _t.getFirstChild();		eventlist(_t);		_t = _retTree;		AST tmp2229_AST_in = (AST)_t;		match(_t,OF);		_t = _t.getNextSibling();		widgetlist(_t);		_t = _retTree;		{		_loop2390:		do {			if (_t==null) _t=ASTNULL;			if ((_t.getType()==OR)) {				AST __t2389 = _t;				AST tmp2230_AST_in = (AST)_t;				match(_t,OR);				_t = _t.getFirstChild();				eventlist(_t);				_t = _retTree;				AST tmp2231_AST_in = (AST)_t;				match(_t,OF);				_t = _t.getNextSibling();				widgetlist(_t);				_t = _retTree;				_t = __t2389;				_t = _t.getNextSibling();			}			else {				break _loop2390;			}					} while (true);		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case FOCUS:		{			AST __t2392 = _t;			AST tmp2232_AST_in = (AST)_t;			match(_t,FOCUS);			_t = _t.getFirstChild();			gwidget(_t);			_t = _retTree;			_t = __t2392;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case EXCLUSIVEWEBUSER:		case PAUSE:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case PAUSE:		{			AST __t2394 = _t;			AST tmp2233_AST_in = (AST)_t;			match(_t,PAUSE);			_t = _t.getFirstChild();			expression(_t);			_t = _retTree;			_t = __t2394;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case EXCLUSIVEWEBUSER:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case EXCLUSIVEWEBUSER:		{			AST tmp2234_AST_in = (AST)_t;			match(_t,EXCLUSIVEWEBUSER);			_t = _t.getNextSibling();			{			if (_t==null) _t=ASTNULL;			if ((_tokenSet_3.member(_t.getType()))) {				expression(_t);				_t = _retTree;			}			else if ((_t.getType()==EOF||_t.getType()==PERIOD)) {			}			else {				throw new NoViableAltException(_t);			}						}			break;		}		case EOF:		case PERIOD:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		_t = __t2387;		_t = _t.getNextSibling();		_retTree = _t;	}