| Home | Trees | Index | Help |
|
|---|
| Package docutils :: Package parsers :: Package rst :: Module states :: Class Definition |
|
State--+ |StateWS--+ |RSTState--+ |Text--+ |SpecializedText--+ | Definition
| Method Summary | |
|---|---|
Not a definition. | |
Definition list item. | |
| Inherited from SpecializedText | |
Not a compound element member. | |
Not a compound element member. | |
Not a compound element member. | |
Not a compound element member. | |
| Inherited from Text | |
| |
Return a list of nodes. | |
Return a definition_list's term and optional classifier. | |
| Inherited from RSTState | |
Initialize a StateSM object; extends State.__init__(). | |
Called at beginning of file. | |
Check for illegal structure: empty section, misplaced transitions. | |
Check for a valid subsection header. | |
Jump to input line abs_line_offset, ignoring jumps past the end. | |
Return 2 lists: nodes (text and inline elements), and system_messages. | |
Create a new StateMachine rooted at node and run it over the input
block. | |
Create a new StateMachine rooted at node and run it over the input
block. | |
Append new subsection to document tree. | |
Override StateWS.no_match to generate a system message. | |
Return a list (paragraph & messages) & a boolean: literal_block next? | |
Initialize this State before running the state machine; called from
self.state_machine.run(). | |
Check for a valid subsection and create one if it checks out. | |
| |
| |
| Inherited from StateWS | |
Add whitespace-specific transitions before those defined in subclass. | |
Handle an indented text block (first line's indent known). | |
Handle a known-indent text block. | |
| Inherited from State | |
Add a transition to the start of the transition list. | |
Add a list of transitions to the start of the transition list. | |
Make & return a transition tuple based on name. | |
Return a list of transition names and a transition mapping. | |
A "do nothing" transition method. | |
Remove a transition by name. | |
Remove circular references to objects no longer required. | |
| Class Variable Summary | |
|---|---|
| Inherited from Text | |
list |
initial_transitions = [('underline', 'Body'), ('text', '...
|
dict |
patterns = {'indent': ' +', 'blank': ' *$', 'text': '', ...
|
| Inherited from StateWS | |
NoneType |
indent_sm = None |
NoneType |
indent_sm_kwargs = None |
NoneType |
known_indent_sm = None |
NoneType |
known_indent_sm_kwargs = None |
tuple |
ws_initial_transitions = ('blank', 'indent')
|
dict |
ws_patterns = {'indent': ' +', 'blank': ' *$'}
|
| Inherited from State | |
NoneType |
nested_sm = None |
NoneType |
nested_sm_kwargs = None |
| Method Details |
|---|
eof(self, context)Not a definition. |
indent(self, match, context, next_state)Definition list item. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Tue Jul 22 05:30:26 2003 | http://epydoc.sf.net |