Home
last modified time | relevance | path

Searched defs:substitution (Results 1 – 19 of 19) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/ets/
Dfunction_helpers.h88 Substitution *substitution = checker->NewSubstitution(); in BuildImplicitSubstitutionForArguments() local
148 auto *substitution = checker->NewSubstitution(); in BuildExplicitSubstitutionForArguments() local
194 const Substitution *substitution = in MaybeSubstituteTypeParameters() local
DtypeRelationContext.cpp96const Substitution *substitution, lexer::SourcePosition pos) in CheckInstantiationConstraints()
139 auto *substitution = checker_->NewSubstitution(); in InstantiateType() local
Dfunction.cpp64 const Substitution *substitution) in IsCompatibleTypeArgument()
85 … const size_t index, Substitution *substitution, Type *objectParam) in InsertTypeIntoSubstitution()
99 … const Type *paramType, Substitution *substitution) in EnhanceSubstitutionForGenericType()
142 Type *argumentType, Substitution *substitution) in EnhanceSubstitutionForReadonly()
150 Substitution *substitution) in EnhanceSubstitutionForType()
190 Type *argumentType, Substitution *substitution) in EnhanceSubstitutionForUnion()
230 Type *argumentType, Substitution *substitution) in EnhanceSubstitutionForObject()
280 … Type *const argumentType, Substitution *const substitution) in EnhanceSubstitutionForArray()
1465 auto *substitution = NewSubstitution(); in AdjustForTypeParameters() local
DtypeCreation.cpp648 auto *substitution = NewSubstitution(); in FunctionTypeToFunctionalInterfaceType() local
654 auto *substitution = NewSubstitution(); in FunctionTypeToFunctionalInterfaceType() local
Dhelpers.cpp2009 void ETSChecker::EmplaceSubstituted(Substitution *substitution, ETSTypeParameter *tparam, Type *typ… in EmplaceSubstituted()
2033 util::StringView ETSChecker::GetHashFromSubstitution(const Substitution *substitution) in GetHashFromSubstitution()
/arkcompiler/ets_frontend/ets2panda/checker/types/ets/
DetsFunctionType.cpp91 auto *substitution = relation->GetChecker()->AsETSChecker()->NewSubstitution(); in ProcessSignatures() local
183 …FunctionType *ETSFunctionType::Substitute(TypeRelation *relation, const Substitution *substitution) in Substitute()
DetsObjectType.cpp826 static Type *SubstituteVariableType(TypeRelation *relation, const Substitution *substitution, Type … in SubstituteVariableType()
838 const Substitution *substitution) in CopyPropertyWithTypeArguments()
863 const Substitution *const substitution) in SubstituteTypeArgs()
947 ETSObjectType *ETSObjectType::Substitute(TypeRelation *relation, const Substitution *substitution, … in Substitute()
997 ETSObjectType *ETSObjectType::Substitute(TypeRelation *relation, const Substitution *substitution) in Substitute()
1009 auto *substitution = checker->NewSubstitution(); in SubstituteArguments() local
DetsNonNullishType.cpp88 …nNullishType::Substitute([[maybe_unused]] TypeRelation *relation, const Substitution *substitution) in Substitute()
DetsArrayType.cpp152 Type *ETSArrayType::Substitute(TypeRelation *relation, const Substitution *substitution) in Substitute()
DetsReadonlyType.cpp92 …ReadonlyType::Substitute([[maybe_unused]] TypeRelation *relation, const Substitution *substitution) in Substitute()
DetsTypeParameter.cpp106 …ypeParameter::Substitute([[maybe_unused]] TypeRelation *relation, const Substitution *substitution) in Substitute()
DetsTupleType.cpp140 Type *ETSTupleType::Substitute(TypeRelation *relation, const Substitution *substitution) in Substitute()
DetsUnionType.cpp340 Type *ETSUnionType::Substitute(TypeRelation *relation, const Substitution *substitution) in Substitute()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
DlambdaLowering.cpp44 checker::Substitution *substitution = nullptr; member
51 checker::Substitution *substitution = nullptr; member
103 auto *substitution = checker->NewSubstitution(); in CloneTypeParams() local
207 checker::Substitution *substitution, in ProcessCalleeMethodBody()
340 auto *substitution = subst0; // NOTE(gogabr): needed to capture in a lambda later. in CreateCalleeMethod() local
540 LambdaInfo const *info, checker::Substitution *substitution) in CreateLambdaClassFields()
565 … LambdaInfo const *info, checker::Substitution *substitution) in CreateLambdaClassConstructor()
727checker::Substitution *substitution, ArenaVector<checker::Type *> &funcInterfaces) in BuildLambdaClass()
758 auto *substitution = subst0; // NOTE(gogabr): needed to capture in a lambda later. in CreateLambdaClass() local
/arkcompiler/ets_frontend/ets2panda/checker/types/
Dtype.cpp136 …stitute([[maybe_unused]] TypeRelation *relation, [[maybe_unused]] const Substitution *substitution) in Substitute()
Dsignature.cpp32 Signature *Signature::Substitute(TypeRelation *relation, const Substitution *substitution) in Substitute()
/arkcompiler/ets_frontend/ets2panda/checker/
DETSAnalyzerHelpers.cpp679Substitution *substitution, size_t optionalParameterIndex) in CreateOptionalSignaturesForFunctionalType()
708 … ETSObjectType *genericInterfaceType, Substitution *substitution) in CreateInterfaceTypeForETSFunctionType()
DETSchecker.cpp405 auto *substitution = NewSubstitution(); in GlobalBuiltinBoxType() local
DETSAnalyzer.cpp289 auto *substitution = checker->NewSubstitution(); in Check() local
324 checker::Substitution *substitution = checker->NewSubstitution(); in Check() local