package tiny_languages

  1. Overview
  2. Docs
Small languages from scratch: Scheme, Lisp, Smalltalk-80, Pascal, BASIC, JavaScript, HTML, CSS and more

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.3.6.tar.gz
md5=7c636383d146d30ac6f2fa234a6253c8
sha512=c79f3823c5f8f57e5038eb640d487c61168b84aa07c61999d6622ef9fd0c890e2b03b4c6a7cdbbe9352a49e25dda00ac7bb14693cee8e3d7beeed251351a2af0

doc/tiny_languages.lang_jsonnet/Jsonnet_ast/index.html

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