ParseTree
Method | __init__ |
Undocumented |
Method | append |
No summary |
Method | end |
No summary |
Method | get_parsetree |
Returns the constructed ParseTree object. Can only be called once, after calling this method the object can not be re-used. |
Method | start |
No summary |
Method | text |
Append text @param text: text to be appended as string @implementation: must be implemented by sub-classes |
Instance Variable | stack |
Undocumented |
Instance Variable | _b |
Undocumented |
Instance Variable | _last_char |
Undocumented |
zim.parser.Builder.append
Parameters | |
tag | the tag name |
attrib | optional dict with attributes |
text | formatted text |
Unknown Field: implementation | |
optional for subclasses, default implementation calls start() , text() , and end() |
zim.parser.Builder.end
Parameters | |
tag | the tag name |
Raises | |
XXX | when tag does not match current state |
Unknown Field: implementation | |
must be implemented by sub-classes |
ParseTree
object. Can only be called once, after calling this method the object can not be re-used.zim.parser.Builder.start
Parameters | |
tag | the tag name |
attrib | optional dict with attributes |
Unknown Field: implementation | |
must be implemented by sub-classes |
zim.parser.Builder.text
Parameters | |
text | text to be appended as string |
Unknown Field: implementation | |
must be implemented by sub-classes |