| [ Index ] |
PHP Cross Reference of WordPress Trunk (Updated Daily) |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 13982 lines (455 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
ParseError:: (1 method):
temml_escape()
Settings:: (2 methods):
defineFunction()
defineFunctionBuilders()
DocumentFragment:: (0 methods):
Span:: (0 methods):
AnchorNode:: (0 methods):
Img:: (1 method):
newDocumentFragment()
MathNode:: (0 methods):
TextNode:: (12 methods):
defineSymbol()
setLineBreaks()
isNumberPunctuation()
buildMathML()
assertNodeType()
assertSymbolNodeType()
checkSymbolNodeType()
cdArrow()
parseCD()
checkDelimiter()
assertParsed()
defineEnvironment()
SourceLocation:: (0 methods):
Token:: (11 methods):
defineMacro()
recreateArgStr()
assertNever()
assertString()
getHLines()
getAutoTag()
parseArray()
beginRow()
endRow()
dCellStyle()
mathmlBuilder()
Lexer:: (0 methods):
Namespace:: (0 methods):
MacroExpander:: (0 methods):
Parser:: (0 methods):
Style:: (2 methods):
postProcess()
latexToMathML()
Class: ParseError - X-Ref
This is the ParseError class, which is the main error thrown by Temml| temml_escape(text) X-Ref |
| Escapes text to prevent scripting attacks. |
| defineFunction({type,names,props,handler,mathmlBuilder}) X-Ref |
| All MathML builders. Should be only used in the `define*` and the `build*ML` functions. |
| defineFunctionBuilders({ type, mathmlBuilder }) X-Ref |
| Use this to register only the MathML builder for a function(e.g. if the function's ParseNode is generated in Parser.js rather than via a stand-alone handler provided to `defineFunction`). |
Class: DocumentFragment - X-Ref
This node represents a document fragment, which contains elements, but whenClass: AnchorNode - X-Ref
| newDocumentFragment(children) X-Ref |
| These objects store data about MathML nodes. The `toNode` and `toMarkup` functions create namespaced DOM nodes and HTML text markup respectively. |
| defineSymbol(mode, group, replace, name, acceptUnicodeChar) X-Ref |
| No description |
| setLineBreaks(expression, wrapMode, isDisplayMode) X-Ref |
| No description |
| isNumberPunctuation(group) X-Ref |
| Check for <mi>.</mi> which is how a dot renders in MathML, or <mo separator="true" lspace="0em" rspace="0em">,</mo> which is how a braced comma {,} renders in MathML |
| buildMathML(tree, texExpression, style, settings) X-Ref |
| Takes a full parse tree and settings and builds a MathML representation of it. |
| assertNodeType(node, type) X-Ref |
| Asserts that the node is of the given type and returns it with stricter typing. Throws if the node's type does not match. |
| assertSymbolNodeType(node) X-Ref |
| Returns the node more strictly typed iff it is of the given type. Otherwise, returns null. |
| checkSymbolNodeType(node) X-Ref |
| Returns the node more strictly typed iff it is of the given type. Otherwise, returns null. |
| cdArrow(arrowChar, labels, parser) X-Ref |
| No description |
| parseCD(parser) X-Ref |
| No description |
| checkDelimiter(delim, context) X-Ref |
| No description |
| assertParsed(group) X-Ref |
| No description |
| defineEnvironment({ type, names, props, handler, mathmlBuilder }) X-Ref |
| All registered environments. `environments.js` exports this same dictionary again and makes it public. `Parser.js` requires this dictionary via `environments.js`. |
Class: SourceLocation - X-Ref
Lexing or parsing positional information for error reporting.| defineMacro(name, body) X-Ref |
| No description |
| recreateArgStr(context) X-Ref |
| No description |
| assertNever(a) X-Ref |
| No description |
| assertString(a) X-Ref |
| No description |
| getHLines(parser) X-Ref |
| No description |
| getAutoTag(name) X-Ref |
| No description |
| parseArray(parser,{cols, envClasses, ) X-Ref |
| Parse the body of the environment, with rows delimited by \\ and columns delimited by &, and create a nested list in row-major order with one group per cell. If given an optional argument scriptLevel ("text", "display", etc.), then each cell is cast into that scriptLevel. |
| beginRow() X-Ref |
| No description |
| endRow() X-Ref |
| No description |
| dCellStyle(envName) X-Ref |
| No description |
| mathmlBuilder(let node;const inner = buildExpression(group.body, style) X-Ref |
| No description |
Class: MacroExpander - X-Ref
| postProcess(block) X-Ref |
| No description |
| latexToMathML(latex, { displayMode = true } = {}) X-Ref |
| No description |
| Generated : Mon Jan 5 08:20:02 2026 | Cross-referenced by PHPXref |