opencode-data / .opencode /node_modules /yaml /dist /compose /resolve-flow-scalar.d.ts
Chenloong999's picture
backup 2026-05-20T03:27:17.780508
31e8457 verified
Raw History Blame Contribute Delete
437 Bytes
import type { Range } from '../nodes/Node';
import { Scalar } from '../nodes/Scalar';
import type { FlowScalar } from '../parse/cst';
import type { ComposeErrorHandler } from './composer';
export declare function resolveFlowScalar(scalar: FlowScalar, strict: boolean, onError: ComposeErrorHandler): {
value: string;
type: Scalar.PLAIN | Scalar.QUOTE_DOUBLE | Scalar.QUOTE_SINGLE | null;
comment: string;
range: Range;
};