Package docutils :: Package readers :: Module pep :: Class Inliner
[show private | hide private]
[frames | no frames]

Class Inliner

Inliner --+
          |
         Inliner


Extend rst.Inliner for local PEP references.
Method Summary
    Inherited from Inliner
  __init__(self, roles)
roles is a mapping of canonical role name to role function or bound method, which enables additional interpreted text roles.
  adjust_uri(self, uri)
  anonymous_reference(self, match, lineno)
  emphasis(self, match, lineno)
  footnote_reference(self, match, lineno)
Handles nodes.footnote_reference and nodes.citation_reference elements.
  generic_interpreted_role(self, role, rawtext, text, lineno)
  get_role_function(self, role, lineno)
  implicit_inline(self, text, lineno)
Check each of the patterns in self.implicit_dispatch for a match, and dispatch to the stored method for the pattern.
  init_customizations(self, settings)
Setting-based customizations; run when parsing begins.
  inline_internal_target(self, match, lineno)
  inline_obj(self, match, lineno, end_pattern, nodeclass, restore_backslashes)
  interpreted(self, before, after, rawsource, text, role, lineno)
  interpreted_or_phrase_ref(self, match, lineno)
  literal(self, match, lineno)
  parse(self, text, lineno, memo, parent)
Return 2 lists: nodes (text and inline elements), and system_messages.
  pep_reference(self, match, lineno)
  pep_reference_role(self, role, rawtext, text, lineno)
  phrase_ref(self, before, after, rawsource, escaped, text)
  problematic(self, text, rawsource, message)
  quoted_start(self, match)
Return 1 if inline markup start-string is 'quoted', 0 if not.
  reference(self, match, lineno, anonymous)
  rfc_reference(self, match, lineno)
  rfc_reference_role(self, role, rawtext, text, lineno)
  standalone_uri(self, match, lineno)
  strong(self, match, lineno)
  substitution_reference(self, match, lineno)

Class Variable Summary
str pep_url = 'pep-%04d.html'
    Inherited from Inliner
str closers = '\'")]}>'
str default_interpreted_role = 'title-reference'
dict dispatch = {'__': <function anonymous_reference at 0x82e...
str email_pattern = '\n          %(emailc)s+(?:\\.%(emailc)s...
str emailc = "[-_!~*'{|}/#?^`&=+$%a-zA-Z0-9]"
str end_string_suffix = '((?=$)|(?=[-/:.,;!? \\n\\x00\\\'\\"...
dict generic_roles = {'abbreviation': <class docutils.nodes.a...
str non_whitespace_after = '(?![ \\n])'
str non_whitespace_before = '(?<![ \\n])'
str non_whitespace_escape_before = '(?<![ \\n\\x00])'
str openers = '\'"([{<'
tuple parts = ('initial_inline', '((?<=^)|(?<=[-/: \\n\\\'\\"\...
Struct patterns = <docutils.parsers.rst.states.Struct instance ...
str pep_url_absolute = 'http://www.python.org/peps/pep-%04d....
str pep_url_local = 'pep-%04d.html'
str rfc_url = 'http://www.faqs.org/rfcs/rfc%d.html'
str simplename = '(?:(?!_)\\w)+(?:[-._](?:(?!_)\\w)+)*'
str start_string_prefix = '((?<=^)|(?<=[-/: \\n\\\'\\"\\(\\[...
str uric = "[-_.!~*'()[\\];/:@&=+$,%a-zA-Z0-9]"
str urilast = '[_~/a-zA-Z0-9]'

Class Variable Details

pep_url

Type:
str
Value:
'pep-%04d.html'                                                        

Generated by Epydoc 2.0 on Tue Jul 22 05:31:43 2003 http://epydoc.sf.net