twisted.web.util._SourceFragmentElement(Element) class documentationtwisted.web.util
(View In Hierarchy)
_SourceFragmentElement
is an IRenderable which
can render several lines of source code near the line number of a 
particular frame object.
| Instance Variable | frame | A Failure-style 
frame object for which to load a source line to render.  This is really a 
tuple holding some information from a frame object.  SeeFailure.framesfor specifics. | 
| Method | __init__ | Undocumented | 
| Method | sourceLines | No summary | 
| Method | _getSourceLines | Find the source line references by self.frameand yield, in
source line order, it and the previous and following lines. | 
Inherited from Element:
| Instance Variable | loader | The factory which will be used to load documents to return from render. (type:ITemplateLoaderprovider) | 
| Method | lookupRenderMethod | Look up and return the named render method. | 
| Method | render | Implement IRenderableto 
allow oneElementto be 
embedded in another's template or rendering output. | 
Failure-style 
frame object for which to load a source line to render.  This is really a 
tuple holding some information from a frame object.  See Failure.frames 
for specifics.