Sha256: 587ef17bbe434f2ee55bd4d50ac08f7f1705b642ff5cbde1385bd3db24ab3479

Contents?: true

Size: 360 Bytes

Versions: 7

Compression:

Stored size: 360 Bytes

Contents

import { CodeBlock } from "../parser/types";
import FormatRule from "./FormatRule";
export declare type FormatterOptions = {
  width: number;
};
export declare class Formatter {
  rules: FormatRule[];
  options: FormatterOptions;
  constructor(rules?: Array<typeof FormatRule>, options?: FormatterOptions);
  format(obj: CodeBlock, indent?: number): string;
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dorian-2.6.3 vendor/groovy-beautify/dist/formatter/Formatter.d.ts
dorian-2.6.2 vendor/groovy-beautify/dist/formatter/Formatter.d.ts
dorian-2.6.1 vendor/groovy-beautify/dist/formatter/Formatter.d.ts
dorian-2.6.0 vendor/groovy-beautify/dist/formatter/Formatter.d.ts
dorian-2.5.2 vendor/groovy-beautify/dist/formatter/Formatter.d.ts
dorian-2.5.1 vendor/groovy-beautify/dist/formatter/Formatter.d.ts
dorian-2.5.0 vendor/groovy-beautify/dist/formatter/Formatter.d.ts