class Inliner(object): (source)
parse()
method.Method | __init__ |
Undocumented |
Method | adjust_uri |
Undocumented |
Method | anonymous_reference |
Undocumented |
Method | emphasis |
Undocumented |
Method | footnote_reference |
Handles nodes.footnote_reference and nodes.citation_reference elements. |
Method | implicit_inline |
No summary |
Method | init_customizations |
Undocumented |
Method | inline_internal_target |
Undocumented |
Method | inline_obj |
Undocumented |
Method | interpreted |
Undocumented |
Method | interpreted_or_phrase_ref |
Undocumented |
Method | literal |
Undocumented |
Method | parse |
Return 2 lists: nodes (text and inline elements), and system_messages. |
Method | pep_reference |
Undocumented |
Method | phrase_ref |
Undocumented |
Method | problematic |
Undocumented |
Method | quoted_start |
Test if inline markup start-string is 'quoted'. |
Method | reference |
Undocumented |
Method | rfc_reference |
Undocumented |
Method | standalone_uri |
Undocumented |
Method | strong |
Undocumented |
Method | substitution_reference |
Undocumented |
Class Variable | dispatch |
Undocumented |
Class Variable | email_pattern |
Undocumented |
Class Variable | emailc |
Undocumented |
Class Variable | non_unescaped_whitespace_escape_before |
Undocumented |
Class Variable | non_whitespace_after |
Undocumented |
Class Variable | non_whitespace_before |
Undocumented |
Class Variable | non_whitespace_escape_before |
Undocumented |
Class Variable | rfc_url |
Undocumented |
Class Variable | simplename |
Undocumented |
Class Variable | uri_end |
Undocumented |
Class Variable | uri_end_delim |
Undocumented |
Class Variable | uric |
Undocumented |
Class Variable | urilast |
Undocumented |
Instance Variable | document |
Undocumented |
Instance Variable | end_string_suffix |
Undocumented |
Instance Variable | implicit_dispatch |
List of (pattern, bound method) tuples, used by self.implicit_inline . |
Instance Variable | language |
Undocumented |
Instance Variable | parent |
Undocumented |
Instance Variable | parts |
Undocumented |
Instance Variable | patterns |
Undocumented |
Instance Variable | reporter |
Undocumented |
Instance Variable | start_string_prefix |
Undocumented |
self.implicit_dispatch
for a match,
and dispatch to the stored method for the pattern. Recursively check
the text before and after the match. Return a list of nodes.Text
and inline element nodes.Return 2 lists: nodes (text and inline elements), and system_messages.
Using self.patterns.initial
, a pattern which matches start-strings
(emphasis, strong, interpreted, phrase reference, literal,
substitution reference, and inline target) and complete constructs
(simple reference, footnote reference), search for a candidate. When
one is found, check for validity (e.g., not a quoted '*' character).
If valid, search for the corresponding end string if applicable, and
check it for validity. If not found or invalid, generate a warning
and ignore the start-string. Implicit inline markup (e.g. standalone
URIs) is found last.
Test if inline markup start-string is 'quoted'.
'Quoted' in this context means the start-string is enclosed in a pair of matching opening/closing delimiters (not necessarily quotes) or at the end of the match.