push(action.defineVariable(def, id));
push(action.defineSymbol(RECTANGLE, def, id));
	public final void definerectanglestate(AST _t) throws RecognitionException {				AST definerectanglestate_AST_in = (_t == ASTNULL) ? null : (AST)_t;		AST def = null;		AST id = null;				AST __t964 = _t;		def = _t==ASTNULL ? null :(AST)_t;		match(_t,DEFINE);		_t = _t.getFirstChild();		{		if (_t==null) _t=ASTNULL;		switch ( _t.getType()) {		case NEW:		{			AST __t966 = _t;			AST tmp802_AST_in = (AST)_t;			match(_t,NEW);			_t = _t.getFirstChild();			{			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case GLOBAL:			{				AST tmp803_AST_in = (AST)_t;				match(_t,GLOBAL);				_t = _t.getNextSibling();				break;			}			case SHARED:			{				break;			}			default:			{				throw new NoViableAltException(_t);			}			}			}			AST tmp804_AST_in = (AST)_t;			match(_t,SHARED);			_t = _t.getNextSibling();			_t = __t966;			_t = _t.getNextSibling();			break;		}		case SHARED:		{			AST tmp805_AST_in = (AST)_t;			match(_t,SHARED);			_t = _t.getNextSibling();			break;		}		case RECTANGLE:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		AST tmp806_AST_in = (AST)_t;		match(_t,RECTANGLE);		_t = _t.getNextSibling();		id = (AST)_t;		match(_t,ID);		_t = _t.getNextSibling();		if ( inputState.guessing==0 ) {			push(action.defineVariable(def, id));		}		{		_loop973:		do {			if (_t==null) _t=ASTNULL;			switch ( _t.getType()) {			case NOFILL:			{				AST tmp807_AST_in = (AST)_t;				match(_t,NOFILL);				_t = _t.getNextSibling();				break;			}			case EDGECHARS:			{				AST __t969 = _t;				AST tmp808_AST_in = (AST)_t;				match(_t,EDGECHARS);				_t = _t.getFirstChild();				expression(_t);				_t = _retTree;				_t = __t969;				_t = _t.getNextSibling();				break;			}			case EDGEPIXELS:			{				AST __t970 = _t;				AST tmp809_AST_in = (AST)_t;				match(_t,EDGEPIXELS);				_t = _t.getFirstChild();				expression(_t);				_t = _retTree;				_t = __t970;				_t = _t.getNextSibling();				break;			}			case BGCOLOR:			case DCOLOR:			case FGCOLOR:			case PFCOLOR:			{				color_expr(_t);				_t = _retTree;				break;			}			case GRAPHICEDGE:			{				AST tmp810_AST_in = (AST)_t;				match(_t,GRAPHICEDGE);				_t = _t.getNextSibling();				break;			}			case LIKE:			{				AST __t971 = _t;				AST tmp811_AST_in = (AST)_t;				match(_t,LIKE);				_t = _t.getFirstChild();				fld(_t,CQ.SYMBOL);				_t = _retTree;				{				if (_t==null) _t=ASTNULL;				switch ( _t.getType()) {				case VALIDATE:				{					AST tmp812_AST_in = (AST)_t;					match(_t,VALIDATE);					_t = _t.getNextSibling();					break;				}				case 3:				{					break;				}				default:				{					throw new NoViableAltException(_t);				}				}				}				_t = __t971;				_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 _loop973;			}			}		} 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 = __t964;		_t = _t.getNextSibling();		if ( inputState.guessing==0 ) {			action.addToScope(pop());		}		_retTree = _t;	}