@property def top_elements(self): return [self.quoted_arg, self.kw_arg, self.list_arg, self.spaces] return Base class ArgDialect(object): """Base class for argument string dialect objects.""" pass parse_args = ArgParser( dialect=creepy10_base(), key_func=string.lower, illegal_keys=keyword.kwlist + ['macro_name', 'arg_string', 'body', 'isblock', 'environ', 'macro']) """Function for parsing macro arg_strings using a relaxed xml style""" def create_dialect(dialect_base, **kw_args): """Factory function for dialect objects (for parameter defaults, see :func:`~creoleparser.dialects.creole10_base` and/or :func:`~creoleparser.dialects.creole11_base`) :parameters: add_heading_ids If `True`, user friendly, lowercase, unique, id attributes will be automatically added to headings. To prevent clashes with other page ids, all will be prefixed with a "!". This prefix may be changed by
def setUp(self): self.parse = ArgParser(creepy10_base(), illegal_keys=['onety', 'twoty'])
def setUp(self): self.parse = ArgParser(creepy20_base(), convert_implicit_lists=True)
def setUp(self): self.parse = ArgParser(creepy10_base(), key_func=lower, convert_implicit_lists=False)