2019-04-29 12:57:27 -06:00
|
|
|
-- S1-definition --
|
2019-04-27 20:45:06 -06:00
|
|
|
godef/b/b.go:8:6-8: defined here as S1 struct {
|
|
|
|
F1 int //@mark(S1F1, "F1")
|
|
|
|
S2 //@godef("S2", S2), mark(S1S2, "S2")
|
|
|
|
a.A //@godef("A", A)
|
|
|
|
}
|
2019-04-29 12:57:27 -06:00
|
|
|
-- S1-definition-json --
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"uri": "file://godef/b/b.go",
|
|
|
|
"start": {
|
|
|
|
"line": 8,
|
|
|
|
"column": 6,
|
2019-09-23 21:12:28 -06:00
|
|
|
"offset": 212
|
2019-04-29 12:57:27 -06:00
|
|
|
},
|
|
|
|
"end": {
|
|
|
|
"line": 8,
|
|
|
|
"column": 8,
|
2019-09-23 21:12:28 -06:00
|
|
|
"offset": 214
|
2019-04-29 12:57:27 -06:00
|
|
|
}
|
|
|
|
},
|
2019-04-27 20:45:06 -06:00
|
|
|
"description": "S1 struct {\n\tF1 int //@mark(S1F1, \"F1\")\n\tS2 //@godef(\"S2\", S2), mark(S1S2, \"S2\")\n\ta.A //@godef(\"A\", A)\n}"
|
2019-04-29 12:57:27 -06:00
|
|
|
}
|
|
|
|
|
2019-05-01 17:16:03 -06:00
|
|
|
-- S1-hover --
|
2019-04-27 20:45:06 -06:00
|
|
|
S1 struct {
|
|
|
|
F1 int //@mark(S1F1, "F1")
|
|
|
|
S2 //@godef("S2", S2), mark(S1S2, "S2")
|
|
|
|
a.A //@godef("A", A)
|
|
|
|
}
|
2019-04-29 12:57:27 -06:00
|
|
|
-- S1F1-definition --
|
2019-09-23 21:12:28 -06:00
|
|
|
godef/b/b.go:9:2-4: defined here as @mark(S1F1, "F1")
|
|
|
|
field F1 int
|
2019-04-29 12:57:27 -06:00
|
|
|
-- S1F1-definition-json --
|
|
|
|
{
|
|
|
|
"span": {
|
|
|
|
"uri": "file://godef/b/b.go",
|
|
|
|
"start": {
|
|
|
|
"line": 9,
|
|
|
|
"column": 2,
|
2019-09-23 21:12:28 -06:00
|
|
|
"offset": 231
|
2019-04-29 12:57:27 -06:00
|
|
|
},
|
|
|
|
"end": {
|
|
|
|
"line": 9,
|
|
|
|
"column": 4,
|
2019-09-23 21:12:28 -06:00
|
|
|
"offset": 233
|
2019-04-29 12:57:27 -06:00
|
|
|
}
|
|
|
|
},
|
2019-09-23 21:12:28 -06:00
|
|
|
"description": "@mark(S1F1, \"F1\")\nfield F1 int"
|
2019-04-29 12:57:27 -06:00
|
|
|
}
|
|
|
|
|
2019-05-01 17:16:03 -06:00
|
|
|
-- S1F1-hover --
|
2019-04-27 20:45:06 -06:00
|
|
|
@mark(S1F1, "F1")
|
2019-05-01 17:16:03 -06:00
|
|
|
field F1 int
|