| { | |
| "ast": { | |
| "items": [ | |
| { | |
| "macro": { | |
| "attrs": [ | |
| { | |
| "meta": { | |
| "path": { | |
| "segments": [ | |
| { | |
| "ident": "macro_export" | |
| } | |
| ] | |
| } | |
| }, | |
| "style": "outer" | |
| } | |
| ], | |
| "delimiter": "brace", | |
| "ident": "define_mcp_component", | |
| "path": { | |
| "segments": [ | |
| { | |
| "ident": "macro_rules" | |
| } | |
| ] | |
| }, | |
| "tokens": [ | |
| { | |
| "group": { | |
| "delimiter": "parenthesis", | |
| "stream": [ | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "parenthesis", | |
| "stream": [ | |
| { | |
| "punct": { | |
| "op": "#", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "bracket", | |
| "stream": [ | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "attr" | |
| }, | |
| { | |
| "punct": { | |
| "op": ":", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "meta" | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "*", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "vis" | |
| }, | |
| { | |
| "punct": { | |
| "op": ":", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "vis" | |
| }, | |
| { | |
| "ident": "async" | |
| }, | |
| { | |
| "ident": "fn" | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "name" | |
| }, | |
| { | |
| "punct": { | |
| "op": ":", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "ident" | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "parenthesis", | |
| "stream": [] | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "-", | |
| "spacing": "joint" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": ">", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "Result" | |
| }, | |
| { | |
| "punct": { | |
| "op": "<", | |
| "spacing": "joint" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "ret" | |
| }, | |
| { | |
| "punct": { | |
| "op": ":", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "ty" | |
| }, | |
| { | |
| "punct": { | |
| "op": ",", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "err" | |
| }, | |
| { | |
| "punct": { | |
| "op": ":", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "ty" | |
| }, | |
| { | |
| "punct": { | |
| "op": ">", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "body" | |
| }, | |
| { | |
| "punct": { | |
| "op": ":", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "block" | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "parenthesis", | |
| "stream": [ | |
| { | |
| "punct": { | |
| "op": ",", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "config" | |
| }, | |
| { | |
| "punct": { | |
| "op": ":", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "tt" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "*", | |
| "spacing": "alone" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "=", | |
| "spacing": "joint" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": ">", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "brace", | |
| "stream": [ | |
| { | |
| "punct": { | |
| "op": "#", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "bracket", | |
| "stream": [ | |
| { | |
| "ident": "mcp_component" | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "parenthesis", | |
| "stream": [ | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "parenthesis", | |
| "stream": [ | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "config" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "*", | |
| "spacing": "alone" | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "parenthesis", | |
| "stream": [ | |
| { | |
| "punct": { | |
| "op": "#", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "bracket", | |
| "stream": [ | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "attr" | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "*", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "vis" | |
| }, | |
| { | |
| "ident": "async" | |
| }, | |
| { | |
| "ident": "fn" | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "name" | |
| }, | |
| { | |
| "group": { | |
| "delimiter": "parenthesis", | |
| "stream": [] | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "-", | |
| "spacing": "joint" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": ">", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "Result" | |
| }, | |
| { | |
| "punct": { | |
| "op": "<", | |
| "spacing": "joint" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "ret" | |
| }, | |
| { | |
| "punct": { | |
| "op": ",", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "err" | |
| }, | |
| { | |
| "punct": { | |
| "op": ">", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": "$", | |
| "spacing": "alone" | |
| } | |
| }, | |
| { | |
| "ident": "body" | |
| } | |
| ] | |
| } | |
| }, | |
| { | |
| "punct": { | |
| "op": ";", | |
| "spacing": "alone" | |
| } | |
| } | |
| ] | |
| } | |
| } | |
| ] | |
| }, | |
| "file_path": "src\\extractor\\model\\macros.rs", | |
| "summary": { | |
| "emoji_counts_in_strings": {}, | |
| "string_literals": [], | |
| "top_level_nodes": 1, | |
| "total_nodes": 153, | |
| "type_counts": { | |
| "attrs": 1, | |
| "delimiter": 13, | |
| "group": 12, | |
| "ident": 31, | |
| "items": 1, | |
| "macro": 1, | |
| "meta": 1, | |
| "op": 46, | |
| "path": 2, | |
| "punct": 46, | |
| "segments": 2, | |
| "spacing": 46, | |
| "stream": 12, | |
| "style": 1, | |
| "tokens": 1 | |
| }, | |
| "word_counts": {}, | |
| "word_emoji_counts": {} | |
| }, | |
| "timestamp": 1751588223 | |
| } |