1
0

add initial marp implementation with sample content and build configuration

This commit is contained in:
2025-09-13 18:13:22 +02:00
parent dcacc9b409
commit e5f219507f
10319 changed files with 1402023 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
import { SemanticRole } from '../semantic_tree/semantic_meaning.js';
import { SemanticNode } from '../semantic_tree/semantic_node.js';
import { SemanticNodeFactory } from '../semantic_tree/semantic_node_factory.js';
import { Sexp } from '../semantic_tree/semantic_skeleton.js';
import { SemanticTree } from '../semantic_tree/semantic_tree.js';
export declare class RebuildStree {
mathml: Element;
factory: SemanticNodeFactory;
nodeDict: {
[key: string]: SemanticNode;
};
mmlRoot: Element;
streeRoot: SemanticNode;
stree: SemanticTree;
xml: Element;
static textContent(snode: SemanticNode, node: Element, ignore?: boolean): void;
static isPunctuated(collapsed: Sexp): boolean;
constructor(mathml: Element);
getTree(): SemanticTree;
assembleTree(node: Element): SemanticNode;
makeNode(node: Element): SemanticNode;
makePunctuation(id: number): SemanticNode;
makePunctuated(snode: SemanticNode, collapsed: any, role: SemanticRole): void;
makeEmpty(snode: SemanticNode, collapsed: number, role: SemanticRole): void;
makeIndex(snode: SemanticNode, collapsed: Sexp, role: SemanticRole): void;
postProcess(snode: SemanticNode, collapsed: string): SemanticNode;
createNode(id: number): SemanticNode;
private collapsedChildren_;
private setParent;
}