/arkcompiler/ets_runtime/test/typeinfer/automatedcases/ |
D | conditionalTypesSimplifyWhenTrivial.ts | 21 const fn1 = <Params>( 23 AssertType(<Params>( params: Pick<Params, Exclude<keyof Params, never>>,): Params => params, "<P… 25 params: Pick<Params, Exclude<keyof Params, never>>, 28 ): Params => params; 42 const fn3 = <Params>( 44 AssertType(<Params>( params: Pick<Params, Extract<keyof Params, keyof Params>>,): Params => para… 46 params: Pick<Params, Extract<keyof Params, keyof Params>>, 49 ): Params => params; 70 const fn5 = <Params>( 72 AssertType(<Params>( params: Pick<Params, ExcludeWithDefault<keyof Params, never>>,): Params => … [all …]
|
D | genericObjectSpreadResultInSwitch.ts | 21 type Params = { 25 const getType = <P extends Params>(params: P) => { 28 AssertType(<P extends Params>(params: P) => { const { // Omit foo, ...rest … 46 declare const params: Params;
|
D | indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.ts | 23 type Params<T> = Parameters<Extract<T, AnyFunction>>; 26 call<K extends keyof T>(event: K, ...args: Params<T[K]>): void;
|
/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | signature.cpp | 79 signatureInfo_->params.size() != other->Params().size()) { in Identical() 88 … relation->IsIdenticalTo(signatureInfo_->params[i]->TsType(), other->Params()[i]->TsType()); in Identical() 105 (source->Params().size() - source->OptionalArgCount()) > signatureInfo_->params.size()) { in AssignmentTarget() 110 for (size_t i = 0; i < source->Params().size(); i++) { in AssignmentTarget() 111 if (!signatureInfo_->restVar && i >= Params().size()) { in AssignmentTarget() 116 … relation->IsAssignableTo(source->Params()[i]->TsType(), signatureInfo_->restVar->TsType()); in AssignmentTarget() 125 relation->IsAssignableTo(source->Params()[i]->TsType(), Params()[i]->TsType()); in AssignmentTarget()
|
D | signature.h | 70 const ArenaVector<binder::LocalVariable *> &Params() const in Params() function
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
D | scriptFunction.h | 78 const ArenaVector<Expression *> &Params() const in Params() function 83 ArenaVector<Expression *> &Params() in Params() function
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsTypeParameterInstantiation.h | 39 const ArenaVector<Expression *> &Params() const in Params() function
|
D | tsTypeParameterDeclaration.h | 54 const ArenaVector<TSTypeParameter *> &Params() const in Params() function
|
D | tsFunctionType.h | 60 const ArenaVector<Expression *> &Params() const in Params() function
|
D | tsConstructorType.h | 61 const ArenaVector<Expression *> &Params() const in Params() function
|
D | tsSignatureDeclaration.h | 63 const ArenaVector<Expression *> &Params() const in Params() function
|
D | tsMethodSignature.h | 74 const ArenaVector<Expression *> &Params() const in Params() function
|
/arkcompiler/runtime_core/compiler/tests/ |
D | vixl_exec_module.h | 261 params_ = Params(allocator_->Adapter()); in ClearParameters() 264 using Params = ArenaVector<std::pair< variable 282 Params params_;
|
/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | functionExpression.cpp | 54 checker->CheckFunctionParameterDeclarations(func_->Params(), signatureInfo); in Check()
|
D | arrowFunctionExpression.cpp | 54 checker->CheckFunctionParameterDeclarations(func_->Params(), signatureInfo); in Check()
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
D | function.cpp | 581 CheckFunctionParameterDeclarations(func->Params(), overloadSignatureInfo); in InferFunctionDeclarationType() 598 CheckFunctionParameterDeclarations(bodyDeclaration->Params(), signatureInfo); in InferFunctionDeclarationType() 699 if (it->Params().size() > maxArg) { in GetArgRange() 700 maxArg = it->Params().size(); in GetArgRange() 703 … if (callArgsSize >= it->MinArgCount() && (callArgsSize <= it->Params().size() || it->RestVar())) { in GetArgRange() 717 if (index >= signature->Params().size()) { in CallMatchesSignature() 722 sigArgType = signature->Params()[index]->TsType(); in CallMatchesSignature()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
D | function.cpp | 78 for (const auto *it : func->Params()) { in CompileFunctionParameterDeclaration() 130 pg->CopyRestArgs(param, func->Params().size() - 1); in CompileFunctionParameterDeclaration()
|
D | regScope.cpp | 90 for (auto *param : funcScope->ParamScope()->Params()) { in FunctionRegScope()
|
D | pandagen.cpp | 125 return rootNode_->AsScriptFunction()->Params().size(); in ParamCount() 230 for (const auto *param : topScope_->ParamScope()->Params()) { in CopyFunctionArguments()
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | binder.cpp | 676 for (auto *param : scriptFunc->Params()) { in ResolveReference() 816 auto &funcParams = scope_->AsFunctionVariableScope()->ParamScope()->Params(); in AddMandatoryParam()
|
D | scope.h | 457 ArenaVector<LocalVariable *> &Params() in Params() function 462 const ArenaVector<LocalVariable *> &Params() const in Params() function
|
/arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
D | typeExtractor.cpp | 917 for (const auto &t : node->Params()) { in GetTypeIndexFromBuiltinInst() 938 for (const auto &t : node->Params()) { in GetTypeIndexFromGenericInst()
|
D | typeSystem.h | 326 for (const auto &t : typeParams->Params()) { in CalculateParamTypes() 564 for (const auto &t : func->Params()) { in FillParameters()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
D | parserImpl.cpp | 2365 if (func->Params().size() != 1) { in ValidateClassSetter() 2379 if (!func->Params().empty()) { in ValidateClassGetter() 3036 for (const auto ¶m : ctor->Function()->Params()) { in SuperCallShouldBeFirst()
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
D | transformer.cpp | 652 for (auto *it : func->Params()) { in VisitTSParameterProperty()
|