_t = __t1210;
_t = __t1211;
	public final void definerectanglestate(AST _t) throws RecognitionException {				AST definerectanglestate_AST_in = (_t == ASTNULL) ? null : (AST)_t;				AST __t1204 = _t;		AST tmp974_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 PRIVATE:		case PUBLIC:		case RECTANGLE:		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 RECTANGLE:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		AST tmp975_AST_in = (AST)_t;		match(_t,RECTANGLE);		_t = _t.getNextSibling();		AST tmp976_AST_in = (AST)_t;		match(_t,ID);		_t = _t.getNextSibling();		{		_loop1212:		do {			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOFILL:			{				AST tmp977_AST_in = (AST)_t;				match(_t,NOFILL);				_t = _t.getNextSibling();				break;			}			case EDGECHARS:			{				AST __t1208 = _t;				AST tmp978_AST_in = (AST)_t;				match(_t,EDGECHARS);				_t = _t.getFirstChild();				expression(_t);				_t = _retTree;				_t = __t1208;				_t = _t.getNextSibling();				break;			}			case EDGEPIXELS:			{				AST __t1209 = _t;				AST tmp979_AST_in = (AST)_t;				match(_t,EDGEPIXELS);				_t = _t.getFirstChild();				expression(_t);				_t = _retTree;				_t = __t1209;				_t = _t.getNextSibling();				break;			}			case BGCOLOR:			case DCOLOR:			case FGCOLOR:			case PFCOLOR:			{				color_expr(_t);				_t = _retTree;				break;			}			case GRAPHICEDGE:			{				AST tmp980_AST_in = (AST)_t;				match(_t,GRAPHICEDGE);				_t = _t.getNextSibling();				break;			}			case LIKE:			{				AST __t1210 = _t;				AST tmp981_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 tmp982_AST_in = (AST)_t;					match(_t,VALIDATE);					_t = _t.getNextSibling();					break;				}				case 3:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				_t = __t1210;				_t = _t.getNextSibling();				break;			}			case SIZE:			case SIZECHARS:			case SIZEPIXELS:			{				sizephrase(_t);				_t = _retTree;				break;			}			case TOOLTIP:			{				tooltip_expr(_t);				_t = _retTree;				break;			}			default:			{				break _loop1212;			}			}		} 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 = __t1204;		_t = _t.getNextSibling();		_retTree = _t;	}