Home
last modified time | relevance | path

Searched refs:arguments (Results 1 – 25 of 405) sorted by relevance

12345678910>>...17

/arkcompiler/ets_runtime/test/typeinfer/automatedcases/
DargumentsAsPropertyName2.ts43 ({ arguments: 0 });
44 AssertType(({ arguments: 0 }), "{ arguments: number; }");
45 AssertType({ arguments: 0 }, "{ arguments: number; }");
46 AssertType(arguments, "number");
49 ({ arguments });
50 AssertType(({ arguments }), "{ arguments: IArguments; }");
51 AssertType({ arguments }, "{ arguments: IArguments; }");
52 AssertType(arguments, "IArguments");
54 ({ arguments: arguments });
55 AssertType(({ arguments: arguments }), "{ arguments: IArguments; }");
[all …]
DfunctionExpressionWithResolutionOfTypeNamedArguments01.ts21 interface arguments {
26 AssertType(function f() { <arguments>arguments;}, "() => void");
29 <arguments>arguments;
30 AssertType(<arguments>arguments, "arguments");
31 AssertType(arguments, "IArguments");
DemitArrowFunctionWhenUsingArguments18_ES6.ts22 let { arguments: args } = { arguments };
23 AssertType(arguments, "any");
25 AssertType({ arguments }, "{ arguments: IArguments; }");
26 AssertType(arguments, "IArguments");
32 AssertType(() => arguments, "() => IArguments");
33 AssertType(arguments, "IArguments");
34 return () => arguments;
DfunctionDeclarationWithResolutionOfTypeNamedArguments01.ts21 interface arguments {
25 <arguments>arguments;
26 AssertType(<arguments>arguments, "arguments");
27 AssertType(arguments, "IArguments");
DargumentsReferenceInConstructor5_Js.ts23 AssertType({ arguments: {}}, "{ arguments: {}; }");
25 arguments: {
26 AssertType(arguments, "{}");
51 this.bar = bar.arguments;
52 AssertType(this.bar = bar.arguments, "{}");
55 AssertType(bar.arguments, "{}");
DargumentsReferenceInMethod5_Js.ts23 AssertType({ arguments: {}}, "{ arguments: {}; }");
25 arguments: {
26 AssertType(arguments, "{}");
49 this.bar = bar.arguments;
50 AssertType(this.bar = bar.arguments, "{}");
53 AssertType(bar.arguments, "{}");
DcapturedLetConstInLoop2.ts27 let a = arguments.length;
29 AssertType(arguments.length, "number");
53 let a = arguments.length;
55 AssertType(arguments.length, "number");
84 let a = arguments.length;
86 AssertType(arguments.length, "number");
111 let a = arguments.length;
113 AssertType(arguments.length, "number");
137 let a = arguments.length;
139 AssertType(arguments.length, "number");
[all …]
DcapturedLetConstInLoop2_ES6.ts27 let a = arguments.length;
29 AssertType(arguments.length, "number");
53 let a = arguments.length;
55 AssertType(arguments.length, "number");
84 let a = arguments.length;
86 AssertType(arguments.length, "number");
111 let a = arguments.length;
113 AssertType(arguments.length, "number");
137 let a = arguments.length;
139 AssertType(arguments.length, "number");
[all …]
DasyncArrowFunctionCapturesArguments_es6.ts27 let fn = async () => await other.apply(this, arguments);
29 AssertType(async () => await other.apply(this, arguments), "() => Promise<any>");
30 AssertType(await other.apply(this, arguments), "any");
31 AssertType(other.apply(this, arguments), "any");
34 AssertType(arguments, "IArguments");
DasyncArrowFunctionCapturesArguments_es2017.ts27 let fn = async () => await other.apply(this, arguments);
29 AssertType(async () => await other.apply(this, arguments), "() => Promise<any>");
30 AssertType(await other.apply(this, arguments), "any");
31 AssertType(other.apply(this, arguments), "any");
34 AssertType(arguments, "IArguments");
DargumentsReferenceInMethod3_Js.ts22 get arguments() {
47 this.y = super.arguments.bar;
48 AssertType(this.y = super.arguments.bar, "{}");
51 AssertType(super.arguments.bar, "{}");
52 AssertType(super.arguments, "{ bar: {}; }");
DargumentsReferenceInConstructor3_Js.ts22 get arguments() {
53 this.bar = super.arguments.foo;
54 AssertType(this.bar = super.arguments.foo, "error");
57 AssertType(super.arguments.foo, "error");
58 AssertType(super.arguments, "{ bar: {}; }");
DemitArrowFunctionWhenUsingArguments09_ES6.ts22 let a = () => () => arguments;
24 AssertType(() => () => arguments, "() => () => IArguments");
25 AssertType(() => arguments, "() => IArguments");
26 AssertType(arguments, "IArguments");
DemitArrowFunctionWhenUsingArguments10_ES6.ts26 let a = () => () => arguments;
28 AssertType(() => () => arguments, "() => () => IArguments");
29 AssertType(() => arguments, "() => IArguments");
30 AssertType(arguments, "IArguments");
DcapturedLetConstInLoop9_ES6.ts178 let [{x1, y:z1}] = [{x1:1, y:arguments.length}];
182 AssertType([{x1:1, y:arguments.length}], "[{ x1: number; y: number; }]");
183 AssertType({x1:1, y:arguments.length}, "{ x1: number; y: number; }");
187 AssertType(arguments.length, "number");
326 let x = arguments.length;
328 AssertType(arguments.length, "number");
334 let z = arguments.length;
336 AssertType(arguments.length, "number");
339 AssertType((function() { return y + z + arguments.length; }), "() => any");
340 AssertType(function() { return y + z + arguments.length; }, "() => any");
[all …]
DcapturedLetConstInLoop9.ts178 let [{x1, y:z1}] = [{x1:1, y:arguments.length}];
182 AssertType([{x1:1, y:arguments.length}], "[{ x1: number; y: number; }]");
183 AssertType({x1:1, y:arguments.length}, "{ x1: number; y: number; }");
187 AssertType(arguments.length, "number");
327 let x = arguments.length;
329 AssertType(arguments.length, "number");
335 let z = arguments.length;
337 AssertType(arguments.length, "number");
340 AssertType((function() { return y + z + arguments.length; }), "() => any");
341 AssertType(function() { return y + z + arguments.length; }, "() => any");
[all …]
DsuperNoModifiersCrash.ts23 super.initialize(...arguments)
24 AssertType(super.initialize(...arguments), "error");
27 AssertType(...arguments, "any");
28 AssertType(arguments, "IArguments");
DargumentsAsPropertyName.ts23 arguments: Array<string>
38 use(myType.arguments[i]);
39 AssertType(use(myType.arguments[i]), "any");
41 AssertType(myType.arguments[i], "string");
42 AssertType(myType.arguments, "string[]");
DargumentsReferenceInConstructor6_Js.ts26 this.foo = arguments;
27 AssertType(this.foo = arguments, "IArguments");
30 AssertType(arguments, "IArguments");
/arkcompiler/ets_runtime/test/aottest/getunmappedargs/
Dgetunmappedargs.ts18 print(arguments[0]);
23 print(arguments[0]);
24 print(arguments[1]);
25 print(arguments[2]);
30 print(arguments[0]);
31 print(arguments[1]);
/arkcompiler/runtime_core/libpandabase/
DREADME.md7 pandargs is header-only utility tool that helps to parse command line arguments. It supports severa…
25 …d of `PandArg`, `PandArgCompound` can be used, which serves for creation of the compound arguments.
35 // argument name | argument description | sub-arguments
43 - PandArgCompound accepts three parameters: argument name, description and list of sub-arguments
52 - List of sub-arguments has type `std::initializer_list<PandArgBase *>`, and it accepts any non-com…
53 Sub-arguments should not be added to the parser via `PandArgParser::Add`.
77 - regular arguments
78 - tail arguments
79 - remainder arguments
81 Regular arguments are typical non-positional arguments like ```--arg=1```
[all …]
/arkcompiler/ets_frontend/es2panda/test/compiler/interpreter/lexicalEnv/
Dsafe_hole4.js42 (function (v4 = () => arguments) {
46 arguments: {} property
48 arguments: {} property
52 arguments: v18 property
65 arguments: {} property
/arkcompiler/ets_frontend/ts2panda/src/expression/
DnewExpression.ts30 if (containSpreadElement(expr.arguments)) {
32 … createArrayFromElements(expr, compiler, <ts.NodeArray<ts.Expression>>expr.arguments, argRegs);
42 if (expr.arguments) {
43 numArgs += expr.arguments.length;
50 if (expr.arguments) {
52 expr.arguments.forEach((argExpr: ts.Expression) => {
/arkcompiler/ets_frontend/es2panda/test/parser/js/
Dtest-new-expression-expected.txt22 "arguments": [],
63 "arguments": [
166 "arguments": [],
178 "arguments": [],
190 "arguments": [],
248 "arguments": [
275 "arguments": [],
320 "arguments": [
347 "arguments": [],
359 "arguments": [],
[all …]
/arkcompiler/ets_runtime/test/moduletest/getunmappedargs/
Dgetunmappedargs.js23 print(arguments[0])
24 print(arguments[1])
25 print(arguments[2])

12345678910>>...17