| { | |
| "ast": { | |
| "items": [ | |
| { | |
| "use": { | |
| "tree": { | |
| "path": { | |
| "ident": "dioxus", | |
| "tree": { | |
| "path": { | |
| "ident": "prelude", | |
| "tree": "*" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| { | |
| "fn": { | |
| "attrs": [ | |
| { | |
| "meta": { | |
| "path": { | |
| "segments": [ | |
| { | |
| "ident": "component" | |
| } | |
| ] | |
| } | |
| }, | |
| "style": "outer" | |
| } | |
| ], | |
| "ident": "WelcomeMessage", | |
| "inputs": [ | |
| { | |
| "typed": { | |
| "pat": { | |
| "ident": { | |
| "ident": "show" | |
| } | |
| }, | |
| "ty": { | |
| "path": { | |
| "segments": [ | |
| { | |
| "ident": "bool" | |
| } | |
| ] | |
| } | |
| } | |
| } | |
| } | |
| ], | |
| "output": { | |
| "path": { | |
| "segments": [ | |
| { | |
| "ident": "Element" | |
| } | |
| ] | |
| } | |
| }, | |
| "stmts": [ | |
| { | |
| "expr": [ | |
| { | |
| "if": { | |
| "cond": { | |
| "path": { | |
| "segments": [ | |
| { | |
| "ident": "show" | |
| } | |
| ] | |
| } | |
| }, | |
| "else_branch": { | |
| "block": { | |
| "stmts": [ | |
| { | |
| "macro": { | |
| "delimiter": "brace", | |
| "path": { | |
| "segments": [ | |
| { | |
| "ident": "rsx" | |
| } | |
| ] | |
| }, | |
| "tokens": [ | |
| { | |
| "ident": "div" | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "brace", | |
| "stream": [] | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "then_branch": [ | |
| { | |
| "macro": { | |
| "delimiter": "brace", | |
| "path": { | |
| "segments": [ | |
| { | |
| "ident": "rsx" | |
| } | |
| ] | |
| }, | |
| "tokens": [ | |
| { | |
| "ident": "div" | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "brace", | |
| "stream": [ | |
| { | |
| "ident": "class" | |
| }, | |
| { | |
| "punct": { | |
| "op": ":", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "lit": "\"summary-stats\"" | |
| }, | |
| { | |
| "punct": { | |
| "op": ",", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "p" | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "brace", | |
| "stream": [ | |
| { | |
| "lit": "\"👋 Welcome! Upload some markdown files to get started extracting code snippets.\"" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "ident": "p" | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "brace", | |
| "stream": [ | |
| { | |
| "lit": "\"💡 This tool will find all code blocks wrapped in ``` and make them easy to copy.\"" | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| false | |
| ] | |
| } | |
| ], | |
| "vis": "pub" | |
| } | |
| } | |
| ] | |
| }, | |
| "file_path": "src\\extractor\\components\\welcome.rs", | |
| "summary": { | |
| "emoji_counts_in_strings": { | |
| "👋": 1, | |
| "💡": 1 | |
| }, | |
| "string_literals": [ | |
| "\"summary-stats\"", | |
| "\"👋 Welcome! Upload some markdown files to get started extracting code snippets.\"", | |
| "\"💡 This tool will find all code blocks wrapped in ``` and make them easy to copy.\"" | |
| ], | |
| "top_level_nodes": 1, | |
| "total_nodes": 59, | |
| "type_counts": { | |
| "attrs": 1, | |
| "block": 1, | |
| "cond": 1, | |
| "delimiter": 6, | |
| "else_branch": 1, | |
| "expr": 1, | |
| "fn": 1, | |
| "group": 4, | |
| "ident": 16, | |
| "if": 1, | |
| "inputs": 1, | |
| "items": 1, | |
| "lit": 3, | |
| "macro": 2, | |
| "meta": 1, | |
| "op": 2, | |
| "output": 1, | |
| "pat": 1, | |
| "path": 8, | |
| "punct": 2, | |
| "segments": 6, | |
| "spacing": 2, | |
| "stmts": 2, | |
| "stream": 4, | |
| "style": 1, | |
| "then_branch": 1, | |
| "tokens": 2, | |
| "tree": 3, | |
| "ty": 1, | |
| "typed": 1, | |
| "use": 1, | |
| "vis": 1 | |
| }, | |
| "word_counts": { | |
| "all": 1, | |
| "and": 1, | |
| "blocks": 1, | |
| "code": 2, | |
| "copy": 1, | |
| "easy": 1, | |
| "extracting": 1, | |
| "files": 1, | |
| "find": 1, | |
| "get": 1, | |
| "in": 1, | |
| "make": 1, | |
| "markdown": 1, | |
| "snippets": 1, | |
| "some": 1, | |
| "started": 1, | |
| "stats": 1, | |
| "summary": 1, | |
| "them": 1, | |
| "this": 1, | |
| "to": 2, | |
| "tool": 1, | |
| "upload": 1, | |
| "welcome": 1, | |
| "will": 1, | |
| "wrapped": 1 | |
| }, | |
| "word_emoji_counts": {} | |
| }, | |
| "timestamp": 1751588239 | |
| } |