site/node_modules/speech-rule-engine/js/semantic_tree/semantic.d.ts

11 lines
495 B
TypeScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
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;