devsite/node_modules/yaml/dist/compose/compose-scalar.d.ts

6 lines
405 B
TypeScript
Raw Permalink Normal View History

2024-07-08 01:49:38 +00:00
import { Scalar } from '../nodes/Scalar.js';
import type { BlockScalar, FlowScalar, SourceToken } from '../parse/cst.js';
import type { ComposeContext } from './compose-node.js';
import type { ComposeErrorHandler } from './composer.js';
export declare function composeScalar(ctx: ComposeContext, token: FlowScalar | BlockScalar, tagToken: SourceToken | null, onError: ComposeErrorHandler): Scalar.Parsed;