AST tmp1366_AST_in = (AST)_t;
AST tmp1370_AST_in = (AST)_t;
	public final void messagestate(AST _t) throws RecognitionException {				AST messagestate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t933 = _t;		AST tmp1360_AST_in = (AST)_t;		match(_t,MESSAGE);		_t = _t.getFirstChild();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case COLOR:		{			AST __t935 = _t;			AST tmp1361_AST_in = (AST)_t;			match(_t,COLOR);			_t = _t.getFirstChild();			anyorvalue(_t);			_t = _retTree;			_t = __t935;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		case IN_KW:		case SET:		case UPDATE:		case VIEWAS:		case Form_item:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		_loop939:		do {			if (_t==null) _t=ASTNULL;			if ((_t.getType()==Form_item)) {				AST __t937 = _t;				AST tmp1362_AST_in = (AST)_t;				match(_t,Form_item);				_t = _t.getFirstChild();				{				if (_t==null) _t=ASTNULL;				if ((_t.getType()==SKIP)) {					skipphrase(_t);					_t = _retTree;				}				else if ((_tokenSet_3.member(_t.getType()))) {					expression(_t);					_t = _retTree;				}				else {					throw new NoViableAltException(_t);				}								}				_t = __t937;				_t = _t.getNextSibling();			}			else {				break _loop939;			}					} while (true);		}		{		_loop951:		do {			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case VIEWAS:			{				AST __t941 = _t;				AST tmp1363_AST_in = (AST)_t;				match(_t,VIEWAS);				_t = _t.getFirstChild();				AST tmp1364_AST_in = (AST)_t;				match(_t,ALERTBOX);				_t = _t.getNextSibling();				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case MESSAGE:				{					AST tmp1365_AST_in = (AST)_t;					match(_t,MESSAGE);					_t = _t.getNextSibling();					break;				}				case QUESTION:				{					AST tmp1366_AST_in = (AST)_t;					match(_t,QUESTION);					_t = _t.getNextSibling();					break;				}				case INFORMATION:				{					AST tmp1367_AST_in = (AST)_t;					match(_t,INFORMATION);					_t = _t.getNextSibling();					break;				}				case ERROR:				{					AST tmp1368_AST_in = (AST)_t;					match(_t,ERROR);					_t = _t.getNextSibling();					break;				}				case WARNING:				{					AST tmp1369_AST_in = (AST)_t;					match(_t,WARNING);					_t = _t.getNextSibling();					break;				}				case 3:				case BUTTONS:				case TITLE:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case BUTTONS:				{					AST tmp1370_AST_in = (AST)_t;					match(_t,BUTTONS);					_t = _t.getNextSibling();					{					if (_t==null) _t=ASTNULL;					switch ( _t.getType()) {					case YESNO:					{						AST tmp1371_AST_in = (AST)_t;						match(_t,YESNO);						_t = _t.getNextSibling();						break;					}					case YESNOCANCEL:					{						AST tmp1372_AST_in = (AST)_t;						match(_t,YESNOCANCEL);						_t = _t.getNextSibling();						break;					}					case OK:					{						AST tmp1373_AST_in = (AST)_t;						match(_t,OK);						_t = _t.getNextSibling();						break;					}					case OKCANCEL:					{						AST tmp1374_AST_in = (AST)_t;						match(_t,OKCANCEL);						_t = _t.getNextSibling();						break;					}					case RETRYCANCEL:					{						AST tmp1375_AST_in = (AST)_t;						match(_t,RETRYCANCEL);						_t = _t.getNextSibling();						break;					}					default:					{						throw new NoViableAltException(_t);					}					}					}					break;				}				case 3:				case TITLE:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case TITLE:				{					AST __t946 = _t;					AST tmp1376_AST_in = (AST)_t;					match(_t,TITLE);					_t = _t.getFirstChild();					expression(_t);					_t = _retTree;					_t = __t946;					_t = _t.getNextSibling();					break;				}				case 3:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				_t = __t941;				_t = _t.getNextSibling();				break;			}			case SET:			{				AST __t947 = _t;				AST tmp1377_AST_in = (AST)_t;				match(_t,SET);				_t = _t.getFirstChild();				fld(_t,CQ.UPDATING);				_t = _retTree;				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case Format_phrase:				{					formatphrase(_t);					_t = _retTree;					break;				}				case 3:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				_t = __t947;				_t = _t.getNextSibling();				break;			}			case UPDATE:			{				AST __t949 = _t;				AST tmp1378_AST_in = (AST)_t;				match(_t,UPDATE);				_t = _t.getFirstChild();				fld(_t,CQ.REFUP);				_t = _retTree;				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case Format_phrase:				{					formatphrase(_t);					_t = _retTree;					break;				}				case 3:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				_t = __t949;				_t = _t.getNextSibling();				break;			}			default:			{				break _loop951;			}			}		} while (true);		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case IN_KW:		{			AST __t953 = _t;			AST tmp1379_AST_in = (AST)_t;			match(_t,IN_KW);			_t = _t.getFirstChild();			AST tmp1380_AST_in = (AST)_t;			match(_t,WINDOW);			_t = _t.getNextSibling();			expression(_t);			_t = _retTree;			_t = __t953;			_t = _t.getNextSibling();			break;		}		case EOF:		case PERIOD:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		_t = __t933;		_t = _t.getNextSibling();		_retTree = _t;	}