site/node_modules/speech-rule-engine/js/semantic_tree/semantic.d.ts
2024-10-14 08:09:33 +02:00

11 lines
495 B
TypeScript

import { SemanticFont, SemanticRole, SemanticType } from './semantic_meaning';
import { SemanticTree } from './semantic_tree';
export declare type Font = SemanticFont;
export declare type Role = SemanticRole;
export declare type Type = SemanticType;
declare type Attr = Font | Role | Type;
export { Attr };
export declare function xmlTree(mml: Element): Element;
export declare function getTree(mml: Element): SemanticTree;
export declare function getTreeFromString(expr: string): SemanticTree;