yaml-unist-parser
Version:
A YAML parser that produces output compatible with unist
10 lines (9 loc) • 444 B
TypeScript
import { Context } from "../transform.js";
import { Comment, Point } from "../types.js";
import * as YAML from "../yaml.js";
export declare function transformDocumentBody(document: YAML.ast.Document, context: Context, headEndMarkerPoint: null | Point): {
documentBody: import("../types.js").DocumentBody;
documentEndPoint: Point;
documentTrailingComment: Comment | null;
documentHeadTrailingComment: Comment | null;
};