def decl_doc.of

bend-lint-rules@0.2.0.0 · layout/format.bend:2190

import bend-lint-rules@0.2.0.0/layout/format.bend as Format
import Base

2190def decl_doc.of(inline: Bool, c: Cut, record: List<&2, Tree>, +tab: U32, +col: U32) -> Doc:
2191  match inline c:
2192    case True{} Cut{before, after, found}:
2193      cat([sequence(before, tab, col), nest(cat([hard(0), sequence(after, tab, col)]), tab)])
2194    case False{} c2:
2195      sequence(record, tab, col)

Uses (10)

Used by (1)