class documentation

class FormulaParser(Parser): (source)

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 __str__ Return a description
Method parsecontainer Undocumented
Method parseending Parse until the current ending is found
Method parseparameter Parse a parameter
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)

See if the formula is inlined

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.