class Inliner(object): (source)
Parse inline markup; call the parse()
method.
Method | __init__ |
Undocumented |
Method | adjust |
Undocumented |
Method | anonymous |
Undocumented |
Method | emphasis |
Undocumented |
Method | footnote |
Handles nodes.footnote_reference and nodes.citation_reference elements. |
Method | implicit |
Check each of the patterns in 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 ... |
Method | init |
Undocumented |
Method | inline |
Undocumented |
Method | inline |
Undocumented |
Method | interpreted |
Undocumented |
Method | interpreted |
Undocumented |
Method | literal |
Undocumented |
Method | parse |
Return 2 lists: nodes (text and inline elements), and system_messages. |
Method | pep |
Undocumented |
Method | phrase |
Undocumented |
Method | problematic |
Undocumented |
Method | quoted |
Test if inline markup start-string is 'quoted'. |
Method | reference |
Undocumented |
Method | rfc |
Undocumented |
Method | standalone |
Undocumented |
Method | strong |
Undocumented |
Method | substitution |
Undocumented |
Class Variable | dispatch |
Undocumented |
Class Variable | email |
Undocumented |
Class Variable | emailc |
Undocumented |
Class Variable | non |
Undocumented |
Class Variable | non |
Undocumented |
Class Variable | non |
Undocumented |
Class Variable | non |
Undocumented |
Class Variable | rfc |
Undocumented |
Class Variable | simplename |
Undocumented |
Class Variable | uri |
Undocumented |
Class Variable | uri |
Undocumented |
Class Variable | uric |
Undocumented |
Class Variable | urilast |
Undocumented |
Instance Variable | document |
Undocumented |
Instance Variable | end |
Undocumented |
Instance Variable | implicit |
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 |
Undocumented |
Check each of the patterns in 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.