Greg647465374's picture
shorten the files
41c095f
{
"ast": {
"items": [
{
"use": {
"tree": {
"path": {
"ident": "dioxus",
"tree": {
"path": {
"ident": "prelude",
"tree": "*"
}
}
}
}
}
},
{
"fn": {
"attrs": [
{
"meta": {
"path": {
"segments": [
{
"ident": "component"
}
]
}
},
"style": "outer"
}
],
"ident": "FileInput",
"inputs": [
{
"typed": {
"pat": {
"ident": {
"ident": "upload_files"
}
},
"ty": {
"path": {
"segments": [
{
"arguments": {
"angle_bracketed": {
"args": [
{
"type": {
"path": {
"segments": [
{
"ident": "FormEvent"
}
]
}
}
}
]
}
},
"ident": "EventHandler"
}
]
}
}
}
}
],
"output": {
"path": {
"segments": [
{
"ident": "Element"
}
]
}
},
"stmts": [
{
"macro": {
"delimiter": "brace",
"path": {
"segments": [
{
"ident": "rsx"
}
]
},
"tokens": [
{
"ident": "div"
},
{
"group": {
"delimiter": "brace",
"stream": [
{
"ident": "class"
},
{
"punct": {
"op": ":",
"spacing": "alone"
}
},
{
"lit": "\"file-input\""
},
{
"punct": {
"op": ",",
"spacing": "alone"
}
},
{
"ident": "label"
},
{
"group": {
"delimiter": "brace",
"stream": [
{
"ident": "r#for"
},
{
"punct": {
"op": ":",
"spacing": "alone"
}
},
{
"lit": "\"file-upload\""
},
{
"punct": {
"op": ",",
"spacing": "alone"
}
},
{
"lit": "\"📁 Select Markdown Files:\""
}
]
}
},
{
"ident": "input"
},
{
"group": {
"delimiter": "brace",
"stream": [
{
"ident": "id"
},
{
"punct": {
"op": ":",
"spacing": "alone"
}
},
{
"lit": "\"file-upload\""
},
{
"punct": {
"op": ",",
"spacing": "alone"
}
},
{
"ident": "r#type"
},
{
"punct": {
"op": ":",
"spacing": "alone"
}
},
{
"lit": "\"file\""
},
{
"punct": {
"op": ",",
"spacing": "alone"
}
},
{
"ident": "accept"
},
{
"punct": {
"op": ":",
"spacing": "alone"
}
},
{
"lit": "\".md,.txt\""
},
{
"punct": {
"op": ",",
"spacing": "alone"
}
},
{
"ident": "multiple"
},
{
"punct": {
"op": ":",
"spacing": "alone"
}
},
{
"ident": "true"
},
{
"punct": {
"op": ",",
"spacing": "alone"
}
},
{
"ident": "onchange"
},
{
"punct": {
"op": ":",
"spacing": "alone"
}
},
{
"ident": "upload_files"
},
{
"punct": {
"op": ",",
"spacing": "alone"
}
}
]
}
}
]
}
}
]
}
}
],
"vis": "pub"
}
}
]
},
"file_path": "src\\extractor\\components\\fileinput.rs",
"summary": {
"emoji_counts_in_strings": {
"📁": 1
},
"string_literals": [
"\"file-input\"",
"\"file-upload\"",
"\"📁 Select Markdown Files:\"",
"\"file-upload\"",
"\"file\"",
"\".md,.txt\""
],
"top_level_nodes": 1,
"total_nodes": 85,
"type_counts": {
"angle_bracketed": 1,
"args": 1,
"arguments": 1,
"attrs": 1,
"delimiter": 4,
"fn": 1,
"group": 3,
"ident": 22,
"inputs": 1,
"items": 1,
"lit": 6,
"macro": 1,
"meta": 1,
"op": 14,
"output": 1,
"pat": 1,
"path": 7,
"punct": 14,
"segments": 5,
"spacing": 14,
"stmts": 1,
"stream": 3,
"style": 1,
"tokens": 1,
"tree": 3,
"ty": 1,
"type": 1,
"typed": 1,
"use": 1,
"vis": 1
},
"word_counts": {
"file": 4,
"files": 1,
"input": 1,
"markdown": 1,
"md": 1,
"select": 1,
"txt": 1,
"upload": 2
},
"word_emoji_counts": {}
},
"timestamp": 1751588215
}