class documentation

class Bracket(FormulaBit):

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

View In Hierarchy

A {} bracket inside a formula
Method __init__ Create a (possibly literal) new bracket
Method detect Detect the start of a bracket
Method innerformula Parse a whole formula inside the bracket
Method innerliteral Parse a literal inside the bracket, which does not generate HTML.
Method innertext Parse some text inside the bracket, following textual rules.
Method parsebit Parse the bracket
Method parsecomplete Parse the start and end marks
Method parseliteral Parse a literal bracket
Method parsetext Parse a text bracket
Class Variable ending Undocumented
Class Variable start Undocumented
Instance Variable inner Undocumented
Instance Variable literal Undocumented

Inherited from FormulaBit:

Method __unicode__ Get a string representation
Method add Add any kind of formula bit already processed
Method clone Return a copy of itself.
Method computesize Compute the size of the bit as the max of the sizes of all contents.
Method setfactory Set the internal formula factory.
Method skiporiginal Skip a string and add it to the original formula
Class Variable original Undocumented
Class Variable type Undocumented
Instance Variable contents Undocumented
Instance Variable factory Undocumented
Instance Variable output Undocumented
Instance Variable size Undocumented

Inherited from Container (via FormulaBit):

Method escape Escape a line with replacements from a map
Method escapeentities Escape all Unicode characters to HTML entities.
Method extracttext Extract all text from allowed containers.
Method gethtml Get the resulting HTML
Method getparameter Get the value of a parameter, if present.
Method getparameterlist Get the value of a comma-separated parameter as a list.
Method group Group some adjoining elements into a group
Method hasemptyoutput Check if the parent's output is empty.
Method locateprocess Search for all embedded containers and process them
Method process Process contents
Method recursivesearch Perform a recursive search in the container.
Method remove Remove a container but leave its contents
Method searchall Search for all embedded containers of a given type
Method searchprocess Search for elements of a given type and process them
Method searchremove Search for all containers of a type and remove them
Method tree Show in a tree
Class Variable begin Undocumented
Class Variable parent Undocumented
Class Variable partkey Undocumented
def __init__(self):
Create a (possibly literal) new bracket
def detect(self, pos):
Detect the start of a bracket
def innerformula(self, pos):
Parse a whole formula inside the bracket
def innerliteral(self, pos):
Parse a literal inside the bracket, which does not generate HTML.
def innertext(self, pos):
Parse some text inside the bracket, following textual rules.
def parsebit(self, pos):
Parse the bracket
def parsecomplete(self, pos, innerparser):
Parse the start and end marks
def parseliteral(self, pos):
Parse a literal bracket
def parsetext(self, pos):
Parse a text bracket
ending =

Undocumented

start =

Undocumented

inner =

Undocumented

literal: str =

Undocumented