compose-scalar.d.ts 405 B

12345
  1. import { Scalar } from '../nodes/Scalar.js';
  2. import type { BlockScalar, FlowScalar, SourceToken } from '../parse/cst.js';
  3. import type { ComposeContext } from './compose-node.js';
  4. import type { ComposeErrorHandler } from './composer.js';
  5. export declare function composeScalar(ctx: ComposeContext, token: FlowScalar | BlockScalar, tagToken: SourceToken | null, onError: ComposeErrorHandler): Scalar.Parsed;