/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | emptyVariableDeclarationBindingPatterns01_ES5.ts | 102 …ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant 103 …ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant 104 …ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant 106 const ns: number[][] = []; constant 107 AssertType(ns, "number[][]"); 110 for (let {} of ns) { 111 AssertType(ns, "number[][]"); 114 for (let {} of ns) { 115 AssertType(ns, "number[][]"); 118 for (const {} of ns) { [all …]
|
D | emptyVariableDeclarationBindingPatterns01_ES5iterable.ts | 102 …ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant 103 …ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant 104 …ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant 106 const ns: number[][] = []; constant 107 AssertType(ns, "number[][]"); 110 for (let {} of ns) { 111 AssertType(ns, "number[][]"); 114 for (let {} of ns) { 115 AssertType(ns, "number[][]"); 118 for (const {} of ns) { [all …]
|
D | emptyVariableDeclarationBindingPatterns01_ES6.ts | 102 …ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant 103 …ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant 104 …ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant 106 const ns: number[][] = []; constant 107 AssertType(ns, "number[][]"); 110 for (let {} of ns) { 111 AssertType(ns, "number[][]"); 114 for (let {} of ns) { 115 AssertType(ns, "number[][]"); 118 for (const {} of ns) { [all …]
|
D | classdecl.ts | 24 constructor (ns: any) { 57 private foo(ns: any) { 58 AssertType(ns.toString(), "any"); 59 AssertType(ns.toString, "any"); 60 return ns.toString(); 110 private foo(ns: any) { 111 AssertType(ns.toString(), "any"); 112 AssertType(ns.toString, "any"); 113 return ns.toString(); 120 private foo(ns: any) { [all …]
|
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/compiler/ |
D | test-ts-namespace-5.ts | 17 namespace ns { namespace 21 export import ns = ns2.s; 24 namespace ns { namespace 25 print(ns) 28 import ns3 = ns; 29 print(ns3.ns) 31 import s = ns.ns;
|
D | test-ts-namespace-12.ts | 17 namespace ns {} namespace 19 function ns() { function 23 namespace ns { namespace 24 export function ns() { function 30 ns(); 31 ns.ns();
|
D | test-ts-namespace-20.ts | 17 type ns = String; alias 18 namespace ns { namespace 19 export var ns: number = -1; variable 22 let e0: ns = 'type'; 25 print(ns.ns);
|
D | test-ts-namespace-11.ts | 17 namespace ns {} namespace 19 class ns { class 25 namespace ns { namespace 27 export var c = new ns(); 31 print(ns.c.s) 33 var d = new ns();
|
D | test-ts-namespace-3.ts | 17 namespace ns { namespace 18 export var ns : string = "test-ts-namespace-3"; variable 21 print(ns.ns)
|
D | test-ts-namespace-6.ts | 17 namespace ns { namespace 18 export var ns : string = "test-ts-namespace-6"; variable 21 namespace ns { namespace 22 print(ns);
|
D | test-ts-namespace-10.ts | 17 namespace ns.ns2 { 34 var c : ns.ns2.ns3.C = new ns.ns2.ns3.C(); 38 var d : ns.ns2.C = new ns.ns2.C();
|
D | test-ts-namespace-4.ts | 17 namespace ns.ns2 { 19 export var ns : string = "test-ts-namespace-4"; variable 23 print(ns.ns2.ns3.ns)
|
D | test-ts-namespace-15.ts | 17 namespace ns { namespace 21 print(ns.a); 23 namespace ns { namespace 27 print(ns.a);
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsExportForms/ |
D | cjs3.js | 21 const ns = require("./cls"); 22 AssertType(ns, "typeof ns"); 27 module.exports.ns = ns; 28 AssertType(module.exports.ns = ns, "typeof ns"); 29 AssertType(module.exports.ns, "typeof ns"); 30 AssertType(ns, "typeof ns");
|
D | cjs.js | 21 const ns = require("./cls"); 22 AssertType(ns, "typeof ns"); 27 module.exports = { ns }; field 28 AssertType(module.exports = { ns }, "typeof module.exports"); field 30 AssertType({ ns }, "{ ns: typeof ns; }"); field 31 AssertType(ns, "typeof ns");
|
D | cjs2.js | 21 const ns = require("./cls"); 22 AssertType(ns, "typeof ns"); 27 module.exports = ns; 28 AssertType(module.exports = ns, "typeof ns"); 30 AssertType(ns, "typeof ns");
|
D | cjs4.js | 21 const ns = require("./cls"); 22 AssertType(ns, "typeof ns"); 27 module.exports.names = ns; 28 AssertType(module.exports.names = ns, "typeof ns"); 30 AssertType(ns, "typeof ns");
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/moduleAugmentationDoesNamespaceEnumMergeOfReexport/ |
D | augment.ts | 21 import * as ns from "./reexport"; 32 declare const f: ns.Root.Foo; 34 AssertType(ns, "any"); 37 const g: ns.Root = ns.Root.A; 39 AssertType(ns, "any"); 40 AssertType(ns.Root.A, "ns.Root.A");
|
/arkcompiler/ets_frontend/es2panda/test/compiler/ts/cases/conformance/enums/ |
D | test-ts-enum-21.ts | 17 namespace ns { namespace 18 var ns = {E : {b : 1}}; variable 20 c = ns.E.b, 29 namespace ns { namespace 36 a = ns.f() 39 print(E[ns.f()]);
|
D | test-ts-enum-9.ts | 17 namespace ns { namespace 21 enum ns { enum 27 module ns { 31 print(ns.v);
|
D | test-ts-enum-18.ts | 17 enum ns { enum 22 namespace ns { 25 namespace ns { 27 e = ns.a
|
D | test-ts-enum-34.ts | 17 enum ns{ enum 20 namespace ns{ namespace 21 namespace ns{} 23 a = ns.a,
|
D | test-ts-enum-35.ts | 17 enum ns{ enum 20 namespace ns{ namespace 22 import ns = ns1 24 a = ns.a,
|
D | test-ts-enum-27.ts | 17 namespace ns { namespace 24 a=ns["E"].a 28 b=ns.E.a 32 c=ns[`E`].a
|
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsPackageJson/ |
D | index.js | 22 … { node: string; }; scripts: { scriptname: string; }; devDependencies: { "@ns/dep": string; }; dep… 23 … { node: string; }; scripts: { scriptname: string; }; devDependencies: { "@ns/dep": string; }; dep… 28 … { node: string; }; scripts: { scriptname: string; }; devDependencies: { "@ns/dep": string; }; dep… 29 … { node: string; }; scripts: { scriptname: string; }; devDependencies: { "@ns/dep": string; }; dep… 30 … { node: string; }; scripts: { scriptname: string; }; devDependencies: { "@ns/dep": string; }; dep…
|