Module
FormatNix
- Package
- purescript-format-nix
- Repository
- justinwoo/format-nix
#Expr Source
data Expr
Constructors
Expression (Array Expr)
Comment String
Spath String
Path String
StringValue String
Integer String
StringIndented String
Unary String Expr
Binary Expr String Expr
Identifier String
Function Expr Expr
SetFunction Expr Expr
App Expr Expr
Let (Array Expr) (Array Expr)
If Expr Expr Expr
AttrSet (Array Expr)
RecAttrSet (Array Expr)
Parens Expr
List (Array Expr)
Bind Expr Expr
AttrPath String
Inherit (Array Expr)
With Expr Expr
Attrs (Array Expr)
Select Expr Expr
Formals (Array Expr)
Ellipses
Formal Expr (Maybe Expr)
Uri String
Instances
#type_ Source
type_ :: Node -> TypeString
#TreeSitterLanguage Source
data TreeSitterLanguage :: Type
#TreeSitterParser Source
data TreeSitterParser :: Type
#nodeToString Source
nodeToString :: Node -> String
#ReadResult Source
type ReadResult = Either UnknownExpr Expr
#readNode Source
readNode :: Node -> ReadResult
#readChildren Source
readChildren :: (Array Expr -> Expr) -> Node -> ReadResult
#readNode' Source
readNode' :: TypeString -> Node -> ReadResult
#containsFetch Source
containsFetch :: Expr -> Boolean
- Modules
- FormatNix