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