Sha256: 413c76abbf20ed715ba7d14d691b0b15c5a3d824b5dbb40aa105e470156add73

Contents?: true

Size: 634 Bytes

Versions: 7

Compression:

Stored size: 634 Bytes

Contents

import { CodeBlock } from "../parser/types";
import { Formatter } from "./Formatter";
export default class FormatRule {
  formatter: Formatter;
  constructor(formatter: Formatter);
  matches(cb: CodeBlock, siblings?: CodeBlock[]): boolean;
  afterSelf(nextText: string, indent: number): string;
  beforeSelf(prevText: string, indent: number, newLine: boolean): string;
  beforeChild(childText: string, indent: number): string;
  formatStart(cb: CodeBlock, indent: number): string;
  formatEnd(cb: CodeBlock, indent: number): string;
  allowBreak(cb: CodeBlock): boolean;
  formatChildren(parent: 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/FormatRule.d.ts
dorian-2.6.2 vendor/groovy-beautify/dist/formatter/FormatRule.d.ts
dorian-2.6.1 vendor/groovy-beautify/dist/formatter/FormatRule.d.ts
dorian-2.6.0 vendor/groovy-beautify/dist/formatter/FormatRule.d.ts
dorian-2.5.2 vendor/groovy-beautify/dist/formatter/FormatRule.d.ts
dorian-2.5.1 vendor/groovy-beautify/dist/formatter/FormatRule.d.ts
dorian-2.5.0 vendor/groovy-beautify/dist/formatter/FormatRule.d.ts