Home | Trees | Index | Help |
|
---|
Package docutils :: Package parsers :: Package rst :: Module states :: Class SpecializedText |
|
State
--+ |StateWS
--+ |RSTState
--+ |Text
--+ | SpecializedText
Definition
,
Line
Superclass for second and subsequent lines of Text-variants.
All transition methods are disabled. Override individual methods in subclasses to re-enable.
Method Summary | |
---|---|
Not a compound element member. | |
Incomplete construct. | |
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 |
---|
blank(self, match=None, context=None, next_state=None)Not a compound element member. Abort this state machine. |
eof(self, context)Incomplete construct.
|
indent(self, match=None, context=None, next_state=None)Not a compound element member. Abort this state machine. |
invalid_input(self, match=None, context=None, next_state=None)Not a compound element member. Abort this state machine. |
text(self, match=None, context=None, next_state=None)Not a compound element member. Abort this state machine. |
underline(self, match=None, context=None, next_state=None)Not a compound element member. Abort this state machine. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Tue Jul 22 05:31:49 2003 | http://epydoc.sf.net |