class documentation

class WikiParser(object): (source)

View In Hierarchy

Undocumented

Static Method parse_anchor Undocumented
Static Method parse_image Undocumented
Static Method parse_line Undocumented
Static Method parse_pre Verbatim block with indenting
Static Method parse_tag Undocumented
Method __call__ Undocumented
Method __init__ Undocumented
Method check_multi_attribute No summary
Method parse_heading Parse heading and determine it's level
Method parse_indent Parse indented blocks and turn them into 'div' elements
Method parse_link Undocumented
Method parse_list Parse lists into items and recurse to get inline formatting per list item
Method parse_list_lines Undocumented
Method parse_object Custom object
Method parse_para Split a text into paragraphs and empty lines
Method parse_table Undocumented
Method parse_url Undocumented
Constant BULLETS Undocumented
Instance Variable backward_indented_blocks Undocumented
Instance Variable backward_url_parsing Undocumented
Instance Variable block_parser Undocumented
Instance Variable inline_parser Undocumented
Instance Variable list_and_indent_parser Undocumented
Instance Variable nested_inline_parser_below_link Undocumented
Method _init_block_parser Undocumented
Method _init_inline_parse Undocumented
Method _init_intermediate_parser Undocumented
Method _parse_object Undocumented
@staticmethod
def parse_anchor(builder, name, *a): (source)

Undocumented

@staticmethod
def parse_image(builder, text): (source)

Undocumented

@staticmethod
def parse_line(builder, text): (source)

Undocumented

@staticmethod
def parse_pre(builder, indent, text): (source)
Verbatim block with indenting
@staticmethod
def parse_tag(builder, text): (source)

Undocumented

def __call__(self, builder, text): (source)

Undocumented

def __init__(self, backward_indented_blocks=False, backward_url_parsing=False): (source)

Undocumented

def check_multi_attribute(self, attrib, key, default, list_length): (source)
Correct multi-attributes, so they do fit with column length of table :param attrib: key-value store :param key: key to select of attribute :param default: default value for one list entry :param list_length: required length of selected attribute :return: attribute-value as list of different options
def parse_heading(self, builder, text): (source)
Parse heading and determine it's level
def parse_indent(self, builder, text, indent): (source)
Parse indented blocks and turn them into 'div' elements
def parse_link(self, builder, text): (source)

Undocumented

def parse_list(self, builder, text, indent=None): (source)
Parse lists into items and recurse to get inline formatting per list item
def parse_list_lines(self, builder, lines, level, attrib=None): (source)

Undocumented

def parse_object(self, builder, indent, header, body): (source)
Custom object
def parse_para(self, builder, text): (source)
Split a text into paragraphs and empty lines
def parse_table(self, builder, headerline, alignstyle, body): (source)

Undocumented

def parse_url(self, builder, *a): (source)

Undocumented

BULLETS = (source)

Undocumented

Value
{'[ ]': UNCHECKED_BOX,
 '[x]': XCHECKED_BOX,
 '[*]': CHECKED_BOX,
 '[>]': MIGRATED_BOX,
 '[<]': TRANSMIGRATED_BOX,
 '*': BULLET}
backward_indented_blocks = (source)

Undocumented

backward_url_parsing = (source)

Undocumented

block_parser = (source)

Undocumented

inline_parser = (source)

Undocumented

list_and_indent_parser = (source)

Undocumented

nested_inline_parser_below_link = (source)

Undocumented

def _init_block_parser(self): (source)

Undocumented

def _init_inline_parse(self): (source)

Undocumented

def _init_intermediate_parser(self): (source)

Undocumented

def _parse_object(self, builder, indent, otype, param, body): (source)

Undocumented