File size: 1,894 Bytes
41c095f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
{
"ast": {
"items": [
{
"use": {
"tree": {
"path": {
"ident": "crate",
"tree": {
"path": {
"ident": "extractor",
"tree": {
"path": {
"ident": "types",
"tree": {
"ident": "CodeSnippet"
}
}
}
}
}
}
}
}
},
{
"fn": {
"ident": "annotate_code_snippet",
"inputs": [
{
"typed": {
"pat": {
"ident": {
"ident": "snippet"
}
},
"ty": {
"reference": {
"elem": {
"path": {
"segments": [
{
"ident": "CodeSnippet"
}
]
}
}
}
}
}
}
],
"output": null,
"stmts": [],
"vis": "pub"
}
}
]
},
"file_path": "src\\extractor\\model\\annotate_code.rs",
"summary": {
"emoji_counts_in_strings": {},
"string_literals": [],
"top_level_nodes": 1,
"total_nodes": 21,
"type_counts": {
"elem": 1,
"fn": 1,
"ident": 8,
"inputs": 1,
"items": 1,
"output": 1,
"pat": 1,
"path": 4,
"reference": 1,
"segments": 1,
"stmts": 1,
"tree": 4,
"ty": 1,
"typed": 1,
"use": 1,
"vis": 1
},
"word_counts": {},
"word_emoji_counts": {}
},
"timestamp": 1751588223
} |