jsonnet-0.2.0.0: Jsonnet implementaton in pure Haskell
Safe HaskellNone
LanguageHaskell2010

Language.Jsonnet.Parser

Synopsis

Documentation

opTable :: [[Operator Parser Expr']] Source #

associativity and operator precedence 1. e(...) e[...] e.f (application and indexing) 2. + - ! ~ (the unary operators) 3. * / % (these, and the remainder below, are binary operators) 4. + - 5. << >> 6. < > <= >= in 7. == != 8. & 9. ^ 10. | 11. && 12. || default is associate to the left

postfixObjectMerge :: Parser (Expr' -> Expr') Source #

shorthand syntax for object composition: when the right-hand side is an object literal the + operator can be elided.

postfixOperators :: Parser (Expr' -> Expr') Source #

application, indexing and lookup: e(...) e[...] e.f all have the same precedence (the highest)