3 import "golang.org/x/tools/internal/lsp/implementation/other"
5 type ImpP struct{} //@ImpP,implementations("ImpP", Laugher, OtherLaugher)
7 func (*ImpP) Laugh() { //@mark(LaughP, "Laugh"),implementations("Laugh", Laugh, OtherLaugh)
10 type ImpS struct{} //@ImpS,implementations("ImpS", Laugher, OtherLaugher)
12 func (ImpS) Laugh() { //@mark(LaughS, "Laugh"),implementations("Laugh", Laugh, OtherLaugh)
15 type Laugher interface { //@Laugher,implementations("Laugher", ImpP, OtherImpP, ImpS, OtherImpS)
16 Laugh() //@Laugh,implementations("Laugh", LaughP, OtherLaughP, LaughS, OtherLaughS)
19 type Foo struct { //@implementations("Foo", Joker)
23 type Joker interface { //@Joker
24 Joke() //@Joke,implementations("Joke", ImpJoker)
27 type cryer int //@implementations("cryer", Cryer)
29 func (cryer) Cry(other.CryType) {} //@mark(CryImpl, "Cry"),implementations("Cry", Cry)
31 type Empty interface{} //@implementations("Empty")