File tree Expand file tree Collapse file tree 7 files changed +114
-3
lines changed Expand file tree Collapse file tree 7 files changed +114
-3
lines changed Original file line number Diff line number Diff line change 1- #use " prettier_printer.ml" ;;
21(*
2+ #use "prettier_printer.ml";;
3+
34 Interpret using ocaml ./tools/src/printer_sandbox.ml
4- *)
5+
56
67open DSL
78
@@ -37,3 +38,4 @@ let oak =
3738let _ =
3839 CodePrinter.genOak oak {CodePrinter.emptyContext with max_line_length = 20}
3940 |> CodePrinter.dump |> Format.printf "%s\n"
41+ *)
Original file line number Diff line number Diff line change @@ -360,7 +360,6 @@ let isFunction = function
360360 | _ -> false
361361
362362let valueDetail (typ : Types.type_expr ) =
363- Printf. printf " %s\n " (Print_tast. print_type_expr typ);
364363 let rec collectSignatureTypes (typ_desc : Types.type_desc ) =
365364 match typ_desc with
366365 | Tlink t -> collectSignatureTypes t.desc
Original file line number Diff line number Diff line change 3030 "filepath" : " src/DocExtraction2.resi" ,
3131 "line" : 7 ,
3232 "col" : 1
33+ },
34+ "detail" : {
35+ "parameters" : [{
36+ "path" : " unit"
37+ }],
38+ "returnType" : {
39+ "path" : " t"
40+ }
3341 }
3442 },
3543 {
6573 "filepath" : " src/DocExtraction2.resi" ,
6674 "line" : 15 ,
6775 "col" : 3
76+ },
77+ "detail" : {
78+ "parameters" : [{
79+ "path" : " unit"
80+ }],
81+ "returnType" : {
82+ "path" : " t"
83+ }
6884 }
6985 }]
7086 }]
Original file line number Diff line number Diff line change 3030 "filepath" : " src/DocExtraction2.resi" ,
3131 "line" : 7 ,
3232 "col" : 1
33+ },
34+ "detail" : {
35+ "parameters" : [{
36+ "path" : " unit"
37+ }],
38+ "returnType" : {
39+ "path" : " t"
40+ }
3341 }
3442 },
3543 {
6573 "filepath" : " src/DocExtraction2.resi" ,
6674 "line" : 15 ,
6775 "col" : 3
76+ },
77+ "detail" : {
78+ "parameters" : [{
79+ "path" : " unit"
80+ }],
81+ "returnType" : {
82+ "path" : " t"
83+ }
6884 }
6985 }]
7086 }]
Original file line number Diff line number Diff line change 4545 "filepath" : " src/DocExtractionRes.res" ,
4646 "line" : 17 ,
4747 "col" : 5
48+ },
49+ "detail" : {
50+ "parameters" : [{
51+ "path" : " string"
52+ }],
53+ "returnType" : {
54+ "path" : " t"
55+ }
4856 }
4957 },
5058 {
5765 "filepath" : " src/DocExtractionRes.res" ,
5866 "line" : 23 ,
5967 "col" : 5
68+ },
69+ "detail" : {
70+ "parameters" : [{
71+ "path" : " t"
72+ }],
73+ "returnType" : {
74+ "path" : " t"
75+ }
6076 }
6177 },
6278 {
6985 "filepath" : " src/DocExtractionRes.res" ,
7086 "line" : 26 ,
7187 "col" : 5
88+ },
89+ "detail" : {
90+ "returnType" : {
91+ "path" : " int"
92+ }
7293 }
7394 },
7495 {
184205 "filepath" : " src/DocExtractionRes.res" ,
185206 "line" : 49 ,
186207 "col" : 7
208+ },
209+ "detail" : {
210+ "parameters" : [{
211+ "path" : " SomeInnerModule.status"
212+ }],
213+ "returnType" : {
214+ "path" : " bool"
215+ }
187216 }
188217 },
189218 {
268297 "filepath" : " src/DocExtractionRes.res" ,
269298 "line" : 71 ,
270299 "col" : 3
300+ },
301+ "detail" : {
302+ "parameters" : [{
303+ "path" : " unit"
304+ }],
305+ "returnType" : {
306+ "path" : " t"
307+ }
271308 }
272309 }]
273310 },
304341 "filepath" : " src/DocExtractionRes.res" ,
305342 "line" : 109 ,
306343 "col" : 3
344+ },
345+ "detail" : {
346+ "parameters" : [{
347+ "path" : " t"
348+ }],
349+ "returnType" : {
350+ "path" : " t"
351+ }
307352 }
308353 }]
309354 },
341386 "filepath" : " src/DocExtractionRes.res" ,
342387 "line" : 128 ,
343388 "col" : 7
389+ },
390+ "detail" : {
391+ "parameters" : [{
392+ "path" : " int"
393+ }],
394+ "returnType" : {
395+ "path" : " int"
396+ }
344397 }
345398 }]
346399 },
365418 "filepath" : " src/DocExtractionRes.res" ,
366419 "line" : 132 ,
367420 "col" : 3
421+ },
422+ "detail" : {
423+ "returnType" : {
424+ "path" : " int"
425+ }
368426 }
369427 }]
370428 },
390448 "filepath" : " src/DocExtractionRes.res" ,
391449 "line" : 136 ,
392450 "col" : 7
451+ },
452+ "detail" : {
453+ "returnType" : {
454+ "path" : " int"
455+ }
393456 }
394457 }]
395458 },
426489 "filepath" : " src/DocExtractionRes.res" ,
427490 "line" : 141 ,
428491 "col" : 9
492+ },
493+ "detail" : {
494+ "returnType" : {
495+ "path" : " int"
496+ }
429497 }
430498 }]
431499 }]
Original file line number Diff line number Diff line change 2929 "filepath" : " src/ModC.resi" ,
3030 "line" : 5 ,
3131 "col" : 3
32+ },
33+ "detail" : {
34+ "returnType" : {
35+ "path" : " string"
36+ }
3237 }
3338 }]
3439 }]
Original file line number Diff line number Diff line change 2929 "filepath" : " src/ModC.resi" ,
3030 "line" : 5 ,
3131 "col" : 3
32+ },
33+ "detail" : {
34+ "returnType" : {
35+ "path" : " string"
36+ }
3237 }
3338 }]
3439 }]
You can’t perform that action at this time.
0 commit comments