Home | Trees | Index | Help |
|
---|
Package docutils :: Module statemachine :: Class SearchStateMachine |
|
StateMachine
--+ |_SearchOverride
--+ | SearchStateMachine
StateMachine
which uses re.search()
instead of re.match()
.Method Summary | |
---|---|
Inherited from _SearchOverride | |
Return the result of a regular expression search. | |
Inherited from StateMachine | |
Initialize a StateMachine object; add state objects. | |
Return line number of current line (counting from 1). | |
Return line offset of current line, from beginning of file. | |
Initialize & add a state_class (State subclass) object. | |
Add state_classes (a list of State subclasses). | |
Return 1 if the input is at or before beginning-of-file. | |
Return 1 if the input is at or past end-of-file. | |
The observer parameter is a function or bound method which takes two
arguments, the source and offset of the current line. | |
Examine one line of input for a transition match & execute its method. | |
| |
Report error details. | |
Return current state object; set it first if next_state given. | |
Return a contiguous block of text. | |
Jump to absolute line offset line_offset , load and return it. | |
| |
Return 1 if the next line is blank or non-existant. | |
Load self.line with the n 'th next line and return it. | |
| |
Load self.line with the n 'th previous line and return it. | |
Run the state machine on input_lines . | |
Initialize self.states . | |
Remove circular references to objects no longer required. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Tue Jul 22 05:30:45 2003 | http://epydoc.sf.net |