Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 25 of 116) sorted by relevance

12345

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DemptyVariableDeclarationBindingPatterns01_ES5.ts102ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant
103ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant
104ns: 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 …]
DemptyVariableDeclarationBindingPatterns01_ES5iterable.ts102ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant
103ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant
104ns: 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 …]
DemptyVariableDeclarationBindingPatterns01_ES6.ts102ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant
103ns: number[][] = []; for (let {} of ns) { } for (let {} of ns) { } for (const {} of… constant
104ns: 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 …]
Dclassdecl.ts24 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/
Dtest-ts-namespace-5.ts17 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;
Dtest-ts-namespace-12.ts17 namespace ns {} namespace
19 function ns() { function
23 namespace ns { namespace
24 export function ns() { function
30 ns();
31 ns.ns();
Dtest-ts-namespace-20.ts17 type ns = String; alias
18 namespace ns { namespace
19 export var ns: number = -1; variable
22 let e0: ns = 'type';
25 print(ns.ns);
Dtest-ts-namespace-11.ts17 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();
Dtest-ts-namespace-3.ts17 namespace ns { namespace
18 export var ns : string = "test-ts-namespace-3"; variable
21 print(ns.ns)
Dtest-ts-namespace-6.ts17 namespace ns { namespace
18 export var ns : string = "test-ts-namespace-6"; variable
21 namespace ns { namespace
22 print(ns);
Dtest-ts-namespace-10.ts17 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();
Dtest-ts-namespace-4.ts17 namespace ns.ns2 {
19 export var ns : string = "test-ts-namespace-4"; variable
23 print(ns.ns2.ns3.ns)
Dtest-ts-namespace-15.ts17 namespace ns { namespace
21 print(ns.a);
23 namespace ns { namespace
27 print(ns.a);
/arkcompiler/ets_runtime/test/typeinfer/automatedcases/jsDeclarationsExportForms/
Dcjs3.js21 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");
Dcjs.js21 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");
Dcjs2.js21 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");
Dcjs4.js21 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/
Daugment.ts21 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/
Dtest-ts-enum-21.ts17 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()]);
Dtest-ts-enum-9.ts17 namespace ns { namespace
21 enum ns { enum
27 module ns {
31 print(ns.v);
Dtest-ts-enum-18.ts17 enum ns { enum
22 namespace ns {
25 namespace ns {
27 e = ns.a
Dtest-ts-enum-34.ts17 enum ns{ enum
20 namespace ns{ namespace
21 namespace ns{}
23 a = ns.a,
Dtest-ts-enum-35.ts17 enum ns{ enum
20 namespace ns{ namespace
22 import ns = ns1
24 a = ns.a,
Dtest-ts-enum-27.ts17 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/
Dindex.js22 … { 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…

12345