{ "ast": { "items": [ { "use": { "tree": { "path": { "ident": "dioxus", "tree": { "path": { "ident": "prelude", "tree": "*" } } } } } }, { "use": { "tree": { "path": { "ident": "std", "tree": { "path": { "ident": "collections", "tree": { "ident": "HashSet" } } } } } } }, { "use": { "tree": { "path": { "ident": "crate", "tree": { "path": { "ident": "extractor", "tree": { "group": [ { "path": { "ident": "components", "tree": { "group": [ { "path": { "ident": "codesnippet", "tree": { "ident": "CodeSnippetComponent" } } }, { "path": { "ident": "filesummary", "tree": { "ident": "FileSummary" } } } ] } } }, { "path": { "ident": "types", "tree": { "group": [ { "ident": "CodeSnippet" }, { "ident": "ExtractedFile" } ] } } } ] } } } } } } }, { "fn": { "attrs": [ { "meta": { "path": { "segments": [ { "ident": "component" } ] } }, "style": "outer" } ], "ident": "FileDisplay", "inputs": [ { "typed": { "pat": { "ident": { "ident": "file" } }, "ty": { "path": { "segments": [ { "ident": "ExtractedFile" } ] } } } }, { "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" } ] } } } }, { "typed": { "pat": { "ident": { "ident": "copy_all_snippets" } }, "ty": { "path": { "segments": [ { "arguments": { "angle_bracketed": { "args": [ { "type": { "path": { "segments": [ { "arguments": { "angle_bracketed": { "args": [ { "type": { "path": { "segments": [ { "ident": "CodeSnippet" } ] } } } ] } }, "ident": "Vec" } ] } } } ] } }, "ident": "EventHandler" } ] } } } }, { "typed": { "pat": { "ident": { "ident": "copy_to_clipboard" } }, "ty": { "path": { "segments": [ { "arguments": { "angle_bracketed": { "args": [ { "type": { "tuple": { "elems": [ { "path": { "segments": [ { "ident": "String" } ] } }, { "path": { "segments": [ { "ident": "String" } ] } } ] } } } ] } }, "ident": "EventHandler" } ] } } } } ], "output": { "path": { "segments": [ { "ident": "Element" } ] } }, "stmts": [ { "macro": { "delimiter": "brace", "path": { "segments": [ { "ident": "rsx" } ] }, "tokens": [ { "ident": "div" }, { "group": { "delimiter": "brace", "stream": [ { "ident": "key" }, { "punct": { "op": ":", "spacing": "alone" } }, { "lit": "\"{file.name}\"" }, { "punct": { "op": ",", "spacing": "alone" } }, { "ident": "h2" }, { "group": { "delimiter": "brace", "stream": [ { "lit": "\"📝 {file.name}\"" } ] } }, { "ident": "if" }, { "punct": { "op": "!", "spacing": "alone" } }, { "ident": "file" }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "snippets" }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "is_empty" }, { "group": { "delimiter": "parenthesis", "stream": [] } }, { "group": { "delimiter": "brace", "stream": [ { "ident": "FileSummary" }, { "group": { "delimiter": "brace", "stream": [ { "ident": "file" }, { "punct": { "op": ":", "spacing": "alone" } }, { "ident": "file" }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "clone" }, { "group": { "delimiter": "parenthesis", "stream": [] } }, { "punct": { "op": ",", "spacing": "alone" } }, { "ident": "copied_snippets" }, { "punct": { "op": ",", "spacing": "alone" } }, { "ident": "copy_all_snippets" } ] } }, { "ident": "for" }, { "group": { "delimiter": "parenthesis", "stream": [ { "ident": "idx" }, { "punct": { "op": ",", "spacing": "alone" } }, { "ident": "snippet" } ] } }, { "ident": "in" }, { "ident": "file" }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "snippets" }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "iter" }, { "group": { "delimiter": "parenthesis", "stream": [] } }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "enumerate" }, { "group": { "delimiter": "parenthesis", "stream": [] } }, { "group": { "delimiter": "brace", "stream": [ { "ident": "CodeSnippetComponent" }, { "group": { "delimiter": "brace", "stream": [ { "ident": "snippet" }, { "punct": { "op": ":", "spacing": "alone" } }, { "ident": "snippet" }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "clone" }, { "group": { "delimiter": "parenthesis", "stream": [] } }, { "punct": { "op": ",", "spacing": "alone" } }, { "ident": "file_name" }, { "punct": { "op": ":", "spacing": "alone" } }, { "ident": "file" }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "name" }, { "punct": { "op": ".", "spacing": "alone" } }, { "ident": "clone" }, { "group": { "delimiter": "parenthesis", "stream": [] } }, { "punct": { "op": ",", "spacing": "alone" } }, { "ident": "idx" }, { "punct": { "op": ",", "spacing": "alone" } }, { "ident": "copied_snippets" }, { "punct": { "op": ",", "spacing": "alone" } }, { "ident": "copy_to_clipboard" } ] } } ] } } ] } }, { "ident": "else" }, { "group": { "delimiter": "brace", "stream": [ { "ident": "p" }, { "group": { "delimiter": "brace", "stream": [ { "lit": "\"â„šī¸ No code snippets found in this file\"" } ] } } ] } } ] } } ] } } ], "vis": "pub" } } ] }, "file_path": "src\\extractor\\components\\filedisplay.rs", "summary": { "emoji_counts_in_strings": { "ℹ": 1, "ī¸": 1, "📝": 1 }, "string_literals": [ "\"{file.name}\"", "\"📝 {file.name}\"", "\"â„šī¸ No code snippets found in this file\"" ], "top_level_nodes": 1, "total_nodes": 222, "type_counts": { "angle_bracketed": 5, "args": 5, "arguments": 5, "attrs": 1, "delimiter": 16, "elems": 1, "fn": 1, "group": 18, "ident": 71, "inputs": 1, "items": 1, "lit": 3, "macro": 1, "meta": 1, "op": 22, "output": 1, "pat": 4, "path": 23, "punct": 22, "segments": 13, "spacing": 22, "stmts": 1, "stream": 15, "style": 1, "tokens": 1, "tree": 13, "tuple": 1, "ty": 4, "type": 5, "typed": 4, "use": 3, "vis": 1 }, "word_counts": { "code": 1, "file": 3, "found": 1, "in": 1, "name": 2, "no": 1, "snippets": 1, "this": 1, "ℹ": 1 }, "word_emoji_counts": {} }, "timestamp": 1751588229 }