class documentation
class MathToken(math): (source)
Known subclasses: docutils.utils.math.latex2mathml.mi
, docutils.utils.math.latex2mathml.mn
, docutils.utils.math.latex2mathml.mo
, docutils.utils.math.latex2mathml.mtext
Token Element: contains textual data instead of children. Base class for mo, mi, and mn.
Method | __init__ |
Set up node with `children` and `attributes`. |
Class Variable | nchildren |
Expected number of children or None |
Instance Variable | data |
Undocumented |
Method | _xml |
Undocumented |
Inherited from math
:
Method | __getitem__ |
Undocumented |
Method | __len__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __setitem__ |
Undocumented |
Method | append |
Append child and return self or first non-full parent. |
Method | close |
Close element and return first non-full parent or None. |
Method | extend |
Undocumented |
Method | full |
Return boolean indicating whether children may be appended. |
Method | get |
Undocumented |
Method | toprettyxml |
Return XML representation of self as string. |
Method | xml |
Undocumented |
Class Variable | html |
Tag name for HTML representation. |
Class Variable | parent |
Parent node in MathML DOM tree. |
Class Variable | xml |
Undocumented |
Instance Variable | attributes |
Undocumented |
Instance Variable | children |
Undocumented |
Method | _xml |
Undocumented |
Class Variable | _boolstrings |
String representation of boolean MathML attribute values. |
Class Variable | _level |
Undocumented |