if ((_tokenSet_13.member(_t.getType()))) {
if ((_tokenSet_15.member(_t.getType()))) {
	public final void definemenustate(AST _t) throws RecognitionException {				AST definemenustate_AST_in = (_t == ASTNULL) ? null : (AST)_t;		AST def = null;		AST id = null;				AST __t502 = _t;		def = _t==ASTNULL ? null :(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 MENU:		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 MENU:		{			break;		}		default:		{			throw new NoViableAltException(_t);		}		}		}		AST tmp1080_AST_in = (AST)_t;		match(_t,MENU);		_t = _t.getNextSibling();		id = (AST)_t;		match(_t,ID);		_t = _t.getNextSibling();		if ( inputState.guessing==0 ) {			push(action.defineSymbol(MENU, def, id));		}		{		_loop506:		do {			if (_t==null) _t=ASTNULL;			if ((_tokenSet_12.member(_t.getType()))) {				menu_opt(_t);				_t = _retTree;			}			else {				break _loop506;			}					} while (true);		}		{		_loop508:		do {			if (_t==null) _t=ASTNULL;			if ((_tokenSet_13.member(_t.getType()))) {				menu_list_item(_t);				_t = _retTree;			}			else {				break _loop508;			}					} while (true);		}		state_end(_t);		_t = _retTree;		if ( inputState.guessing==0 ) {			action.addToSymbolScope(pop());		}		_t = __t502;		_t = _t.getNextSibling();		_retTree = _t;	}