module documentation
Undocumented
| Class | |
Class used for verification in the context manager. Adds the first element of the content to the label (for matching purposes). |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Semantic type used to signify it has a matching start component and needs to be matched. |
| Class | |
Undocumented |
| Class | |
! string ! number of ! indicates level |
| Class | |
Empty semantic type, the content is the only information we need. |
| Class | |
(#int) |
| Class | |
* |
| Class | |
#. |
| Class | |
~~ |
| Class | |
** |
| Class | |
No summary |
| Class | |
__ |
| Class | |
Explicit semantic type, the label is the only information we need. |
| Class | |
Semantic type used by the context manager to ascertain token is possible to encapsulate. |
| Class | |
# string # number of # indicates level |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Semantic type used to signify it has a matching end component and needs to be matched. |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Allows us to access basic operations and identify each token parsed. |
| Class | |
div|article|section|aside|header|body|nav>> |
| Class | |
<<div|article|section|aside|header|body|nav |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Class used for verification in the context manager. Classes inheriting this should be added to matched_elements. |
| Class | |
Undocumented |
| Function | of |
Function creating a custom function for generating the given Token type. :param token_class: SemanticType class :type token_class: type :return: returns a function creating an instance of the given class :rtype: function... |
| Function | readable |
Function used for testing and readability purposes. Replaces matched markup with html-like tags. :param list_of_tokens: list of matched markup tokens in analysed text. :type list_of_tokens: list :return: returns readable string... |
| Function | reparse |
Creates a function which reparses given match with specified parsing element. :param parse_element: pp object defining desired match :type parse_element: pp.ParserElement :return: returns a function parsing given match with specified parsing element :rtype: function... |
| Function | split |
Splits the optional attributes into separate lists. :param optionals: list of optional attributes :type optionals: OptionalToken :return: SplitOptionals object containing the split optionals :rtype: SplitOptionals... |
| Variable | alias |
Undocumented |
| Variable | alias |
Undocumented |
| Variable | assignation |
Undocumented |
| Variable | blockquote |
Undocumented |
| Variable | blockquote |
Undocumented |
| Variable | class |
Undocumented |
| Variable | code |
Undocumented |
| Variable | display |
Undocumented |
| Variable | enhanced |
Undocumented |
| Variable | et |
Undocumented |
| Variable | et |
Undocumented |
| Variable | et |
Undocumented |
| Variable | et |
Undocumented |
| Variable | et |
Undocumented |
| Variable | expression |
Undocumented |
| Variable | header |
Undocumented |
| Variable | html |
Undocumented |
| Variable | il |
Undocumented |
| Variable | image |
Undocumented |
| Variable | image |
Undocumented |
| Variable | line |
Undocumented |
| Variable | line |
Undocumented |
| Variable | markup |
Undocumented |
| Variable | multi |
Undocumented |
| Variable | one |
Undocumented |
| Variable | one |
Undocumented |
| Variable | one |
Undocumented |
| Variable | one |
Undocumented |
| Variable | one |
Undocumented |
| Variable | optional |
Undocumented |
| Variable | quotation |
Undocumented |
| Variable | quotes |
Undocumented |
| Variable | rgx |
Undocumented |
| Variable | se |
Undocumented |
| Variable | se |
Undocumented |
| Variable | se |
Undocumented |
| Variable | |
Undocumented |
| Variable | structural |
Undocumented |
| Variable | table |
Undocumented |
| Variable | table |
Undocumented |
| Variable | table |
Undocumented |
| Variable | text |
Undocumented |
| Variable | value |
Undocumented |
| Variable | var |
Undocumented |
def of_type(token_class):
Function creating a custom function for generating the given Token type. :param token_class: SemanticType class :type token_class: type :return: returns a function creating an instance of the given class :rtype: function
def readable_markup(list_of_tokens):
Function used for testing and readability purposes. Replaces matched markup with html-like tags. :param list_of_tokens: list of matched markup tokens in analysed text. :type list_of_tokens: list :return: returns readable string. :rtype: string
def reparse(parse_element):
Creates a function which reparses given match with specified parsing element. :param parse_element: pp object defining desired match :type parse_element: pp.ParserElement :return: returns a function parsing given match with specified parsing element :rtype: function