Home
last modified time | relevance | path

Searched full:arguments (Results 1 – 25 of 551) sorted by relevance

12345678910>>...23

/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.ts22 AssertType(bar, "{ arguments: {}; }");
23 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.ts22 AssertType(bar, "{ arguments: {}; }");
23 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: {}; }");
DargumentsReferenceInMethod2_Js.ts29 this["arguments"] = foo;
30 AssertType(this["arguments"] = foo, "any");
31 AssertType(this["arguments"], "any");
33 AssertType("arguments", "string");
DemitArrowFunctionWhenUsingArguments09_ES6.ts22 let a = () => () => arguments;
24 AssertType(() => () => arguments, "() => () => IArguments");
25 AssertType(() => arguments, "() => IArguments");
26 AssertType(arguments, "IArguments");
DargumentsReferenceInConstructor2_Js.ts31 this["arguments"] = foo;
32 AssertType(this["arguments"] = foo, "any");
33 AssertType(this["arguments"], "any");
35 AssertType("arguments", "string");
/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.
28 #### Arguments subsubsection
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
[all …]
/arkcompiler/ets_frontend/ts2panda/tests/expression/
Darguments.test.ts34 describe("arguments Keyword", function () {
35 it('arguments: Array-like object accessible inside functions', function () {
37 snippetCompiler.compile(`function foo(a,b) {arguments[0];}`);
38 …IRNode.pg = new PandaGen("foo", creatAstFromSnippet(`function foo(a,b) {arguments[0];}`), 0, undef…
56 it('arguments as parameter shadows keyword', function () {
58 snippetCompiler.compile(`function foo(arguments) {arguments[0];}`);
59 …IRNode.pg = new PandaGen("foo", creatAstFromSnippet(`function foo(arguments) {arguments[0];}`), 0,…
/arkcompiler/ets_frontend/ts2panda/src/expression/
DnewExpression.ts30 if (containSpreadElement(expr.arguments)) {
32 … createArrayFromElements(expr, compiler, <ts.NodeArray<ts.Expression>>expr.arguments, argRegs);
40 // prepare arguments for newobj.dyn.range instruction
42 if (expr.arguments) {
43 numArgs += expr.arguments.length;
50 if (expr.arguments) {
51 // store ctor arguments in registers
52 expr.arguments.forEach((argExpr: ts.Expression) => {
DcallExpression.ts33 compiler.compileExpression(expr.arguments[0]);
53 let { arguments: args, passThis: passThis } = getHiddenParameters(innerExpression, compiler);
55 // compile arguments of function call
90 return { arguments: args, passThis: passThis };
96 for (let i = 0; i < expr.arguments.length; i++) {
97 let argument = expr.arguments[i];
105 expr.arguments.forEach((argExpr: ts.Expression) => {
144 createArrayFromElements(expr, compiler, <ts.NodeArray<ts.Expression>>expr.arguments, argArray);
/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/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_frontend/es2panda/
DREADME.md7 es2panda [OPTIONS] [input file] -- [arguments]
10 ## Optional arguments
23 ## Tail arguments
34 ### Optional arguments
39 ### Tail arguments
/arkcompiler/ets_runtime/test/moduletest/getunmappedargs/
Dgetunmappedargs.js18 * @tc.desc:test arguments
23 print(arguments[0])
24 print(arguments[1])
25 print(arguments[2])
/arkcompiler/ets_frontend/test/scripts/sdk_test/
Doptions.py31 arguments = {} variable
117 global arguments
118 arguments = parser.parse_args()
131 test_cases = 'all' if arguments.test_case == 'all' else []
132 test_haps = 'all' if arguments.test_hap == 'all' else []
134 test_cases = arguments.test_case.split(',')
136 test_haps = arguments.test_hap.split(',')
163 init_logger(arguments.log_level, arguments.log_file)
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dlowering_relate_gate_test.cpp56 auto arg0 = builder.Arguments(0); in HWTEST_F_L0()
59 …circuit.FrameArgs(), {builder.Arguments(3), builder.Arguments(4), builder.Arguments(5), builder.Ar… in HWTEST_F_L0()
81 auto arg0 = builder.Arguments(0); in HWTEST_F_L0()
100 auto glue = builder.Arguments(0); in HWTEST_F_L0()
101 auto arg0 = builder.Arguments(1); in HWTEST_F_L0()
102 auto arg1 = builder.Arguments(2); in HWTEST_F_L0()

12345678910>>...23