class documentation

class FormulaParser(Parser): (source)

Known subclasses: docutils.utils.math.math2html.MacroParser

View In Hierarchy

Parses a formula
Method parse Parse the formula until the end
Method parseformula Parse the formula contents
Method parseheader See if the formula is inlined
Method parsemultiliner Parse a formula in multiple lines
Method parsesingleliner Parse a formula in one line
Method parsetype Get the formula type from the first line.
Instance Variable begin Undocumented

Inherited from Parser:

Method __init__ Undocumented
Method __unicode__ Return a description
Method parsecontainer Undocumented
Method parseending Parse until the current ending is found
Method parseparameter Parse a parameter
Method parsexml Parse a parameter in xml form: <param attr1=value...>
Instance Variable parameters Undocumented
def parse(self, reader): (source)
Parse the formula until the end
def parseformula(self, reader): (source)
Parse the formula contents
def parseheader(self, reader): (source)
def parsemultiliner(self, reader, start, ending): (source)
Parse a formula in multiple lines
def parsesingleliner(self, reader, start, ending): (source)
Parse a formula in one line
def parsetype(self, reader): (source)
Get the formula type from the first line.