new TexExprParser(s, startopt, endopt)
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
s |
string | |||
start |
number |
<optional> |
0 | |
end |
number |
<optional> |
Methods
parseFnCall(jsFn, texName)
Parse \name + arguments (brace or parens or \left...\right).
Parameters:
| Name | Type | Description |
|---|---|---|
jsFn |
string | |
texName |
string |
parseTop() → {string}
Returns:
math.js subexpression
- Type
- string
readLeftRightBodyAfterLeftKeyword() → {Object}
After the \\left keyword has been consumed (\\ + name), read the opening delimiter
and the body up to the matching \\right.
Returns:
- Type
- Object
readOneDelim()
Parse one delimiter character after \left / \right (e.g. ( ) [ ] | .)