|
[ |
|
{ |
|
"psig_desc": [ |
|
"Psig_attribute", |
|
{ |
|
"attr_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "_none_", |
|
"pos_lnum": 0, |
|
"pos_bol": 0, |
|
"pos_cnum": -1 |
|
}, |
|
"loc_ghost": true |
|
}, |
|
"txt2": "ocaml.text" |
|
}, |
|
"attr_payload": [ |
|
"PStr", |
|
[ |
|
{ |
|
"pstr_desc": [ |
|
"Pstr_eval", |
|
{ |
|
"pexp_desc": [ |
|
"Pexp_constant", |
|
[ |
|
"Pconst_string", |
|
" Check AST invariants\n\n {b Warning:} this module is unstable and part of\n {{!Compiler_libs}compiler-libs}.\n\n", |
|
{ |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 1002, |
|
"pos_cnum": 1002 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1115, |
|
"pos_cnum": 1117 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
null |
|
] |
|
], |
|
"pexp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 1002, |
|
"pos_cnum": 1002 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1115, |
|
"pos_cnum": 1117 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"pexp_loc_stack": [], |
|
"pexp_attributes": [] |
|
}, |
|
[] |
|
], |
|
"pstr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 1002, |
|
"pos_cnum": 1002 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1115, |
|
"pos_cnum": 1117 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
], |
|
"attr_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 1002, |
|
"pos_cnum": 1002 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1115, |
|
"pos_cnum": 1117 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 15, |
|
"pos_bol": 1002, |
|
"pos_cnum": 1002 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 20, |
|
"pos_bol": 1115, |
|
"pos_cnum": 1117 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1123 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1132 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "structure" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Parsetreestructure", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1135 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1154 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1158 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1162 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1135 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1162 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1119 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1162 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1119 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 22, |
|
"pos_bol": 1119, |
|
"pos_cnum": 1162 |
|
}, |
|
"loc_ghost": false |
|
} |
|
}, |
|
{ |
|
"psig_desc": [ |
|
"Psig_value", |
|
{ |
|
"pval_name": { |
|
"loc2": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1167 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1176 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"txt2": "signature" |
|
}, |
|
"pval_type": { |
|
"ptyp_desc": [ |
|
"Ptyp_arrow", |
|
[ "Nolabel" ], |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "Parsetreesignature", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1179 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1198 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
{ |
|
"ptyp_desc": [ "Ptyp_constr", "unit", [] ], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1202 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1206 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
} |
|
], |
|
"ptyp_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1179 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1206 |
|
}, |
|
"loc_ghost": false |
|
}, |
|
"ptyp_loc_stack": [], |
|
"ptyp_attributes": [] |
|
}, |
|
"pval_prim": [], |
|
"pval_attributes": [], |
|
"pval_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1163 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1206 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
], |
|
"psig_loc": { |
|
"loc_start": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1163 |
|
}, |
|
"loc_end": { |
|
"pos_fname": "./parsing/ast_invariants.mli", |
|
"pos_lnum": 23, |
|
"pos_bol": 1163, |
|
"pos_cnum": 1206 |
|
}, |
|
"loc_ghost": false |
|
} |
|
} |
|
] |
|
|