Protected
factoryThe factory for stack items.
Protected
Static
errorsA list of basic errors.
Protected
Static
failThe fail value.
Protected
Static
successThe success value.
Get the private environment
Set the private environment
New private environemt.
True if item is final, i.e., it contains one or multiple finished parsed nodes.
True if item is an opening entity, i.e., it expects a closing counterpart on the stack later.
Protected
nodesThe nodes on the stack.
Clears the item's environment.
Convenience method to create nodes with the node factory on this stack.
The kind of node to create.
The remaining arguments for the creation method.
The newly created node.
Get error messages for a particular types of stack item. This reads error messages from the static errors object, which can be extended in subclasses.
The stack item type.
The list of arguments for the TeXError.
Optional
n: numberOptional
forceRow: boolean
Final item on the stack. Errors will be thrown if other items than the start item are still on the stack.