#NEWLINE# def _rule_block( self ) : #NEWLINE# #INDENT# " Parses the production rule::\n                block : NAME '{' option* '}'\n\n            Returns tuple (name, options_list).\n            " #NEWLINE# name = self . _get_token ( self . RE_NAME ) #NEWLINE# self . _expect_token ( '{' ) #NEWLINE# options = [ ] #NEWLINE# while ( self . _lookahead_token ( ) != '}' ) : #NEWLINE# #INDENT# options . append ( self . _rule_option ( ) ) #NEWLINE# #UNINDENT# self . _expect_token ( '}' ) #NEWLINE# return [ name , options ]