12 lines
562 B
TypeScript
12 lines
562 B
TypeScript
import parse, { type TokenGroup } from './parser/index.js';
|
|
import tokenize, { getToken, type AllTokens } from './tokenizer/index.js';
|
|
import convert from './convert.js';
|
|
import type { ParserOptions } from './types.js';
|
|
export { parse, tokenize, getToken, convert };
|
|
export * from './tokenizer/tokens.js';
|
|
export * from './types.js';
|
|
export type MarkupAbbreviation = TokenGroup;
|
|
/**
|
|
* Parses given abbreviation into node tree
|
|
*/
|
|
export default function parseAbbreviation(abbr: string | AllTokens[], options?: ParserOptions): import("./types.js").Abbreviation;
|