harmonyc
Version:
Harmony Code - model-driven BDD for Vitest
21 lines (20 loc) • 749 B
TypeScript
import { SourceNode } from 'source-map-js';
import { Location } from '../model/model.ts';
export declare class OutFile {
name: string;
sourceFile: string;
level: number;
sm: SourceNode;
indentSpaces: number;
constructor(name: string, sourceFile: string);
indent(fn: () => void): void;
private get currentIndent();
clear(): void;
printn(line: string, start?: Location, name?: string, end?: Location): void;
print(line: string, start?: Location, name?: string, end?: Location): void;
write(line: string, start?: Location, name?: string, end?: Location): void;
nl(): void;
get sourceMap(): import("source-map-js").RawSourceMap;
get valueWithoutSourceMap(): string;
get value(): string;
}