AST __t1078 = _t; AST tmp922_AST_in = (AST)_t;
AST __t1082 = _t; AST tmp921_AST_in = (AST)_t;
	public final void definebuttonstate(AST _t) throws RecognitionException {				AST definebuttonstate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t1063 = _t;		AST tmp910_AST_in = (AST)_t;		match(_t,DEFINE);		_t = _t.getFirstChild();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case NEW:		case SHARED:		{			def_shared(_t);			_t = _retTree;			break;		}		case BUTTON:		case PRIVATE:		case PUBLIC:		case PROTECTED:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case PRIVATE:		case PUBLIC:		case PROTECTED:		{			def_visib(_t);			_t = _retTree;			break;		}		case BUTTON:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		AST tmp911_AST_in = (AST)_t;		match(_t,BUTTON);		_t = _t.getNextSibling();		AST tmp912_AST_in = (AST)_t;		match(_t,ID);		_t = _t.getNextSibling();		{		_loop1087:		do {			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case AUTOGO:			{				AST tmp913_AST_in = (AST)_t;				match(_t,AUTOGO);				_t = _t.getNextSibling();				break;			}			case AUTOENDKEY:			{				AST tmp914_AST_in = (AST)_t;				match(_t,AUTOENDKEY);				_t = _t.getNextSibling();				break;			}			case DEFAULT:			{				AST tmp915_AST_in = (AST)_t;				match(_t,DEFAULT);				_t = _t.getNextSibling();				break;			}			case BGCOLOR:			case DCOLOR:			case FGCOLOR:			case PFCOLOR:			{				color_expr(_t);				_t = _retTree;				break;			}			case CONTEXTHELPID:			{				AST __t1067 = _t;				AST tmp916_AST_in = (AST)_t;				match(_t,CONTEXTHELPID);				_t = _t.getFirstChild();				expression(_t);				_t = _retTree;				_t = __t1067;				_t = _t.getNextSibling();				break;			}			case DROPTARGET:			{				AST tmp917_AST_in = (AST)_t;				match(_t,DROPTARGET);				_t = _t.getNextSibling();				break;			}			case FONT:			{				AST __t1068 = _t;				AST tmp918_AST_in = (AST)_t;				match(_t,FONT);				_t = _t.getFirstChild();				expression(_t);				_t = _retTree;				_t = __t1068;				_t = _t.getNextSibling();				break;			}			case IMAGEDOWN:			{				AST __t1069 = _t;				AST tmp919_AST_in = (AST)_t;				match(_t,IMAGEDOWN);				_t = _t.getFirstChild();				{				int _cnt1071=0;				_loop1071:				do {					if (_t==null) _t=ASTNULL;					if ((_tokenSet_14.member(_t.getType()))) {						imagephrase_opt(_t);						_t = _retTree;					}					else {						if ( _cnt1071>=1 ) { break _loop1071; } else {throw new NoViableAltException(_t);}					}										_cnt1071++;				} while (true);				}				_t = __t1069;				_t = _t.getNextSibling();				break;			}			case IMAGE:			{				AST __t1072 = _t;				AST tmp920_AST_in = (AST)_t;				match(_t,IMAGE);				_t = _t.getFirstChild();				{				int _cnt1074=0;				_loop1074:				do {					if (_t==null) _t=ASTNULL;					if ((_tokenSet_14.member(_t.getType()))) {						imagephrase_opt(_t);						_t = _retTree;					}					else {						if ( _cnt1074>=1 ) { break _loop1074; } else {throw new NoViableAltException(_t);}					}										_cnt1074++;				} while (true);				}				_t = __t1072;				_t = _t.getNextSibling();				break;			}			case IMAGEUP:			{				AST __t1075 = _t;				AST tmp921_AST_in = (AST)_t;				match(_t,IMAGEUP);				_t = _t.getFirstChild();				{				int _cnt1077=0;				_loop1077:				do {					if (_t==null) _t=ASTNULL;					if ((_tokenSet_14.member(_t.getType()))) {						imagephrase_opt(_t);						_t = _retTree;					}					else {						if ( _cnt1077>=1 ) { break _loop1077; } else {throw new NoViableAltException(_t);}					}										_cnt1077++;				} while (true);				}				_t = __t1075;				_t = _t.getNextSibling();				break;			}			case IMAGEINSENSITIVE:			{				AST __t1078 = _t;				AST tmp922_AST_in = (AST)_t;				match(_t,IMAGEINSENSITIVE);				_t = _t.getFirstChild();				{				int _cnt1080=0;				_loop1080:				do {					if (_t==null) _t=ASTNULL;					if ((_tokenSet_14.member(_t.getType()))) {						imagephrase_opt(_t);						_t = _retTree;					}					else {						if ( _cnt1080>=1 ) { break _loop1080; } else {throw new NoViableAltException(_t);}					}										_cnt1080++;				} while (true);				}				_t = __t1078;				_t = _t.getNextSibling();				break;			}			case MOUSEPOINTER:			{				AST __t1081 = _t;				AST tmp923_AST_in = (AST)_t;				match(_t,MOUSEPOINTER);				_t = _t.getFirstChild();				expression(_t);				_t = _retTree;				_t = __t1081;				_t = _t.getNextSibling();				break;			}			case COLUMNLABEL:			case LABEL:			{				label_constant(_t);				_t = _retTree;				break;			}			case LIKE:			{				AST __t1082 = _t;				AST tmp924_AST_in = (AST)_t;				match(_t,LIKE);				_t = _t.getFirstChild();				field(_t);				_t = _retTree;				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case VALIDATE:				{					AST tmp925_AST_in = (AST)_t;					match(_t,VALIDATE);					_t = _t.getNextSibling();					break;				}				case 3:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				_t = __t1082;				_t = _t.getNextSibling();				break;			}			case FLATBUTTON:			{				AST tmp926_AST_in = (AST)_t;				match(_t,FLATBUTTON);				_t = _t.getNextSibling();				break;			}			case NOFOCUS:			{				AST __t1084 = _t;				AST tmp927_AST_in = (AST)_t;				match(_t,NOFOCUS);				_t = _t.getFirstChild();				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case FLATBUTTON:				{					AST tmp928_AST_in = (AST)_t;					match(_t,FLATBUTTON);					_t = _t.getNextSibling();					break;				}				case 3:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				_t = __t1084;				_t = _t.getNextSibling();				break;			}			case NOCONVERT3DCOLORS:			{				AST tmp929_AST_in = (AST)_t;				match(_t,NOCONVERT3DCOLORS);				_t = _t.getNextSibling();				break;			}			case TOOLTIP:			{				tooltip_expr(_t);				_t = _retTree;				break;			}			case SIZE:			case SIZECHARS:			case SIZEPIXELS:			{				sizephrase(_t);				_t = _retTree;				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case MARGINEXTRA:				{					AST tmp930_AST_in = (AST)_t;					match(_t,MARGINEXTRA);					_t = _t.getNextSibling();					break;				}				case EOF:				case PERIOD:				case AUTOENDKEY:				case AUTOGO:				case BGCOLOR:				case COLUMNLABEL:				case CONTEXTHELPID:				case DCOLOR:				case DEFAULT:				case DROPTARGET:				case FGCOLOR:				case FLATBUTTON:				case FONT:				case IMAGE:				case IMAGEDOWN:				case IMAGEINSENSITIVE:				case IMAGEUP:				case LABEL:				case LIKE:				case MOUSEPOINTER:				case NOCONVERT3DCOLORS:				case NOFOCUS:				case PFCOLOR:				case SIZE:				case SIZECHARS:				case SIZEPIXELS:				case TOOLTIP:				case TRIGGERS:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				break;			}			default:			{				break _loop1087;			}			}		} while (true);		}		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case TRIGGERS:		{			triggerphrase(_t);			_t = _retTree;			break;		}		case EOF:		case PERIOD:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		state_end(_t);		_t = _retTree;		_t = __t1063;		_t = _t.getNextSibling();		_retTree = _t;	}