UNPKG

astn

Version:

The TypeScript library for parsing and formatting ASTN (Abstract Syntax Tree Notation) - a human-editable data format for structured content

7 lines (6 loc) 405 B
import * as _ea from 'exupery-core-alg'; import * as _parse_result from "../../interface/generated/pareto/schemas/authoring_parse_result/data_types/target"; import * as s_ast from "../../interface/generated/pareto/schemas/authoring_parse_tree/data_types/target"; export declare const parse: ($: string, $p: { "tab size": number; }) => _ea.Refinement_Result<s_ast.Document, _parse_result.Parse_Error>;