resolve-flow-scalar.d.ts 444 B

12345678910
  1. import { Range } from '../nodes/Node.js';
  2. import { Scalar } from '../nodes/Scalar.js';
  3. import type { FlowScalar } from '../parse/cst.js';
  4. import type { ComposeErrorHandler } from './composer.js';
  5. export declare function resolveFlowScalar(scalar: FlowScalar, strict: boolean, onError: ComposeErrorHandler): {
  6. value: string;
  7. type: Scalar.PLAIN | Scalar.QUOTE_DOUBLE | Scalar.QUOTE_SINGLE | null;
  8. comment: string;
  9. range: Range;
  10. };