semantic.d.ts 469 B

12345678910
  1. import { SemanticFont, SemanticRole, SemanticType } from './semantic_meaning.js';
  2. import { SemanticTree } from './semantic_tree.js';
  3. export type Font = SemanticFont;
  4. export type Role = SemanticRole;
  5. export type Type = SemanticType;
  6. type Attr = Font | Role | Type;
  7. export { Attr };
  8. export declare function xmlTree(mml: Element): Element;
  9. export declare function getTree(mml: Element): SemanticTree;
  10. export declare function getTreeFromString(expr: string): SemanticTree;