{ "ast": { "items": [ { "use": { "tree": { "path": { "ident": "dioxus", "tree": { "path": { "ident": "prelude", "tree": "*" } } } } } }, { "use": { "tree": { "path": { "ident": "crate", "tree": { "path": { "ident": "extractor", "tree": { "path": { "ident": "types", "tree": { "ident": "ExtractedFile" } } } } } } } } }, { "use": { "tree": { "path": { "ident": "std", "tree": { "path": { "ident": "collections", "tree": { "ident": "HashSet" } } } } } } }, { "fn": { "attrs": [ { "meta": { "path": { "segments": [ { "ident": "component" } ] } }, "style": "outer" } ], "ident": "ClearButton", "inputs": [ { "typed": { "pat": { "ident": { "ident": "files" } }, "ty": { "path": { "segments": [ { "arguments": { "angle_bracketed": { "args": [ { "type": { "path": { "segments": [ { "arguments": { "angle_bracketed": { "args": [ { "type": { "path": { "segments": [ { "ident": "ExtractedFile" } ] } } } ] } }, "ident": "Vec" } ] } } } ] } }, "ident": "Signal" } ] } } } }, { "typed": { "pat": { "ident": { "ident": "copied_snippets" } }, "ty": { "path": { "segments": [ { "arguments": { "angle_bracketed": { "args": [ { "type": { "path": { "segments": [ { "arguments": { "angle_bracketed": { "args": [ { "type": { "path": { "segments": [ { "ident": "String" } ] } } } ] } }, "ident": "HashSet" } ] } } } ] } }, "ident": "Signal" } ] } } } } ], "output": { "path": { "segments": [ { "ident": "Element" } ] } }, "stmts": [ { "macro": { "delimiter": "brace", "path": { "segments": [ { "ident": "rsx" } ] }, "tokens": [ { "ident": "button" }, { "group": { "delimiter": "brace", "stream": [ { "ident": "class" }, { "punct": { "op": ":", "spacing": "alone" } }, { "lit": "\"clear-btn\"" }, { "punct": { "op": ",", "spacing": "alone" } }, { "ident": "onclick" }, { "punct": { "op": ":", "spacing": "alone" } }, { "ident": "move" }, { "punct": { "op": "|", "spacing": "alone" } }, { "ident": "_" }, { "punct": { "op": "|", "spacing": "alone" } }, { "group": { "delimiter": "brace", "stream": [ { "ident": "files" }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "write" }, { "group": { "delimiter": "parenthesis", "stream": [] } }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "clear" }, { "group": { "delimiter": "parenthesis", "stream": [] } }, { "punct": { "op": ";", "spacing": "alone" } }, { "ident": "copied_snippets" }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "write" }, { "group": { "delimiter": "parenthesis", "stream": [] } }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "clear" }, { "group": { "delimiter": "parenthesis", "stream": [] } }, { "punct": { "op": ";", "spacing": "alone" } } ] } }, { "punct": { "op": ",", "spacing": "alone" } }, { "lit": "\"🗑️ Clear All Files\"" } ] } } ] } } ], "vis": "pub" } } ] }, "file_path": "src\\extractor\\components\\clearbutton.rs", "summary": { "emoji_counts_in_strings": { "️": 1, "🗑": 1 }, "string_literals": [ "\"clear-btn\"", "\"🗑️ Clear All Files\"" ], "top_level_nodes": 1, "total_nodes": 123, "type_counts": { "angle_bracketed": 4, "args": 4, "arguments": 4, "attrs": 1, "delimiter": 7, "fn": 1, "group": 6, "ident": 34, "inputs": 1, "items": 1, "lit": 2, "macro": 1, "meta": 1, "op": 12, "output": 1, "pat": 2, "path": 16, "punct": 12, "segments": 9, "spacing": 12, "stmts": 1, "stream": 6, "style": 1, "tokens": 1, "tree": 10, "ty": 2, "type": 4, "typed": 2, "use": 3, "vis": 1 }, "word_counts": { "all": 1, "btn": 1, "clear": 2, "files": 1 }, "word_emoji_counts": {} }, "timestamp": 1751588215 }