Parses the production rule::
                block : NAME '{' option* '}'

            Returns tuple (name, options_list).

def _rule_block(self):
        """ Parses the production rule::
                block : NAME '{' option* '}'

            Returns tuple (name, options_list).
            """

        name = self._get_token(self.RE_NAME)
        self._expect_token('{')

        # consume additional options if available
        options = []
        while self._lookahead_token() != '}':
            options.append(self._rule_option())

        self._expect_token('}')
        return [name, options]