/arkcompiler/ets_frontend/es2panda/typescript/core/ |
D | typeElaborationContext.h | 34 …ElaborationContext(Checker *checker, Type *targetType, Type *sourceType, const ir::Expression *sou… in ElaborationContext() argument 37 targetType_(targetType), in ElaborationContext() 61 …ArrayElaborationContext(Checker *checker, Type *targetType, Type *sourceType, const ir::Expression… in ArrayElaborationContext() argument 63 : ElaborationContext(checker, targetType, sourceType, sourceNode, startPos) in ArrayElaborationContext() 76 …ObjectElaborationContext(Checker *checker, Type *targetType, Type *sourceType, const ir::Expressio… in ObjectElaborationContext() argument 78 : ElaborationContext(checker, targetType, sourceType, sourceNode, startPos) in ObjectElaborationContext()
|
D | helpers.cpp | 313 void Checker::ElaborateElementwise(Type *targetType, const ir::Expression *sourceNode, const lexer:… in ElaborateElementwise() argument 319 if (IsTypeAssignableTo(sourceType, targetType)) { in ElaborateElementwise() 323 if (targetType->IsArrayType() && sourceNode->IsArrayExpression()) { in ElaborateElementwise() 324 ArrayElaborationContext(this, targetType, sourceType, sourceNode, pos).Start(); in ElaborateElementwise() 325 } else if (targetType->IsObjectType() || targetType->IsUnionType()) { in ElaborateElementwise() 327 ObjectElaborationContext(this, targetType, sourceType, sourceNode, pos).Start(); in ElaborateElementwise() 329 ArrayElaborationContext(this, targetType, sourceType, sourceNode, pos).Start(); in ElaborateElementwise() 333 ThrowAssignmentError(sourceType, targetType, pos); in ElaborateElementwise()
|
D | object.cpp | 542 Type *targetType = GetTypeOfVariable(prop); in ValidateInterfaceMemberRedeclaration() local 544 IsTypeIdenticalTo(targetType, sourceType, in ValidateInterfaceMemberRedeclaration() 546 " must be of type ", sourceType, ", but here has type ", targetType, "."}, in ValidateInterfaceMemberRedeclaration()
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsAsExpression.cpp | 102 checker::Type *targetType = typeAnnotation_->AsTypeNode()->GetType(checker); in Check() local 105 targetType, exprType, in Check() 106 {"Conversion of type '", exprType, "' to type '", targetType, in Check() 111 return targetType; in Check()
|
D | tsInterfaceDeclaration.cpp | 86 checker::Type *targetType = checker->GetTypeOfVariable(res->second.first); in CheckInheritedPropertiesAreIdentical() local 87 checker->IsTypeIdenticalTo(sourceType, targetType, in CheckInheritedPropertiesAreIdentical()
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_type_accessor.cpp | 47 void TSTypeAccessor::UpdateForEachCBPara(kungfu::GateType targetType) in UpdateForEachCBPara() argument 61 GlobalTSTypeRef targetGT = targetType.GetGTRef(); in UpdateForEachCBPara() 62 if (tsManager_->IsArrayTypeKind(targetType)) { in UpdateForEachCBPara() 63 elementGT = tsManager_->GetArrayParameterTypeGT(targetType); in UpdateForEachCBPara() 65 if (tsManager_->IsTypedArrayType(targetType)) { in UpdateForEachCBPara()
|
D | ts_type_accessor.h | 83 void PUBLIC_API UpdateForEachCBPara(kungfu::GateType targetType);
|
/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | objectType.cpp | 122 Type *targetType = relation->GetChecker()->GetTypeOfVariable(it); in AssignProperties() local 127 if (!relation->IsAssignableTo(sourceType, targetType)) { in AssignProperties() 140 !relation->IsAssignableTo(numberInfo->GetType(), targetType)) { in AssignProperties() 144 if (stringInfo && !relation->IsAssignableTo(stringInfo->GetType(), targetType)) { in AssignProperties()
|
D | interfaceType.cpp | 67 … Type *targetType = relation->GetChecker()->GetTypeOfVariable(targetProp); in Identical() local 69 return relation->IsIdenticalTo(targetType, sourceType); in Identical()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_stable_array.h | 57 … DataViewType targetType, uint64_t targetOffset,
|
D | js_stable_array.cpp | 667 … DataViewType targetType, uint64_t targetOffset, in FastCopyFromArrayToTypedArray() argument 678 uint32_t targetElementSize = TypedArrayHelper::GetSizeFromType(targetType); in FastCopyFromArrayToTypedArray() 701 targetType, kValue, true); in FastCopyFromArrayToTypedArray()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_typedarray.cpp | 1061 DataViewType targetType = TypedArrayHelper::GetType(targetObj); in Set() local 1062 uint32_t targetElementSize = TypedArrayHelper::GetSizeFromType(targetType); in Set() 1075 return JSStableArray::FastCopyFromArrayToTypedArray(thread, targetObj, targetType, in Set() 1139 targetType, kNumberHandle, true); in Set() 1214 if (srcType != targetType) { in Set() 1221 targetType, value, true); in Set() 1302 DataViewType targetType = JSTypedArray::GetTypeFromName(thread, targetName); in Slice() local 1316 if (srcType != targetType) { in Slice()
|
/arkcompiler/ets_frontend/es2panda/typescript/ |
D | checker.h | 364 …void ElaborateElementwise(Type *targetType, const ir::Expression *sourceNode, const lexer::SourceP…
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | stub_builder-inl.h | 2076 GateRef targetType = Int32(static_cast<int32_t>(Representation::TAGGED)); in SetTaggedRepInPropAttr() local 2078 Int32LSL(targetType, Int32(PropertyAttributes::RepresentationField::START_BIT))); in SetTaggedRepInPropAttr()
|