nested_method.json 1.9 KB
Newer Older
1
{
2
  "DataStructures": null,
3
  "Fields": null,
4
  "FullName": "testdata.node_infos",
5
  "Imports": [
6 7
    {
      "AsName": "",
8
      "ImportName": "",
9 10 11 12
      "Scope": "",
      "Source": "fmt",
      "UsageName": null
    }
13 14 15
  ],
  "Members": [
    {
P
Phodal Huang 已提交
16
      "AliasPackage": "testdata",
17
      "DataStructID": "default",
P
Phodal Huang 已提交
18
      "FileID": "testdata.node_infos",
19
      "FunctionNodes": [
20 21
        {
          "Annotations": null,
P
Phodal Huang 已提交
22
          "Extension": null,
P
Phodal Huang 已提交
23
          "FunctionCalls": [
24 25
            {
              "MethodName": "var",
26
              "NodeName": "foo",
27
              "Package": "testdata.node_infos",
28 29 30
              "Parameters": [
                {
                  "Modifiers": null,
31
                  "ParamName": "",
P
Phodal Huang 已提交
32 33
                  "Parameters": null,
                  "ReturnTypes": null,
34 35
                  "TypeType": "STRING",
                  "TypeValue": "\"Hello World!\""
36 37
                }
              ],
P
Phodal Huang 已提交
38 39 40 41 42 43
              "Position": {
                "StartLine": 0,
                "StartLinePosition": 0,
                "StopLine": 0,
                "StopLinePosition": 0
              },
44 45 46
              "Type": ""
            }
          ],
P
Phodal Huang 已提交
47 48 49 50
          "InnerFunctions": null,
          "InnerStructures": null,
          "IsConstructor": false,
          "IsReturnNull": false,
51
          "Modifiers": null,
P
Phodal Huang 已提交
52
          "MultipleReturns": null,
53 54 55
          "Name": "f",
          "Override": false,
          "Parameters": null,
P
Phodal Huang 已提交
56 57 58 59 60 61
          "Position": {
            "StartLine": 0,
            "StartLinePosition": 0,
            "StopLine": 0,
            "StopLinePosition": 0
          },
P
Phodal Huang 已提交
62
          "ReturnType": ""
63 64
        }
      ],
P
Phodal Huang 已提交
65
      "ID": "testdata:f",
66 67 68 69 70 71 72 73
      "Name": "",
      "Namespace": null,
      "Position": {
        "StartLine": 0,
        "StartLinePosition": 0,
        "StopLine": 0,
        "StopLinePosition": 0
      },
P
Phodal Huang 已提交
74
      "Structures": null,
75 76 77
      "Type": "method"
    }
  ],
P
Phodal Huang 已提交
78
  "PackageName": "testdata"
79
}