class documentation

class FormulaProcessor: (source)

View In Hierarchy

A processor specifically for formulas.

Method italicize Italicize the given bit of text.
Method process Process the contents of every formula bit, recursively.
Method processcontents Process the contents of a formula bit.
Method processinsides Process the insides (limits, brackets) in a formula bit.
Method traverse Traverse a formula and yield a flattened structure of (bit, list) pairs.
Method traversewhole Traverse over the contents to alter variables and space units.
Class Variable processors Undocumented
def italicize(self, bit, contents): (source)

Italicize the given bit of text.

def process(self, bit): (source)

Process the contents of every formula bit, recursively.

def processcontents(self, bit): (source)

Process the contents of a formula bit.

def processinsides(self, bit): (source)

Process the insides (limits, brackets) in a formula bit.

def traverse(self, bit): (source)

Traverse a formula and yield a flattened structure of (bit, list) pairs.

def traversewhole(self, formula): (source)

Traverse over the contents to alter variables and space units.

processors: list = (source)

Undocumented