/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | argumentsAsPropertyName2.ts | 43 ({ 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 …]
|
D | functionExpressionWithResolutionOfTypeNamedArguments01.ts | 21 interface arguments { 26 AssertType(function f() { <arguments>arguments;}, "() => void"); 29 <arguments>arguments; 30 AssertType(<arguments>arguments, "arguments"); 31 AssertType(arguments, "IArguments");
|
D | emitArrowFunctionWhenUsingArguments18_ES6.ts | 22 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;
|
D | functionDeclarationWithResolutionOfTypeNamedArguments01.ts | 21 interface arguments { 25 <arguments>arguments; 26 AssertType(<arguments>arguments, "arguments"); 27 AssertType(arguments, "IArguments");
|
D | argumentsReferenceInConstructor5_Js.ts | 22 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, "{}");
|
D | argumentsReferenceInMethod5_Js.ts | 22 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, "{}");
|
D | capturedLetConstInLoop2.ts | 27 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 …]
|
D | capturedLetConstInLoop2_ES6.ts | 27 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 …]
|
D | asyncArrowFunctionCapturesArguments_es6.ts | 27 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");
|
D | asyncArrowFunctionCapturesArguments_es2017.ts | 27 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");
|
D | argumentsReferenceInMethod3_Js.ts | 22 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: {}; }");
|
D | argumentsReferenceInConstructor3_Js.ts | 22 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: {}; }");
|
D | argumentsReferenceInMethod2_Js.ts | 29 this["arguments"] = foo; 30 AssertType(this["arguments"] = foo, "any"); 31 AssertType(this["arguments"], "any"); 33 AssertType("arguments", "string");
|
D | emitArrowFunctionWhenUsingArguments09_ES6.ts | 22 let a = () => () => arguments; 24 AssertType(() => () => arguments, "() => () => IArguments"); 25 AssertType(() => arguments, "() => IArguments"); 26 AssertType(arguments, "IArguments");
|
D | argumentsReferenceInConstructor2_Js.ts | 31 this["arguments"] = foo; 32 AssertType(this["arguments"] = foo, "any"); 33 AssertType(this["arguments"], "any"); 35 AssertType("arguments", "string");
|
/arkcompiler/runtime_core/libpandabase/ |
D | README.md | 7 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/ |
D | arguments.test.ts | 34 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/ |
D | newExpression.ts | 30 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) => {
|
D | callExpression.ts | 33 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/ |
D | getunmappedargs.ts | 18 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/ |
D | test-new-expression-expected.txt | 22 "arguments": [], 63 "arguments": [ 166 "arguments": [], 178 "arguments": [], 190 "arguments": [], 248 "arguments": [ 275 "arguments": [], 320 "arguments": [ 347 "arguments": [], 359 "arguments": [], [all …]
|
/arkcompiler/ets_frontend/es2panda/ |
D | README.md | 7 es2panda [OPTIONS] [input file] -- [arguments] 10 ## Optional arguments 23 ## Tail arguments 34 ### Optional arguments 39 ### Tail arguments
|
/arkcompiler/ets_runtime/test/moduletest/getunmappedargs/ |
D | getunmappedargs.js | 18 * @tc.desc:test arguments 23 print(arguments[0]) 24 print(arguments[1]) 25 print(arguments[2])
|
/arkcompiler/ets_frontend/test/scripts/sdk_test/ |
D | options.py | 31 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/ |
D | lowering_relate_gate_test.cpp | 56 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()
|