Module

FormatNix

Package
purescript-format-nix
Repository
justinwoo/format-nix

#UnknownExpr Source

#Node Source

data Node :: Type

Node from tree-sitter

#namedChildren Source

namedChildren :: Node -> Array Node

Filter for named children

#isNamed Source

isNamed :: Node -> Boolean

Is a given Node Real or is it fake?

#TypeString Source

#TreeSitterLanguage Source

#TreeSitterParser Source

#Tree Source

data Tree :: Type

#rootNode Source

#nodeToString Source

#readChildren Source

#Context Source

type Context = { fetch :: Boolean }

#defaultContext Source

#expr2Doc Source

#containsFetch Source

#dwords Source

dwords :: forall f. Foldable f => f Doc -> Doc

#dlines Source

dlines :: forall f. Foldable f => f Doc -> Doc

#dlines2 Source

dlines2 :: forall f. Foldable f => f Doc -> Doc

#printExpr Source

Modules
FormatNix