resolve-block-scalar.d.ts 433 B

12345678910
  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 { ComposeErrorHandler } from './composer.js';
  5. export declare function resolveBlockScalar(scalar: BlockScalar, strict: boolean, onError: ComposeErrorHandler): {
  6. value: string;
  7. type: Scalar.BLOCK_FOLDED | Scalar.BLOCK_LITERAL | null;
  8. comment: string;
  9. range: Range;
  10. };