stuff
This commit is contained in:
parent
bc92231240
commit
b8225c639e
11904 changed files with 1472749 additions and 133 deletions
21
node_modules/speech-rule-engine/js/semantic_tree/semantic_tree.d.ts
generated
vendored
Normal file
21
node_modules/speech-rule-engine/js/semantic_tree/semantic_tree.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import { SemanticMeaningCollator } from './semantic_default.js';
|
||||
import { SemanticNode } from './semantic_node.js';
|
||||
import { SemanticParser } from './semantic_parser.js';
|
||||
import './semantic_heuristics.js';
|
||||
export declare class SemanticTree {
|
||||
mathml: Element;
|
||||
parser: SemanticParser<Element>;
|
||||
root: SemanticNode;
|
||||
collator: SemanticMeaningCollator;
|
||||
static empty(): SemanticTree;
|
||||
static fromNode(semantic: SemanticNode, opt_mathml?: Element): SemanticTree;
|
||||
static fromRoot(semantic: SemanticNode, opt_mathml?: Element): SemanticTree;
|
||||
static fromXml(xml: Element): SemanticTree;
|
||||
constructor(mathml: Element);
|
||||
xml(opt_brief?: boolean): Element;
|
||||
toString(opt_brief?: boolean): string;
|
||||
formatXml(opt_brief?: boolean): string;
|
||||
displayTree(): void;
|
||||
replaceNode(oldNode: SemanticNode, newNode: SemanticNode): void;
|
||||
toJson(): any;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue