UNPKG

jc-marked

Version:

Markdown AST (Abstract syntax tree) parser based on finite-state machine (FSM).

10 lines (9 loc) 369 B
declare class _StateNotExistError extends Error { constructor(state: string); } declare class _InputError extends Error { constructor(except: string, but: string); } declare function StateNotExistError(state: string): _StateNotExistError; declare function InputTypeError(except: string, but: string): _InputError; export { StateNotExistError, InputTypeError };