package tiny_languages

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Jsonnet_astSource

Sourcetype visibility =
  1. | Default
  2. | Hidden
  3. | Visible
Sourcetype expr =
  1. | Null
  2. | Bool of bool
  3. | Num of float
  4. | Str of string
  5. | Self
  6. | Dollar
  7. | Var of string
  8. | Array of expr list
  9. | Array_comp of expr * comp list
  10. | Object of member list
  11. | Object_comp of (string * expr) list * expr * expr * comp list
  12. | Field of expr * string
  13. | Index of expr * expr
  14. | Slice of expr * expr option * expr option * expr option
  15. | Super_field of string
  16. | Super_index of expr
  17. | In_super of expr
  18. | Call of expr * expr list * (string * expr) list
  19. | Local of (string * expr) list * expr
  20. | If of expr * expr * expr option
  21. | Binary of string * expr * expr
  22. | Unary of string * expr
  23. | Function of param list * expr
  24. | Assert of expr * expr option * expr
  25. | Import of string
  26. | Importstr of string
  27. | Error of expr
  28. | At of int * expr
Sourceand param = string * expr option
Sourceand comp =
  1. | For of string * expr
  2. | If_comp of expr
Sourceand member =
  1. | Field_m of field_name * bool * visibility * expr
  2. | Local_m of string * expr
  3. | Assert_m of expr * expr option
Sourceand field_name =
  1. | Fixed of string
  2. | Computed of expr