github.com/april1989/origin-go-tools@v0.0.32/cmd/guru/testdata/src/what-json/main.golden (about)

     1  -------- @what call --------
     2  {
     3  	"enclosing": [
     4  		{
     5  			"desc": "identifier",
     6  			"start": 189,
     7  			"end": 190
     8  		},
     9  		{
    10  			"desc": "function call",
    11  			"start": 189,
    12  			"end": 192
    13  		},
    14  		{
    15  			"desc": "expression statement",
    16  			"start": 189,
    17  			"end": 192
    18  		},
    19  		{
    20  			"desc": "block",
    21  			"start": 186,
    22  			"end": 212
    23  		},
    24  		{
    25  			"desc": "function declaration",
    26  			"start": 174,
    27  			"end": 212
    28  		},
    29  		{
    30  			"desc": "source file",
    31  			"start": 0,
    32  			"end": 259
    33  		}
    34  	],
    35  	"modes": [
    36  		"callees",
    37  		"callers",
    38  		"callstack",
    39  		"definition",
    40  		"describe",
    41  		"freevars",
    42  		"implements",
    43  		"pointsto",
    44  		"referrers",
    45  		"whicherrs"
    46  	],
    47  	"srcdir": "testdata/src",
    48  	"importpath": "what-json"
    49  }
    50  -------- @what pkg --------
    51  {
    52  	"enclosing": [
    53  		{
    54  			"desc": "identifier",
    55  			"start": 220,
    56  			"end": 223
    57  		},
    58  		{
    59  			"desc": "selector",
    60  			"start": 220,
    61  			"end": 227
    62  		},
    63  		{
    64  			"desc": "value specification",
    65  			"start": 218,
    66  			"end": 227
    67  		},
    68  		{
    69  			"desc": "variable declaration",
    70  			"start": 214,
    71  			"end": 227
    72  		},
    73  		{
    74  			"desc": "source file",
    75  			"start": 0,
    76  			"end": 259
    77  		}
    78  	],
    79  	"modes": [
    80  		"definition",
    81  		"describe",
    82  		"freevars",
    83  		"implements",
    84  		"pointsto",
    85  		"referrers",
    86  		"whicherrs"
    87  	],
    88  	"srcdir": "testdata/src",
    89  	"importpath": "what-json",
    90  	"object": "lib",
    91  	"sameids": [
    92  		"$GOPATH/src/what-json/main.go:13:7",
    93  		"$GOPATH/src/what-json/main.go:14:8"
    94  	]
    95  }