Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type class_kind = Ast_generic_v1_t.class_kind
type concat_string_kind = Ast_generic_v1_t.concat_string_kind
type const_type = Ast_generic_v1_t.const_type
type container_operator = Ast_generic_v1_t.container_operator
type function_kind = Ast_generic_v1_t.function_kind
type incr_decr = Ast_generic_v1_t.incr_decr
type keyword_attribute = Ast_generic_v1_t.keyword_attribute
type operator = Ast_generic_v1_t.operator
type prefix_postfix = Ast_generic_v1_t.prefix_postfix
type sid = Ast_generic_v1_t.sid
type special = Ast_generic_v1_t.special
type token = Ast_generic_v1_t.token
type tok = Ast_generic_v1_t.tok
type 'a bracket = 'a Ast_generic_v1_t.bracket
type sc = Ast_generic_v1_t.sc
type variance = Ast_generic_v1_t.variance
type 'a wrap_ = 'a Ast_generic_v1_t.wrap_
type ident = Ast_generic_v1_t.ident
type dotted_ident = Ast_generic_v1_t.dotted_ident
type label = Ast_generic_v1_t.label
type literal = Ast_generic_v1_t.literal
type module_name = Ast_generic_v1_t.module_name
type resolved_name_kind = Ast_generic_v1_t.resolved_name_kind
type resolved_name = Ast_generic_v1_t.resolved_name
type todo_kind = Ast_generic_v1_t.todo_kind
type xml_kind = Ast_generic_v1_t.xml_kind
type alias = Ast_generic_v1_t.alias
and any = Ast_generic_v1_t.any
and argument = Ast_generic_v1_t.argument
and arguments = Ast_generic_v1_t.arguments
and attribute = Ast_generic_v1_t.attribute
and case = Ast_generic_v1_t.case
and case_and_body = Ast_generic_v1_t.case_and_body
and catch = Ast_generic_v1_t.catch
and catch_exn = Ast_generic_v1_t.catch_exn
and class_definition = Ast_generic_v1_t.class_definition = {
ckind : class_kind wrap_;
cextends : class_parent list;
cimplements : type_ list;
cmixins : type_ list;
cparams : parameters;
cbody : field list bracket;
}
and class_parent = Ast_generic_v1_t.class_parent
and comprehension = Ast_generic_v1_t.comprehension
and condition = Ast_generic_v1_t.condition
and definition = Ast_generic_v1_t.definition
and definition_kind = Ast_generic_v1_t.definition_kind
and directive = Ast_generic_v1_t.directive
and entity = Ast_generic_v1_t.entity = {
name : entity_name;
attrs : attribute list;
tparams : type_parameters;
}
and entity_name = Ast_generic_v1_t.entity_name
and expr = Ast_generic_v1_t.expr
and field = Ast_generic_v1_t.field
and field_name = Ast_generic_v1_t.field_name
and finally = Ast_generic_v1_t.finally
and for_each = Ast_generic_v1_t.for_each
and for_header = Ast_generic_v1_t.for_header
and for_or_if_comp = Ast_generic_v1_t.for_or_if_comp
and for_var_or_expr = Ast_generic_v1_t.for_var_or_expr
and function_body = Ast_generic_v1_t.function_body
and function_definition = Ast_generic_v1_t.function_definition = {
fkind : function_kind wrap_;
fparams : parameters;
frettype : type_ option;
fbody : function_body;
}
and id_info = Ast_generic_v1_t.id_info = {
id_resolved : resolved_name option;
id_type : type_ option;
id_svalue : svalue option;
}
and item = Ast_generic_v1_t.item
and label_ident = Ast_generic_v1_t.label_ident
and module_definition_kind = Ast_generic_v1_t.module_definition_kind
and multi_for_each = Ast_generic_v1_t.multi_for_each
and name = Ast_generic_v1_t.name
and or_type_element = Ast_generic_v1_t.or_type_element
and parameter = Ast_generic_v1_t.parameter
and parameters = Ast_generic_v1_t.parameters
and pattern = Ast_generic_v1_t.pattern
and qualified_info = Ast_generic_v1_t.qualified_info = {
name_last : ident * type_arguments option;
name_middle : qualifier option;
name_top : tok option;
name_info : id_info;
}
and qualifier = Ast_generic_v1_t.qualifier
and stmt = Ast_generic_v1_t.stmt
and svalue = Ast_generic_v1_t.svalue
and type_ = Ast_generic_v1_t.type_
and type_argument = Ast_generic_v1_t.type_argument
and type_arguments = Ast_generic_v1_t.type_arguments
and type_definition_kind = Ast_generic_v1_t.type_definition_kind
and type_parameter = Ast_generic_v1_t.type_parameter
and type_parameters = Ast_generic_v1_t.type_parameters
and xml = Ast_generic_v1_t.xml = {
xml_kind : xml_kind;
xml_attrs : xml_attribute list;
xml_body : xml_body list;
}
and xml_attr_value = Ast_generic_v1_t.xml_attr_value
and xml_attribute = Ast_generic_v1_t.xml_attribute
and xml_body = Ast_generic_v1_t.xml_body
type program = Ast_generic_v1_t.program
val write_class_kind : Stdlib.Buffer.t -> class_kind -> unit
Output a JSON value of type class_kind
.
val string_of_class_kind : ?len:int -> class_kind -> string
Serialize a value of type class_kind
into a JSON string.
val read_class_kind :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
class_kind
Input JSON data of type class_kind
.
val class_kind_of_string : string -> class_kind
Deserialize JSON data of type class_kind
.
val write_concat_string_kind : Stdlib.Buffer.t -> concat_string_kind -> unit
Output a JSON value of type concat_string_kind
.
val string_of_concat_string_kind : ?len:int -> concat_string_kind -> string
Serialize a value of type concat_string_kind
into a JSON string.
val read_concat_string_kind :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
concat_string_kind
Input JSON data of type concat_string_kind
.
val concat_string_kind_of_string : string -> concat_string_kind
Deserialize JSON data of type concat_string_kind
.
val write_const_type : Stdlib.Buffer.t -> const_type -> unit
Output a JSON value of type const_type
.
val string_of_const_type : ?len:int -> const_type -> string
Serialize a value of type const_type
into a JSON string.
val read_const_type :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
const_type
Input JSON data of type const_type
.
val const_type_of_string : string -> const_type
Deserialize JSON data of type const_type
.
val write_container_operator : Stdlib.Buffer.t -> container_operator -> unit
Output a JSON value of type container_operator
.
val string_of_container_operator : ?len:int -> container_operator -> string
Serialize a value of type container_operator
into a JSON string.
val read_container_operator :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
container_operator
Input JSON data of type container_operator
.
val container_operator_of_string : string -> container_operator
Deserialize JSON data of type container_operator
.
val write_function_kind : Stdlib.Buffer.t -> function_kind -> unit
Output a JSON value of type function_kind
.
val string_of_function_kind : ?len:int -> function_kind -> string
Serialize a value of type function_kind
into a JSON string.
val read_function_kind :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
function_kind
Input JSON data of type function_kind
.
val function_kind_of_string : string -> function_kind
Deserialize JSON data of type function_kind
.
val string_of_incr_decr : ?len:int -> incr_decr -> string
Serialize a value of type incr_decr
into a JSON string.
val read_incr_decr :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
incr_decr
Input JSON data of type incr_decr
.
val write_keyword_attribute : Stdlib.Buffer.t -> keyword_attribute -> unit
Output a JSON value of type keyword_attribute
.
val string_of_keyword_attribute : ?len:int -> keyword_attribute -> string
Serialize a value of type keyword_attribute
into a JSON string.
val read_keyword_attribute :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
keyword_attribute
Input JSON data of type keyword_attribute
.
val keyword_attribute_of_string : string -> keyword_attribute
Deserialize JSON data of type keyword_attribute
.
val string_of_operator : ?len:int -> operator -> string
Serialize a value of type operator
into a JSON string.
val read_operator : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> operator
Input JSON data of type operator
.
val write_prefix_postfix : Stdlib.Buffer.t -> prefix_postfix -> unit
Output a JSON value of type prefix_postfix
.
val string_of_prefix_postfix : ?len:int -> prefix_postfix -> string
Serialize a value of type prefix_postfix
into a JSON string.
val read_prefix_postfix :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
prefix_postfix
Input JSON data of type prefix_postfix
.
val prefix_postfix_of_string : string -> prefix_postfix
Deserialize JSON data of type prefix_postfix
.
val string_of_special : ?len:int -> special -> string
Serialize a value of type special
into a JSON string.
val read_special : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> special
Input JSON data of type special
.
val write_token_location : Stdlib.Buffer.t -> token_location -> unit
Output a JSON value of type token_location
.
val string_of_token_location : ?len:int -> token_location -> string
Serialize a value of type token_location
into a JSON string.
val read_token_location :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
token_location
Input JSON data of type token_location
.
val token_location_of_string : string -> token_location
Deserialize JSON data of type token_location
.
val string_of_token : ?len:int -> token -> string
Serialize a value of type token
into a JSON string.
val read_token : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> token
Input JSON data of type token
.
val write_bracket :
(Stdlib.Buffer.t -> 'a -> unit) ->
Stdlib.Buffer.t ->
'a bracket ->
unit
Output a JSON value of type bracket
.
val string_of_bracket :
(Stdlib.Buffer.t -> 'a -> unit) ->
?len:int ->
'a bracket ->
string
Serialize a value of type bracket
into a JSON string.
val read_bracket :
(Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> 'a) ->
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
'a bracket
Input JSON data of type bracket
.
val bracket_of_string :
(Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> 'a) ->
string ->
'a bracket
Deserialize JSON data of type bracket
.
val string_of_variance : ?len:int -> variance -> string
Serialize a value of type variance
into a JSON string.
val read_variance : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> variance
Input JSON data of type variance
.
val write_wrap_ :
(Stdlib.Buffer.t -> 'a -> unit) ->
Stdlib.Buffer.t ->
'a wrap_ ->
unit
Output a JSON value of type wrap_
.
val string_of_wrap_ :
(Stdlib.Buffer.t -> 'a -> unit) ->
?len:int ->
'a wrap_ ->
string
Serialize a value of type wrap_
into a JSON string.
val read_wrap_ :
(Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> 'a) ->
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
'a wrap_
Input JSON data of type wrap_
.
val wrap__of_string :
(Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> 'a) ->
string ->
'a wrap_
Deserialize JSON data of type wrap_
.
val string_of_ident : ?len:int -> ident -> string
Serialize a value of type ident
into a JSON string.
val read_ident : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> ident
Input JSON data of type ident
.
val write_dotted_ident : Stdlib.Buffer.t -> dotted_ident -> unit
Output a JSON value of type dotted_ident
.
val string_of_dotted_ident : ?len:int -> dotted_ident -> string
Serialize a value of type dotted_ident
into a JSON string.
val read_dotted_ident :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
dotted_ident
Input JSON data of type dotted_ident
.
val dotted_ident_of_string : string -> dotted_ident
Deserialize JSON data of type dotted_ident
.
val string_of_label : ?len:int -> label -> string
Serialize a value of type label
into a JSON string.
val read_label : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> label
Input JSON data of type label
.
val string_of_literal : ?len:int -> literal -> string
Serialize a value of type literal
into a JSON string.
val read_literal : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> literal
Input JSON data of type literal
.
val write_module_name : Stdlib.Buffer.t -> module_name -> unit
Output a JSON value of type module_name
.
val string_of_module_name : ?len:int -> module_name -> string
Serialize a value of type module_name
into a JSON string.
val read_module_name :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
module_name
Input JSON data of type module_name
.
val module_name_of_string : string -> module_name
Deserialize JSON data of type module_name
.
val write_resolved_name_kind : Stdlib.Buffer.t -> resolved_name_kind -> unit
Output a JSON value of type resolved_name_kind
.
val string_of_resolved_name_kind : ?len:int -> resolved_name_kind -> string
Serialize a value of type resolved_name_kind
into a JSON string.
val read_resolved_name_kind :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
resolved_name_kind
Input JSON data of type resolved_name_kind
.
val resolved_name_kind_of_string : string -> resolved_name_kind
Deserialize JSON data of type resolved_name_kind
.
val write_resolved_name : Stdlib.Buffer.t -> resolved_name -> unit
Output a JSON value of type resolved_name
.
val string_of_resolved_name : ?len:int -> resolved_name -> string
Serialize a value of type resolved_name
into a JSON string.
val read_resolved_name :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
resolved_name
Input JSON data of type resolved_name
.
val resolved_name_of_string : string -> resolved_name
Deserialize JSON data of type resolved_name
.
val string_of_todo_kind : ?len:int -> todo_kind -> string
Serialize a value of type todo_kind
into a JSON string.
val read_todo_kind :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
todo_kind
Input JSON data of type todo_kind
.
val string_of_xml_kind : ?len:int -> xml_kind -> string
Serialize a value of type xml_kind
into a JSON string.
val read_xml_kind : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> xml_kind
Input JSON data of type xml_kind
.
val string_of_alias : ?len:int -> alias -> string
Serialize a value of type alias
into a JSON string.
val read_alias : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> alias
Input JSON data of type alias
.
val string_of_argument : ?len:int -> argument -> string
Serialize a value of type argument
into a JSON string.
val read_argument : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> argument
Input JSON data of type argument
.
val string_of_arguments : ?len:int -> arguments -> string
Serialize a value of type arguments
into a JSON string.
val read_arguments :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
arguments
Input JSON data of type arguments
.
val string_of_attribute : ?len:int -> attribute -> string
Serialize a value of type attribute
into a JSON string.
val read_attribute :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
attribute
Input JSON data of type attribute
.
val read_case : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> case
Input JSON data of type case
.
val write_case_and_body : Stdlib.Buffer.t -> case_and_body -> unit
Output a JSON value of type case_and_body
.
val string_of_case_and_body : ?len:int -> case_and_body -> string
Serialize a value of type case_and_body
into a JSON string.
val read_case_and_body :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
case_and_body
Input JSON data of type case_and_body
.
val case_and_body_of_string : string -> case_and_body
Deserialize JSON data of type case_and_body
.
val string_of_catch : ?len:int -> catch -> string
Serialize a value of type catch
into a JSON string.
val read_catch : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> catch
Input JSON data of type catch
.
val string_of_catch_exn : ?len:int -> catch_exn -> string
Serialize a value of type catch_exn
into a JSON string.
val read_catch_exn :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
catch_exn
Input JSON data of type catch_exn
.
val write_class_definition : Stdlib.Buffer.t -> class_definition -> unit
Output a JSON value of type class_definition
.
val string_of_class_definition : ?len:int -> class_definition -> string
Serialize a value of type class_definition
into a JSON string.
val read_class_definition :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
class_definition
Input JSON data of type class_definition
.
val class_definition_of_string : string -> class_definition
Deserialize JSON data of type class_definition
.
val write_class_parent : Stdlib.Buffer.t -> class_parent -> unit
Output a JSON value of type class_parent
.
val string_of_class_parent : ?len:int -> class_parent -> string
Serialize a value of type class_parent
into a JSON string.
val read_class_parent :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
class_parent
Input JSON data of type class_parent
.
val class_parent_of_string : string -> class_parent
Deserialize JSON data of type class_parent
.
val write_comprehension : Stdlib.Buffer.t -> comprehension -> unit
Output a JSON value of type comprehension
.
val string_of_comprehension : ?len:int -> comprehension -> string
Serialize a value of type comprehension
into a JSON string.
val read_comprehension :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
comprehension
Input JSON data of type comprehension
.
val comprehension_of_string : string -> comprehension
Deserialize JSON data of type comprehension
.
val string_of_condition : ?len:int -> condition -> string
Serialize a value of type condition
into a JSON string.
val read_condition :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
condition
Input JSON data of type condition
.
val write_definition : Stdlib.Buffer.t -> definition -> unit
Output a JSON value of type definition
.
val string_of_definition : ?len:int -> definition -> string
Serialize a value of type definition
into a JSON string.
val read_definition :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
definition
Input JSON data of type definition
.
val definition_of_string : string -> definition
Deserialize JSON data of type definition
.
val write_definition_kind : Stdlib.Buffer.t -> definition_kind -> unit
Output a JSON value of type definition_kind
.
val string_of_definition_kind : ?len:int -> definition_kind -> string
Serialize a value of type definition_kind
into a JSON string.
val read_definition_kind :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
definition_kind
Input JSON data of type definition_kind
.
val definition_kind_of_string : string -> definition_kind
Deserialize JSON data of type definition_kind
.
val string_of_directive : ?len:int -> directive -> string
Serialize a value of type directive
into a JSON string.
val read_directive :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
directive
Input JSON data of type directive
.
val string_of_entity : ?len:int -> entity -> string
Serialize a value of type entity
into a JSON string.
val read_entity : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> entity
Input JSON data of type entity
.
val write_entity_name : Stdlib.Buffer.t -> entity_name -> unit
Output a JSON value of type entity_name
.
val string_of_entity_name : ?len:int -> entity_name -> string
Serialize a value of type entity_name
into a JSON string.
val read_entity_name :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
entity_name
Input JSON data of type entity_name
.
val entity_name_of_string : string -> entity_name
Deserialize JSON data of type entity_name
.
val write_enum_entry_definition :
Stdlib.Buffer.t ->
enum_entry_definition ->
unit
Output a JSON value of type enum_entry_definition
.
val string_of_enum_entry_definition :
?len:int ->
enum_entry_definition ->
string
Serialize a value of type enum_entry_definition
into a JSON string.
val read_enum_entry_definition :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
enum_entry_definition
Input JSON data of type enum_entry_definition
.
val enum_entry_definition_of_string : string -> enum_entry_definition
Deserialize JSON data of type enum_entry_definition
.
val read_expr : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> expr
Input JSON data of type expr
.
val string_of_field : ?len:int -> field -> string
Serialize a value of type field
into a JSON string.
val read_field : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> field
Input JSON data of type field
.
val write_field_name : Stdlib.Buffer.t -> field_name -> unit
Output a JSON value of type field_name
.
val string_of_field_name : ?len:int -> field_name -> string
Serialize a value of type field_name
into a JSON string.
val read_field_name :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
field_name
Input JSON data of type field_name
.
val field_name_of_string : string -> field_name
Deserialize JSON data of type field_name
.
val string_of_finally : ?len:int -> finally -> string
Serialize a value of type finally
into a JSON string.
val read_finally : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> finally
Input JSON data of type finally
.
val string_of_for_each : ?len:int -> for_each -> string
Serialize a value of type for_each
into a JSON string.
val read_for_each : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> for_each
Input JSON data of type for_each
.
val write_for_header : Stdlib.Buffer.t -> for_header -> unit
Output a JSON value of type for_header
.
val string_of_for_header : ?len:int -> for_header -> string
Serialize a value of type for_header
into a JSON string.
val read_for_header :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
for_header
Input JSON data of type for_header
.
val for_header_of_string : string -> for_header
Deserialize JSON data of type for_header
.
val write_for_or_if_comp : Stdlib.Buffer.t -> for_or_if_comp -> unit
Output a JSON value of type for_or_if_comp
.
val string_of_for_or_if_comp : ?len:int -> for_or_if_comp -> string
Serialize a value of type for_or_if_comp
into a JSON string.
val read_for_or_if_comp :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
for_or_if_comp
Input JSON data of type for_or_if_comp
.
val for_or_if_comp_of_string : string -> for_or_if_comp
Deserialize JSON data of type for_or_if_comp
.
val write_for_var_or_expr : Stdlib.Buffer.t -> for_var_or_expr -> unit
Output a JSON value of type for_var_or_expr
.
val string_of_for_var_or_expr : ?len:int -> for_var_or_expr -> string
Serialize a value of type for_var_or_expr
into a JSON string.
val read_for_var_or_expr :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
for_var_or_expr
Input JSON data of type for_var_or_expr
.
val for_var_or_expr_of_string : string -> for_var_or_expr
Deserialize JSON data of type for_var_or_expr
.
val write_function_body : Stdlib.Buffer.t -> function_body -> unit
Output a JSON value of type function_body
.
val string_of_function_body : ?len:int -> function_body -> string
Serialize a value of type function_body
into a JSON string.
val read_function_body :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
function_body
Input JSON data of type function_body
.
val function_body_of_string : string -> function_body
Deserialize JSON data of type function_body
.
val write_function_definition : Stdlib.Buffer.t -> function_definition -> unit
Output a JSON value of type function_definition
.
val string_of_function_definition : ?len:int -> function_definition -> string
Serialize a value of type function_definition
into a JSON string.
val read_function_definition :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
function_definition
Input JSON data of type function_definition
.
val function_definition_of_string : string -> function_definition
Deserialize JSON data of type function_definition
.
val string_of_id_info : ?len:int -> id_info -> string
Serialize a value of type id_info
into a JSON string.
val read_id_info : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> id_info
Input JSON data of type id_info
.
val read_item : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> item
Input JSON data of type item
.
val write_label_ident : Stdlib.Buffer.t -> label_ident -> unit
Output a JSON value of type label_ident
.
val string_of_label_ident : ?len:int -> label_ident -> string
Serialize a value of type label_ident
into a JSON string.
val read_label_ident :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
label_ident
Input JSON data of type label_ident
.
val label_ident_of_string : string -> label_ident
Deserialize JSON data of type label_ident
.
val write_macro_definition : Stdlib.Buffer.t -> macro_definition -> unit
Output a JSON value of type macro_definition
.
val string_of_macro_definition : ?len:int -> macro_definition -> string
Serialize a value of type macro_definition
into a JSON string.
val read_macro_definition :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
macro_definition
Input JSON data of type macro_definition
.
val macro_definition_of_string : string -> macro_definition
Deserialize JSON data of type macro_definition
.
val write_module_definition : Stdlib.Buffer.t -> module_definition -> unit
Output a JSON value of type module_definition
.
val string_of_module_definition : ?len:int -> module_definition -> string
Serialize a value of type module_definition
into a JSON string.
val read_module_definition :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
module_definition
Input JSON data of type module_definition
.
val module_definition_of_string : string -> module_definition
Deserialize JSON data of type module_definition
.
val write_module_definition_kind :
Stdlib.Buffer.t ->
module_definition_kind ->
unit
Output a JSON value of type module_definition_kind
.
val string_of_module_definition_kind :
?len:int ->
module_definition_kind ->
string
Serialize a value of type module_definition_kind
into a JSON string.
val read_module_definition_kind :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
module_definition_kind
Input JSON data of type module_definition_kind
.
val module_definition_kind_of_string : string -> module_definition_kind
Deserialize JSON data of type module_definition_kind
.
val write_multi_for_each : Stdlib.Buffer.t -> multi_for_each -> unit
Output a JSON value of type multi_for_each
.
val string_of_multi_for_each : ?len:int -> multi_for_each -> string
Serialize a value of type multi_for_each
into a JSON string.
val read_multi_for_each :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
multi_for_each
Input JSON data of type multi_for_each
.
val multi_for_each_of_string : string -> multi_for_each
Deserialize JSON data of type multi_for_each
.
val read_name : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> name
Input JSON data of type name
.
val write_or_type_element : Stdlib.Buffer.t -> or_type_element -> unit
Output a JSON value of type or_type_element
.
val string_of_or_type_element : ?len:int -> or_type_element -> string
Serialize a value of type or_type_element
into a JSON string.
val read_or_type_element :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
or_type_element
Input JSON data of type or_type_element
.
val or_type_element_of_string : string -> or_type_element
Deserialize JSON data of type or_type_element
.
val string_of_parameter : ?len:int -> parameter -> string
Serialize a value of type parameter
into a JSON string.
val read_parameter :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
parameter
Input JSON data of type parameter
.
val write_parameter_classic : Stdlib.Buffer.t -> parameter_classic -> unit
Output a JSON value of type parameter_classic
.
val string_of_parameter_classic : ?len:int -> parameter_classic -> string
Serialize a value of type parameter_classic
into a JSON string.
val read_parameter_classic :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
parameter_classic
Input JSON data of type parameter_classic
.
val parameter_classic_of_string : string -> parameter_classic
Deserialize JSON data of type parameter_classic
.
val write_parameters : Stdlib.Buffer.t -> parameters -> unit
Output a JSON value of type parameters
.
val string_of_parameters : ?len:int -> parameters -> string
Serialize a value of type parameters
into a JSON string.
val read_parameters :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
parameters
Input JSON data of type parameters
.
val parameters_of_string : string -> parameters
Deserialize JSON data of type parameters
.
val string_of_pattern : ?len:int -> pattern -> string
Serialize a value of type pattern
into a JSON string.
val read_pattern : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> pattern
Input JSON data of type pattern
.
val write_qualified_info : Stdlib.Buffer.t -> qualified_info -> unit
Output a JSON value of type qualified_info
.
val string_of_qualified_info : ?len:int -> qualified_info -> string
Serialize a value of type qualified_info
into a JSON string.
val read_qualified_info :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
qualified_info
Input JSON data of type qualified_info
.
val qualified_info_of_string : string -> qualified_info
Deserialize JSON data of type qualified_info
.
val string_of_qualifier : ?len:int -> qualifier -> string
Serialize a value of type qualifier
into a JSON string.
val read_qualifier :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
qualifier
Input JSON data of type qualifier
.
val read_stmt : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> stmt
Input JSON data of type stmt
.
val string_of_svalue : ?len:int -> svalue -> string
Serialize a value of type svalue
into a JSON string.
val read_svalue : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> svalue
Input JSON data of type svalue
.
val string_of_type_ : ?len:int -> type_ -> string
Serialize a value of type type_
into a JSON string.
val read_type_ : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> type_
Input JSON data of type type_
.
val write_type_argument : Stdlib.Buffer.t -> type_argument -> unit
Output a JSON value of type type_argument
.
val string_of_type_argument : ?len:int -> type_argument -> string
Serialize a value of type type_argument
into a JSON string.
val read_type_argument :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
type_argument
Input JSON data of type type_argument
.
val type_argument_of_string : string -> type_argument
Deserialize JSON data of type type_argument
.
val write_type_arguments : Stdlib.Buffer.t -> type_arguments -> unit
Output a JSON value of type type_arguments
.
val string_of_type_arguments : ?len:int -> type_arguments -> string
Serialize a value of type type_arguments
into a JSON string.
val read_type_arguments :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
type_arguments
Input JSON data of type type_arguments
.
val type_arguments_of_string : string -> type_arguments
Deserialize JSON data of type type_arguments
.
val write_type_definition : Stdlib.Buffer.t -> type_definition -> unit
Output a JSON value of type type_definition
.
val string_of_type_definition : ?len:int -> type_definition -> string
Serialize a value of type type_definition
into a JSON string.
val read_type_definition :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
type_definition
Input JSON data of type type_definition
.
val type_definition_of_string : string -> type_definition
Deserialize JSON data of type type_definition
.
val write_type_definition_kind :
Stdlib.Buffer.t ->
type_definition_kind ->
unit
Output a JSON value of type type_definition_kind
.
val string_of_type_definition_kind : ?len:int -> type_definition_kind -> string
Serialize a value of type type_definition_kind
into a JSON string.
val read_type_definition_kind :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
type_definition_kind
Input JSON data of type type_definition_kind
.
val type_definition_kind_of_string : string -> type_definition_kind
Deserialize JSON data of type type_definition_kind
.
val write_type_parameter : Stdlib.Buffer.t -> type_parameter -> unit
Output a JSON value of type type_parameter
.
val string_of_type_parameter : ?len:int -> type_parameter -> string
Serialize a value of type type_parameter
into a JSON string.
val read_type_parameter :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
type_parameter
Input JSON data of type type_parameter
.
val type_parameter_of_string : string -> type_parameter
Deserialize JSON data of type type_parameter
.
val write_type_parameter_classic :
Stdlib.Buffer.t ->
type_parameter_classic ->
unit
Output a JSON value of type type_parameter_classic
.
val string_of_type_parameter_classic :
?len:int ->
type_parameter_classic ->
string
Serialize a value of type type_parameter_classic
into a JSON string.
val read_type_parameter_classic :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
type_parameter_classic
Input JSON data of type type_parameter_classic
.
val type_parameter_classic_of_string : string -> type_parameter_classic
Deserialize JSON data of type type_parameter_classic
.
val write_type_parameters : Stdlib.Buffer.t -> type_parameters -> unit
Output a JSON value of type type_parameters
.
val string_of_type_parameters : ?len:int -> type_parameters -> string
Serialize a value of type type_parameters
into a JSON string.
val read_type_parameters :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
type_parameters
Input JSON data of type type_parameters
.
val type_parameters_of_string : string -> type_parameters
Deserialize JSON data of type type_parameters
.
val write_variable_definition : Stdlib.Buffer.t -> variable_definition -> unit
Output a JSON value of type variable_definition
.
val string_of_variable_definition : ?len:int -> variable_definition -> string
Serialize a value of type variable_definition
into a JSON string.
val read_variable_definition :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
variable_definition
Input JSON data of type variable_definition
.
val variable_definition_of_string : string -> variable_definition
Deserialize JSON data of type variable_definition
.
val write_xml_attr_value : Stdlib.Buffer.t -> xml_attr_value -> unit
Output a JSON value of type xml_attr_value
.
val string_of_xml_attr_value : ?len:int -> xml_attr_value -> string
Serialize a value of type xml_attr_value
into a JSON string.
val read_xml_attr_value :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
xml_attr_value
Input JSON data of type xml_attr_value
.
val xml_attr_value_of_string : string -> xml_attr_value
Deserialize JSON data of type xml_attr_value
.
val write_xml_attribute : Stdlib.Buffer.t -> xml_attribute -> unit
Output a JSON value of type xml_attribute
.
val string_of_xml_attribute : ?len:int -> xml_attribute -> string
Serialize a value of type xml_attribute
into a JSON string.
val read_xml_attribute :
Yojson.Safe.lexer_state ->
Stdlib.Lexing.lexbuf ->
xml_attribute
Input JSON data of type xml_attribute
.
val xml_attribute_of_string : string -> xml_attribute
Deserialize JSON data of type xml_attribute
.
val string_of_xml_body : ?len:int -> xml_body -> string
Serialize a value of type xml_body
into a JSON string.
val read_xml_body : Yojson.Safe.lexer_state -> Stdlib.Lexing.lexbuf -> xml_body
Input JSON data of type xml_body
.
val string_of_program : ?len:int -> program -> string
Serialize a value of type program
into a JSON string.