Get struct names from nested struct array by traversing AST

前端 未结 0 1709
终归单人心
终归单人心 2020-12-15 03:17

I\'m using the AST to generate a json config from structs in a source file. Here\'s a truncated example of a desired config:

  {
    "actions": [
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题