package libsail

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

We put the attribute data type in it's own module, so other modules can import it unqualified. The parse AST and the main AST share this type, so modules that wouldn't normally import this module will want to use it.

type attribute_data_aux =
  1. | AD_object of (string * attribute_data) list
  2. | AD_list of attribute_data list
  3. | AD_num of Big_int.num
  4. | AD_string of string
  5. | AD_bool of bool
and attribute_data =
  1. | AD_aux of attribute_data_aux * l

JSON-style data structure for attributes

OCaml

Innovation. Community. Security.