t.w.u._FrameElement(Element) : class documentation

Part of twisted.web.util View Source View In Hierarchy

_FrameElement is an IRenderable which can render details about one frame from a Failure.
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. See Failure.frames for specifics.
Method __init__ Undocumented
Method filename Render the name of the file this frame references as a child of tag.
Method lineNumber Render the source line number this frame references as a child of tag.
Method function Render the function name this frame references as a child of tag.
Method source Render the source code surrounding the line this frame references, replacing tag.

Inherited from Element:

Instance Variable loader The factory which will be used to load documents to return from render. (type: ITemplateLoader provider)
Method lookupRenderMethod Look up and return the named render method.
Method render Implement IRenderable to allow one Element to be embedded in another's template or rendering output.
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. See Failure.frames for specifics.
def __init__(self, loader, frame): (source)
Undocumented
@renderer
def filename(self, request, tag): (source)
Render the name of the file this frame references as a child of tag.
@renderer
def lineNumber(self, request, tag): (source)
Render the source line number this frame references as a child of tag.
@renderer
def function(self, request, tag): (source)
Render the function name this frame references as a child of tag.
@renderer
def source(self, request, tag): (source)
Render the source code surrounding the line this frame references, replacing tag.
API Documentation for Twisted, generated by pydoctor at 2012-09-01 11:44:56.