class documentation
class BracketProcessor(MathsProcessor): (source)
A processor for bracket commands.
| Method | checkdirection |
Check if the given bit is the desired bracket command. |
| Method | checkleft |
Check if the command at the given index is left. |
| Method | checkright |
Check if the command at the given index is right. |
| Method | findmax |
Find the max size of the contents between the two given indices. |
| Method | findright |
Find the right bracket starting at the given index, or 0. |
| Method | process |
Convert the bracket using Unicode pieces, if possible. |
| Method | processleft |
Process a left bracket. |
| Method | resize |
Resize a bracket command to the given size. |
Inherited from MathsProcessor:
| Method | __unicode__ |
Return a printable description. |