package libsail

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

Module Parse_ast.Attribute_dataSource

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.

Sourcetype 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
Sourceand attribute_data =
  1. | AD_aux of attribute_data_aux * l

JSON-style data structure for attributes

OCaml

Innovation. Community. Security.