mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
154 lines
3.7 KiB
JSON
154 lines
3.7 KiB
JSON
// === goToDefinition ===
|
|
// === /goToDefinitionInMemberDeclaration.ts ===
|
|
// <|interface [|IFoo|] { method1(): number; }|>
|
|
//
|
|
// class Foo implements IFoo {
|
|
// public method1(): number { return 0; }
|
|
// }
|
|
//
|
|
// enum Enum { value1, value2 };
|
|
//
|
|
// class Bar {
|
|
// public _interface: IFo/*GOTO DEF*/o = new Foo();
|
|
// public _class: Foo = new Foo();
|
|
// public _list: IFoo[]=[];
|
|
// public _enum: Enum = Enum.value1;
|
|
// --- (line: 14) skipped ---
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionInMemberDeclaration.ts ===
|
|
// <|interface [|IFoo|] { method1(): number; }|>
|
|
//
|
|
// class Foo implements IFoo {
|
|
// public method1(): number { return 0; }
|
|
// --- (line: 5) skipped ---
|
|
|
|
// --- (line: 8) skipped ---
|
|
// class Bar {
|
|
// public _interface: IFoo = new Foo();
|
|
// public _class: Foo = new Foo();
|
|
// public _list: IF/*GOTO DEF*/oo[]=[];
|
|
// public _enum: Enum = Enum.value1;
|
|
// public _self: Bar;
|
|
//
|
|
// --- (line: 16) skipped ---
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionInMemberDeclaration.ts ===
|
|
// <|interface [|IFoo|] { method1(): number; }|>
|
|
//
|
|
// class Foo implements IFoo {
|
|
// public method1(): number { return 0; }
|
|
// --- (line: 5) skipped ---
|
|
|
|
// --- (line: 12) skipped ---
|
|
// public _enum: Enum = Enum.value1;
|
|
// public _self: Bar;
|
|
//
|
|
// constructor(public _inConstructor: IFo/*GOTO DEF*/o) {
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionInMemberDeclaration.ts ===
|
|
// interface IFoo { method1(): number; }
|
|
//
|
|
// <|class [|Foo|] implements IFoo {
|
|
// public method1(): number { return 0; }
|
|
// }|>
|
|
//
|
|
// enum Enum { value1, value2 };
|
|
//
|
|
// class Bar {
|
|
// public _interface: IFoo = new Foo();
|
|
// public _class: Fo/*GOTO DEF*/o = new Foo();
|
|
// public _list: IFoo[]=[];
|
|
// public _enum: Enum = Enum.value1;
|
|
// public _self: Bar;
|
|
// --- (line: 15) skipped ---
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionInMemberDeclaration.ts ===
|
|
// interface IFoo { method1(): number; }
|
|
//
|
|
// <|class [|Foo|] implements IFoo {
|
|
// public method1(): number { return 0; }
|
|
// }|>
|
|
//
|
|
// enum Enum { value1, value2 };
|
|
//
|
|
// class Bar {
|
|
// public _interface: IFoo = new Fo/*GOTO DEF*/o();
|
|
// public _class: Foo = new Foo();
|
|
// public _list: IFoo[]=[];
|
|
// public _enum: Enum = Enum.value1;
|
|
// --- (line: 14) skipped ---
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionInMemberDeclaration.ts ===
|
|
// --- (line: 3) skipped ---
|
|
// public method1(): number { return 0; }
|
|
// }
|
|
//
|
|
// <|enum [|Enum|] { value1, value2 }|>;
|
|
//
|
|
// class Bar {
|
|
// public _interface: IFoo = new Foo();
|
|
// public _class: Foo = new Foo();
|
|
// public _list: IFoo[]=[];
|
|
// public _enum: E/*GOTO DEF*/num = Enum.value1;
|
|
// public _self: Bar;
|
|
//
|
|
// constructor(public _inConstructor: IFoo) {
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionInMemberDeclaration.ts ===
|
|
// --- (line: 3) skipped ---
|
|
// public method1(): number { return 0; }
|
|
// }
|
|
//
|
|
// <|enum [|Enum|] { value1, value2 }|>;
|
|
//
|
|
// class Bar {
|
|
// public _interface: IFoo = new Foo();
|
|
// public _class: Foo = new Foo();
|
|
// public _list: IFoo[]=[];
|
|
// public _enum: Enum = En/*GOTO DEF*/um.value1;
|
|
// public _self: Bar;
|
|
//
|
|
// constructor(public _inConstructor: IFoo) {
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// === goToDefinition ===
|
|
// === /goToDefinitionInMemberDeclaration.ts ===
|
|
// --- (line: 5) skipped ---
|
|
//
|
|
// enum Enum { value1, value2 };
|
|
//
|
|
// <|class [|Bar|] {
|
|
// public _interface: IFoo = new Foo();
|
|
// public _class: Foo = new Foo();
|
|
// public _list: IFoo[]=[];
|
|
// public _enum: Enum = Enum.value1;
|
|
// public _self: Ba/*GOTO DEF*/r;
|
|
//
|
|
// constructor(public _inConstructor: IFoo) {
|
|
// }
|
|
// }|> |