Home
last modified time | relevance | path

Searched refs:references (Results 1 – 25 of 2312) sorted by relevance

12345678910>>...93

/third_party/typescript_eslint/packages/scope-manager/tests/eslint-scope/
Des6-destructuring-assignments.test.ts26 expect(scope.references).toHaveLength(0);
38 expect(scope.references).toHaveLength(4);
39 expect(scope.references[0].identifier.name).toBe('a');
40 expect(scope.references[0].isWrite()).toBeTruthy();
41 expect(scope.references[0].resolved).toBe(variables[1]);
42 expect(scope.references[1].identifier.name).toBe('b');
43 expect(scope.references[1].isWrite()).toBeTruthy();
44 expect(scope.references[1].resolved).toBe(variables[2]);
45 expect(scope.references[2].identifier.name).toBe('c');
46 expect(scope.references[2].isWrite()).toBeTruthy();
[all …]
Des6-iteration-scope.test.ts35 expect(scope.references).toHaveLength(1);
36 expect(scope.references[0].identifier.name).toBe('i');
37 expect(scope.references[0].resolved).toBe(variables[1]);
45 expect(scope.references).toHaveLength(2);
46 expect(scope.references[0].identifier.name).toBe('i');
47 expect(scope.references[0].resolved).toBe(variables[0]);
48 expect(scope.references[1].identifier.name).toBe('i');
49 expect(scope.references[1].resolved).toBe(variables[0]);
55 expect(scope.references).toHaveLength(2);
56 expect(scope.references[0].identifier.name).toBe('console');
[all …]
Des6-block-scope.test.ts30 expect(scope.references).toHaveLength(2);
31 expect(scope.references[0].identifier.name).toBe('i');
32 expect(scope.references[1].identifier.name).toBe('i');
56 expect(scope.references).toHaveLength(1);
57 expect(scope.references[0].identifier.name).toBe('test');
64 expect(scope.references).toHaveLength(0);
84 expect(scope.references).toHaveLength(1);
91 expect(scope.references).toHaveLength(3);
92 expect(scope.references[0].resolved).toBe(variables[0]);
93 expect(scope.references[1].resolved).toBe(variables[0]);
[all …]
Des6-export.test.ts22 expect(scope.references).toHaveLength(0);
30 expect(scope.references).toHaveLength(0);
45 expect(scope.references).toHaveLength(0);
53 expect(scope.references).toHaveLength(0);
60 expect(scope.references).toHaveLength(0);
75 expect(scope.references).toHaveLength(0);
81 expect(scope.references).toHaveLength(0);
88 expect(scope.references).toHaveLength(0);
100 expect(scope.references).toHaveLength(0);
106 expect(scope.references).toHaveLength(0);
[all …]
Dreferences.test.ts14 expect(scope.references).toHaveLength(1);
16 const reference = scope.references[0];
40 expect(scope.references).toHaveLength(2); // [b, a]
42 const reference = scope.references[1];
67 expect(scope.references).toHaveLength(2); // [b, a]
69 const reference = scope.references[1];
92 expect(scope.references).toHaveLength(1);
94 const reference = scope.references[0];
118 expect(scope.references).toHaveLength(2); // [b, a]
120 const reference = scope.references[1];
[all …]
Des6-class.test.ts29 expect(scope.references).toHaveLength(1);
30 expect(scope.references[0].identifier.name).toBe('Derived');
39 expect(scope.references).toHaveLength(1);
40 expect(scope.references[0].identifier.name).toBe('Base');
49 expect(scope.references).toHaveLength(0);
68 expect(scope.references).toHaveLength(0);
77 expect(scope.references).toHaveLength(1);
78 expect(scope.references[0].identifier.name).toBe('Base');
87 expect(scope.references).toHaveLength(0);
106 expect(scope.references).toHaveLength(0);
[all …]
Des6-switch.test.ts32 expect(scope.references).toHaveLength(1);
33 expect(scope.references[0].identifier.name).toBe('ok');
43 expect(scope.references).toHaveLength(5);
44 expect(scope.references[0].identifier.name).toBe('hello');
45 expect(scope.references[1].identifier.name).toBe('i');
46 expect(scope.references[2].identifier.name).toBe('i');
47 expect(scope.references[3].identifier.name).toBe('test');
48 expect(scope.references[4].identifier.name).toBe('test');
Des6-import.test.ts21 expect(scope.references).toHaveLength(0);
30 expect(scope.references).toHaveLength(0);
45 expect(scope.references).toHaveLength(0);
54 expect(scope.references).toHaveLength(0);
69 expect(scope.references).toHaveLength(0);
78 expect(scope.references).toHaveLength(0);
93 expect(scope.references).toHaveLength(0);
102 expect(scope.references).toHaveLength(0);
126 expect(scope.references).toHaveLength(0);
140 expect(scope.references).toHaveLength(2);
[all …]
Dwith-scope.test.ts29 expect(scope.references).toHaveLength(0);
36 expect(scope.references).toHaveLength(1);
37 expect(scope.references[0].resolved).toBeNull();
43 expect(scope.references).toHaveLength(0);
49 expect(scope.references).toHaveLength(1);
50 expect(scope.references[0].identifier.name).toBe('testing');
51 expect(scope.references[0].resolved).toBeNull();
Des6-default-parameters.test.ts33 expect(scope.references).toHaveLength(1);
35 const reference = scope.references[0];
76 expect(scope.references).toHaveLength(2); // [b, a]
78 const reference = scope.references[1];
121 expect(scope.references).toHaveLength(2); // [b, a]
123 const reference = scope.references[1];
166 expect(scope.references).toHaveLength(2); // [b, a]
168 const reference = scope.references[1];
210 expect(scope.references).toHaveLength(1); // [a]
212 const reference = scope.references[0];
[all …]
/third_party/typescript_eslint/packages/scope-manager/tests/types/
Dreference-type.test.ts17 expect(variable.references).toHaveLength(1);
23 expect(variable.references[0].identifier.parent?.parent).toBe(
36 expect(variable.references).toHaveLength(1);
41 expect(variable.references[0].identifier.parent?.parent).toBe(
53 expect(variable.references).toHaveLength(1);
58 expect(variable.references[0].identifier.parent).toBe(referencingNode);
79 expect(variable.references).toHaveLength(3);
82 expect(variable.references[0].identifier.parent).toBe(node);
89 expect(variable.references[1].identifier.parent?.parent).toBe(
99 expect(variable.references[2].identifier.parent).toBe(
[all …]
/third_party/mindspore/.jenkins/check/config/
Dfilter_cpplint.txt4 …nference.h" "runtime/references"
5 …nfer_tensor.h" "runtime/references"
9 …/ccsrc/runtime/device/ascend/profiling/profiling_callback_register.cc" "runtime/references"
10 …/core/mindrt/src/actor/actormgr.h" "runtime/references"
11 …/core/mindrt/src/actor/actorpolicyinterface.h" "runtime/references"
12 …/core/mindrt/src/actor/actorthread.h" "runtime/references"
13 …/core/mindrt/src/actor/actorpolicy.h" "runtime/references"
19 …fficial/cv/yolov4_tiny/infer/mxbase/src/Yolov4TinyDetection.h" "runtime/references"
20 …fficial/cv/yolov4_tiny/infer/mxbase/src/PostProcess/Yolov4TinyMindsporePost.h" "runtime/references"
21 …e/model_zoo/official/cv/resnet/infer/ResNet18/mxbase/Resnet18ClassifyOpencv.h" "runtime/references"
[all …]
/third_party/typescript/src/testRunner/unittests/config/
DprojectReferences.ts4 references?: readonly (string | ProjectReference)[]; property
56 references: (sp.references || []).map(r => { constant
104 references: [] constant
108 references: ["../primary"]
126 references: [], constant
143 references: [], constant
150 references: ["../primary"],
166 references: [], constant
173 references: ["../primary"],
205 references: ["../foo"] constant
[all …]
/third_party/typescript/tests/baselines/reference/
DcircularTypeofWithVarOrFunc.errors.txt1 …larTypeofWithVarOrFunc.ts(1,6): error TS2456: Type alias 'typeAlias1' circularly references itself.
4 …larTypeofWithVarOrFunc.ts(5,6): error TS2456: Type alias 'typeAlias2' circularly references itself.
5 …larTypeofWithVarOrFunc.ts(7,18): error TS2577: Return type annotation circularly references itself.
6 …larTypeofWithVarOrFunc.ts(9,6): error TS2456: Type alias 'typeAlias3' circularly references itself.
7 …es/circularTypeofWithVarOrFunc.ts(18,6): error TS2456: Type alias 'R' circularly references itself.
8 …arTypeofWithVarOrFunc.ts(19,29): error TS2577: Return type annotation circularly references itself.
9 …s/circularTypeofWithVarOrFunc.ts(25,6): error TS2456: Type alias 'R2' circularly references itself.
10 …arTypeofWithVarOrFunc.ts(26,15): error TS2577: Return type annotation circularly references itself.
16 !!! error TS2456: Type alias 'typeAlias1' circularly references itself.
26 !!! error TS2456: Type alias 'typeAlias2' circularly references itself.
[all …]
DinterfaceThatIndirectlyInheritsFromItself.errors.txt1 …ctlyInheritsFromItself.ts(1,11): error TS2310: Type 'Base' recursively references itself as a base…
2 …yInheritsFromItself.ts(5,11): error TS2310: Type 'Derived' recursively references itself as a base…
3 …InheritsFromItself.ts(9,11): error TS2310: Type 'Derived2' recursively references itself as a base…
4 …InheritsFromItself.ts(14,15): error TS2310: Type 'Base<T>' recursively references itself as a base…
5 …eritsFromItself.ts(18,15): error TS2310: Type 'Derived<T>' recursively references itself as a base…
6 …ritsFromItself.ts(22,15): error TS2310: Type 'Derived2<T>' recursively references itself as a base…
12 !!! error TS2310: Type 'Base' recursively references itself as a base type.
18 !!! error TS2310: Type 'Derived' recursively references itself as a base type.
24 !!! error TS2310: Type 'Derived2' recursively references itself as a base type.
31 !!! error TS2310: Type 'Base<T>' recursively references itself as a base type.
[all …]
DdirectDependenceBetweenTypeAliases.errors.txt1 …ctDependenceBetweenTypeAliases.ts(4,6): error TS2456: Type alias 'T0' circularly references itself.
2 …DependenceBetweenTypeAliases.ts(5,6): error TS2456: Type alias 'T0_1' circularly references itself.
3 …DependenceBetweenTypeAliases.ts(6,6): error TS2456: Type alias 'T0_2' circularly references itself.
4 …DependenceBetweenTypeAliases.ts(7,6): error TS2456: Type alias 'T0_3' circularly references itself.
5 …tDependenceBetweenTypeAliases.ts(14,6): error TS2456: Type alias 'T2' circularly references itself.
7 …tDependenceBetweenTypeAliases.ts(26,6): error TS2456: Type alias 'T5' circularly references itself.
16 !!! error TS2456: Type alias 'T0' circularly references itself.
19 !!! error TS2456: Type alias 'T0_1' circularly references itself.
22 !!! error TS2456: Type alias 'T0_2' circularly references itself.
25 !!! error TS2456: Type alias 'T0_3' circularly references itself.
[all …]
/third_party/typescript_eslint/packages/scope-manager/tests/fixtures/decorators/
Daccessor.ts.shot15 references: Array [
39 references: Array [],
51 references: Array [],
63 references: Array [],
70 references: Array [],
77 references: Array [],
86 references: Array [],
103 references: Array [],
116 references: Array [
132 references: Array [],
[all …]
Dparameter-property.ts.shot15 references: Array [
39 references: Array [],
51 references: Array [],
63 references: Array [],
70 references: Array [],
82 references: Array [],
94 references: Array [
114 references: Array [],
131 references: Array [],
144 references: Array [],
[all …]
Dmethod.ts.shot15 references: Array [
31 references: Array [],
43 references: Array [],
55 references: Array [],
62 references: Array [],
71 references: Array [],
88 references: Array [],
101 references: Array [
116 references: Array [],
Dparameter.ts.shot15 references: Array [
55 references: Array [],
67 references: Array [],
74 references: Array [],
86 references: Array [],
98 references: Array [],
110 references: Array [],
122 references: Array [
142 references: Array [],
159 references: Array [],
[all …]
/third_party/typescript_eslint/packages/scope-manager/tests/fixtures/functions/function-declaration/
Doverload.ts.shot19 references: Array [],
26 references: Array [],
38 references: Array [],
50 references: Array [],
57 references: Array [],
69 references: Array [
90 references: Array [],
99 references: Array [],
114 references: Array [],
131 references: Array [
/third_party/typescript_eslint/packages/scope-manager/tests/fixtures/type-declaration/
Dconditional5.ts.shot15 references: Array [],
27 references: Array [
48 references: Array [],
60 references: Array [],
72 references: Array [
90 references: Array [],
105 references: Array [],
118 references: Array [
134 references: Array [],
147 references: Array [],
/third_party/typescript_eslint/packages/scope-manager/tests/fixtures/class/declaration/
Dmethod.ts.shot15 references: Array [],
27 references: Array [],
34 references: Array [],
46 references: Array [
75 references: Array [],
87 references: Array [],
99 references: Array [
122 references: Array [
145 references: Array [],
157 references: Array [
[all …]
Dparameter-properties.ts.shot15 references: Array [
46 references: Array [
67 references: Array [],
79 references: Array [],
86 references: Array [],
98 references: Array [
127 references: Array [
150 references: Array [
173 references: Array [
196 references: Array [],
[all …]
/third_party/typescript_eslint/packages/scope-manager/tests/fixtures/class/expression/
Dparameter-properties.ts.shot15 references: Array [
46 references: Array [
67 references: Array [
85 references: Array [],
97 references: Array [
126 references: Array [
149 references: Array [
172 references: Array [
195 references: Array [],
207 references: Array [],
[all …]

12345678910>>...93