package ast_generic
Install
Dune Dependency
Authors
Maintainers
Sources
md5=d72b17df65c5cea30701cdf25f186bca
sha512=b135affadcdeb892352ec269a8761e41d2b34383ee839b83855f9604983eae324732b76f1b2b8b305dfc06f1f8863dd32afe83528bf605daa910a3fc107474c5
doc/ast_generic/Ast_generic_v1_j/index.html
Module Ast_generic_v1_j
Source
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 entity = Ast_generic_v1_t.entity = {
name : entity_name;
attrs : attribute list;
tparams : type_parameters;
}
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 module_definition = Ast_generic_v1_t.module_definition = {
mbody : module_definition_kind;
}
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 xml = Ast_generic_v1_t.xml = {
xml_kind : xml_kind;
xml_attrs : xml_attribute list;
xml_body : xml_body list;
}
Output a JSON value of type class_kind
.
Serialize a value of type class_kind
into a JSON string.
Input JSON data of type class_kind
.
Deserialize JSON data of type class_kind
.
Output a JSON value of type concat_string_kind
.
Serialize a value of type concat_string_kind
into a JSON string.
Input JSON data of type concat_string_kind
.
Deserialize JSON data of type concat_string_kind
.
Output a JSON value of type const_type
.
Serialize a value of type const_type
into a JSON string.
Input JSON data of type const_type
.
Deserialize JSON data of type const_type
.
Output a JSON value of type container_operator
.
Serialize a value of type container_operator
into a JSON string.
Input JSON data of type container_operator
.
Deserialize JSON data of type container_operator
.
Output a JSON value of type function_kind
.
Serialize a value of type function_kind
into a JSON string.
Input JSON data of type function_kind
.
Deserialize JSON data of type function_kind
.
Serialize a value of type incr_decr
into a JSON string.
Input JSON data of type incr_decr
.
Output a JSON value of type keyword_attribute
.
Serialize a value of type keyword_attribute
into a JSON string.
Input JSON data of type keyword_attribute
.
Deserialize JSON data of type keyword_attribute
.
Serialize a value of type operator
into a JSON string.
Input JSON data of type operator
.
Output a JSON value of type prefix_postfix
.
Serialize a value of type prefix_postfix
into a JSON string.
Input JSON data of type prefix_postfix
.
Deserialize JSON data of type prefix_postfix
.
Serialize a value of type sid
into a JSON string.
Input JSON data of type sid
.
Serialize a value of type special
into a JSON string.
Input JSON data of type special
.
Output a JSON value of type token_location
.
Serialize a value of type token_location
into a JSON string.
Input JSON data of type token_location
.
Deserialize JSON data of type token_location
.
Serialize a value of type token
into a JSON string.
Input JSON data of type token
.
Serialize a value of type tok
into a JSON string.
Input JSON data of type tok
.
Output a JSON value of type bracket
.
Serialize a value of type bracket
into a JSON string.
val read_bracket :
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'a) ->
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
'a bracket
Input JSON data of type bracket
.
val bracket_of_string :
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'a) ->
string ->
'a bracket
Deserialize JSON data of type bracket
.
Input JSON data of type sc
.
Serialize a value of type variance
into a JSON string.
Input JSON data of type variance
.
Output a JSON value of type wrap_
.
Serialize a value of type wrap_
into a JSON string.
val read_wrap_ :
(Yojson.Safe.lexer_state -> Lexing.lexbuf -> 'a) ->
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
'a wrap_
Input JSON data of type wrap_
.
Deserialize JSON data of type wrap_
.
Serialize a value of type ident
into a JSON string.
Input JSON data of type ident
.
Output a JSON value of type dotted_ident
.
Serialize a value of type dotted_ident
into a JSON string.
Input JSON data of type dotted_ident
.
Deserialize JSON data of type dotted_ident
.
Serialize a value of type label
into a JSON string.
Input JSON data of type label
.
Serialize a value of type literal
into a JSON string.
Input JSON data of type literal
.
Output a JSON value of type module_name
.
Serialize a value of type module_name
into a JSON string.
Input JSON data of type module_name
.
Deserialize JSON data of type module_name
.
Output a JSON value of type resolved_name_kind
.
Serialize a value of type resolved_name_kind
into a JSON string.
Input JSON data of type resolved_name_kind
.
Deserialize JSON data of type resolved_name_kind
.
Output a JSON value of type resolved_name
.
Serialize a value of type resolved_name
into a JSON string.
Input JSON data of type resolved_name
.
Deserialize JSON data of type resolved_name
.
Serialize a value of type todo_kind
into a JSON string.
Input JSON data of type todo_kind
.
Serialize a value of type xml_kind
into a JSON string.
Input JSON data of type xml_kind
.
Serialize a value of type alias
into a JSON string.
Input JSON data of type alias
.
Serialize a value of type any
into a JSON string.
Input JSON data of type any
.
Serialize a value of type argument
into a JSON string.
Input JSON data of type argument
.
Serialize a value of type arguments
into a JSON string.
Input JSON data of type arguments
.
Serialize a value of type attribute
into a JSON string.
Input JSON data of type attribute
.
Serialize a value of type case
into a JSON string.
Input JSON data of type case
.
Output a JSON value of type case_and_body
.
Serialize a value of type case_and_body
into a JSON string.
Input JSON data of type case_and_body
.
Deserialize JSON data of type case_and_body
.
Serialize a value of type catch
into a JSON string.
Input JSON data of type catch
.
Serialize a value of type catch_exn
into a JSON string.
Input JSON data of type catch_exn
.
Output a JSON value of type class_definition
.
Serialize a value of type class_definition
into a JSON string.
Input JSON data of type class_definition
.
Deserialize JSON data of type class_definition
.
Output a JSON value of type class_parent
.
Serialize a value of type class_parent
into a JSON string.
Input JSON data of type class_parent
.
Deserialize JSON data of type class_parent
.
Output a JSON value of type comprehension
.
Serialize a value of type comprehension
into a JSON string.
Input JSON data of type comprehension
.
Deserialize JSON data of type comprehension
.
Serialize a value of type condition
into a JSON string.
Input JSON data of type condition
.
Output a JSON value of type definition
.
Serialize a value of type definition
into a JSON string.
Input JSON data of type definition
.
Deserialize JSON data of type definition
.
Output a JSON value of type definition_kind
.
Serialize a value of type definition_kind
into a JSON string.
Input JSON data of type definition_kind
.
Deserialize JSON data of type definition_kind
.
Serialize a value of type directive
into a JSON string.
Input JSON data of type directive
.
Serialize a value of type entity
into a JSON string.
Input JSON data of type entity
.
Output a JSON value of type entity_name
.
Serialize a value of type entity_name
into a JSON string.
Input JSON data of type entity_name
.
Deserialize JSON data of type entity_name
.
Output a JSON value of type enum_entry_definition
.
Serialize a value of type enum_entry_definition
into a JSON string.
val read_enum_entry_definition :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
enum_entry_definition
Input JSON data of type enum_entry_definition
.
Deserialize JSON data of type enum_entry_definition
.
Serialize a value of type expr
into a JSON string.
Input JSON data of type expr
.
Serialize a value of type field
into a JSON string.
Input JSON data of type field
.
Output a JSON value of type field_name
.
Serialize a value of type field_name
into a JSON string.
Input JSON data of type field_name
.
Deserialize JSON data of type field_name
.
Serialize a value of type finally
into a JSON string.
Input JSON data of type finally
.
Serialize a value of type for_each
into a JSON string.
Input JSON data of type for_each
.
Output a JSON value of type for_header
.
Serialize a value of type for_header
into a JSON string.
Input JSON data of type for_header
.
Deserialize JSON data of type for_header
.
Output a JSON value of type for_or_if_comp
.
Serialize a value of type for_or_if_comp
into a JSON string.
Input JSON data of type for_or_if_comp
.
Deserialize JSON data of type for_or_if_comp
.
Output a JSON value of type for_var_or_expr
.
Serialize a value of type for_var_or_expr
into a JSON string.
Input JSON data of type for_var_or_expr
.
Deserialize JSON data of type for_var_or_expr
.
Output a JSON value of type function_body
.
Serialize a value of type function_body
into a JSON string.
Input JSON data of type function_body
.
Deserialize JSON data of type function_body
.
Output a JSON value of type function_definition
.
Serialize a value of type function_definition
into a JSON string.
val read_function_definition :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
function_definition
Input JSON data of type function_definition
.
Deserialize JSON data of type function_definition
.
Serialize a value of type id_info
into a JSON string.
Input JSON data of type id_info
.
Serialize a value of type item
into a JSON string.
Input JSON data of type item
.
Output a JSON value of type label_ident
.
Serialize a value of type label_ident
into a JSON string.
Input JSON data of type label_ident
.
Deserialize JSON data of type label_ident
.
Output a JSON value of type macro_definition
.
Serialize a value of type macro_definition
into a JSON string.
Input JSON data of type macro_definition
.
Deserialize JSON data of type macro_definition
.
Output a JSON value of type module_definition
.
Serialize a value of type module_definition
into a JSON string.
Input JSON data of type module_definition
.
Deserialize JSON data of type module_definition
.
Output a JSON value of type module_definition_kind
.
Serialize a value of type module_definition_kind
into a JSON string.
val read_module_definition_kind :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
module_definition_kind
Input JSON data of type module_definition_kind
.
Deserialize JSON data of type module_definition_kind
.
Output a JSON value of type multi_for_each
.
Serialize a value of type multi_for_each
into a JSON string.
Input JSON data of type multi_for_each
.
Deserialize JSON data of type multi_for_each
.
Serialize a value of type name
into a JSON string.
Input JSON data of type name
.
Output a JSON value of type or_type_element
.
Serialize a value of type or_type_element
into a JSON string.
Input JSON data of type or_type_element
.
Deserialize JSON data of type or_type_element
.
Serialize a value of type parameter
into a JSON string.
Input JSON data of type parameter
.
Output a JSON value of type parameter_classic
.
Serialize a value of type parameter_classic
into a JSON string.
Input JSON data of type parameter_classic
.
Deserialize JSON data of type parameter_classic
.
Output a JSON value of type parameters
.
Serialize a value of type parameters
into a JSON string.
Input JSON data of type parameters
.
Deserialize JSON data of type parameters
.
Serialize a value of type pattern
into a JSON string.
Input JSON data of type pattern
.
Output a JSON value of type qualified_info
.
Serialize a value of type qualified_info
into a JSON string.
Input JSON data of type qualified_info
.
Deserialize JSON data of type qualified_info
.
Serialize a value of type qualifier
into a JSON string.
Input JSON data of type qualifier
.
Serialize a value of type stmt
into a JSON string.
Input JSON data of type stmt
.
Serialize a value of type svalue
into a JSON string.
Input JSON data of type svalue
.
Serialize a value of type type_
into a JSON string.
Input JSON data of type type_
.
Output a JSON value of type type_argument
.
Serialize a value of type type_argument
into a JSON string.
Input JSON data of type type_argument
.
Deserialize JSON data of type type_argument
.
Output a JSON value of type type_arguments
.
Serialize a value of type type_arguments
into a JSON string.
Input JSON data of type type_arguments
.
Deserialize JSON data of type type_arguments
.
Output a JSON value of type type_definition
.
Serialize a value of type type_definition
into a JSON string.
Input JSON data of type type_definition
.
Deserialize JSON data of type type_definition
.
Output a JSON value of type type_definition_kind
.
Serialize a value of type type_definition_kind
into a JSON string.
val read_type_definition_kind :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
type_definition_kind
Input JSON data of type type_definition_kind
.
Deserialize JSON data of type type_definition_kind
.
Output a JSON value of type type_parameter
.
Serialize a value of type type_parameter
into a JSON string.
Input JSON data of type type_parameter
.
Deserialize JSON data of type type_parameter
.
Output a JSON value of type type_parameter_classic
.
Serialize a value of type type_parameter_classic
into a JSON string.
val read_type_parameter_classic :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
type_parameter_classic
Input JSON data of type type_parameter_classic
.
Deserialize JSON data of type type_parameter_classic
.
Output a JSON value of type type_parameters
.
Serialize a value of type type_parameters
into a JSON string.
Input JSON data of type type_parameters
.
Deserialize JSON data of type type_parameters
.
Output a JSON value of type variable_definition
.
Serialize a value of type variable_definition
into a JSON string.
val read_variable_definition :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
variable_definition
Input JSON data of type variable_definition
.
Deserialize JSON data of type variable_definition
.
Serialize a value of type xml
into a JSON string.
Input JSON data of type xml
.
Output a JSON value of type xml_attr_value
.
Serialize a value of type xml_attr_value
into a JSON string.
Input JSON data of type xml_attr_value
.
Deserialize JSON data of type xml_attr_value
.
Output a JSON value of type xml_attribute
.
Serialize a value of type xml_attribute
into a JSON string.
Input JSON data of type xml_attribute
.
Deserialize JSON data of type xml_attribute
.
Serialize a value of type xml_body
into a JSON string.
Input JSON data of type xml_body
.
Serialize a value of type program
into a JSON string.
Input JSON data of type program
.