resolve-block-scalar.d.ts 494 B

1234567891011
  1. import { Range } from '../nodes/Node.js';
  2. import { Scalar } from '../nodes/Scalar.js';
  3. import type { BlockScalar } from '../parse/cst.js';
  4. import type { ComposeContext } from './compose-node.js';
  5. import type { ComposeErrorHandler } from './composer.js';
  6. export declare function resolveBlockScalar(ctx: ComposeContext, scalar: BlockScalar, onError: ComposeErrorHandler): {
  7. value: string;
  8. type: Scalar.BLOCK_FOLDED | Scalar.BLOCK_LITERAL | null;
  9. comment: string;
  10. range: Range;
  11. };