Fediversity/website/node_modules/yaml/dist/compose/compose-scalar.d.ts
2024-11-13 15:47:11 +01:00

6 lines
405 B
TypeScript

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;