Home
last modified time | relevance | path

Searched refs:typeParameter (Results 1 - 7 of 7) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DtsMappedTypeBuilder.h29 TSMappedTypeBuilder &SetTypeParameter(TSTypeParameter *typeParameter) in SetTypeParameter() argument
31 typeParameter_ = typeParameter; in SetTypeParameter()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DgenericBridgesLowering.cpp204 auto *const typeParameter = parameter->AsETSTypeParameter(); in CreateGenericBridges() local
205 checker->EmplaceSubstituted(substitutions.derivedConstraints, typeParameter, in CreateGenericBridges()
206 typeParameter->GetConstraintType()); in CreateGenericBridges()
256 auto *const typeParameter = typeParameters[i]->AsETSTypeParameter(); in ProcessClassDefinition() local
261 checker->EmplaceSubstituted(substitutions.derivedSubstitutions, typeParameter, typeArgument); in ProcessClassDefinition()
262 if (auto *const defaultType = typeParameter->GetDefaultType(); defaultType != nullptr) { in ProcessClassDefinition()
263 checker->EmplaceSubstituted(substitutions.baseConstraints, typeParameter, defaultType); in ProcessClassDefinition()
265 checker->EmplaceSubstituted(substitutions.baseConstraints, typeParameter, in ProcessClassDefinition()
266 typeParameter->GetConstraintType()); in ProcessClassDefinition()
/arkcompiler/ets_frontend/ets2panda/ir/ts/
H A DtsMappedType.h25 explicit TSMappedType(TSTypeParameter *typeParameter, TypeNode *typeAnnotation, MappedOption readonly, in TSMappedType() argument
28 typeParameter_(typeParameter), in TSMappedType()
/arkcompiler/ets_frontend/es2panda/ir/ts/
H A DtsMappedType.h35 explicit TSMappedType(TSTypeParameter *typeParameter, Expression *nameKeyType, Expression *typeAnnotation, in TSMappedType() argument
38 typeParameter_(typeParameter), in TSMappedType()
/arkcompiler/ets_frontend/es2panda/typescript/types/
H A DinterfaceType.cpp19 #include <typescript/types/typeParameter.h>
/arkcompiler/ets_frontend/ets2panda/parser/
H A DTSparser.cpp748 auto *typeParameter = AllocNode<ir::TSTypeParameter>(paramName, constraint, nullptr); in ParseMappedTypeParameter() local
750 typeParameter->SetRange({startLoc, endLoc}); in ParseMappedTypeParameter()
752 return typeParameter; in ParseMappedTypeParameter()
791 ir::TSTypeParameter *typeParameter = ParseMappedTypeParameter(); in ParseMappedType() local
821 auto *mappedType = AllocNode<ir::TSMappedType>(typeParameter, typeAnnotation, readonly, optional); in ParseMappedType()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.cpp1196 auto *typeParameter = AllocNode<ir::TSTypeParameter>(paramName, constraint, nullptr); in ParseTsMappedTypeParameter() local
1198 typeParameter->SetRange({startLoc, endLoc}); in ParseTsMappedTypeParameter()
1200 return typeParameter; in ParseTsMappedTypeParameter()
1239 ir::TSTypeParameter *typeParameter = ParseTsMappedTypeParameter(); in ParseTsMappedType() local
1277 auto *mappedType = AllocNode<ir::TSMappedType>(typeParameter, nameKeyType, typeAnnotation, readonly, optional); in ParseTsMappedType()

Completed in 11 milliseconds