| /arkcompiler/ets_frontend/es2panda/ir/ts/ |
| D | tsIndexedAccessType.h | 34 explicit TSIndexedAccessType(Expression *objectType, Expression *indexType) in TSIndexedAccessType() argument 35 … : TypeNode(AstNodeType::TS_INDEXED_ACCESS_TYPE), objectType_(objectType), indexType_(indexType) in TSIndexedAccessType()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | stub_builder-inl.h | 1083 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJSFunctionBase() local 1084 GateRef greater = Int32GreaterThanOrEqual(objectType, in IsJSFunctionBase() 1086 GateRef less = Int32LessThanOrEqual(objectType, in IsJSFunctionBase() 1110 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsSymbol() local 1111 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::SYMBOL))); in IsSymbol() 1124 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsLineString() local 1125 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::LINE_STRING))); in IsLineString() 1130 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsConstantString() local 1131 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::CONSTANT_STRING))); in IsConstantString() 1136 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsTreeString() local [all …]
|
| D | circuit_builder-inl.h | 619 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJSFunction() local 620 GateRef greater = Int32GreaterThanOrEqual(objectType, in IsJSFunction() 622 GateRef less = Int32LessThanOrEqual(objectType, in IsJSFunction() 672 GateRef objectType = GetObjectType(LoadHClass(obj)); in IsJsType() local 673 return Equal(objectType, Int32(static_cast<int32_t>(type))); in IsJsType() 740 GateRef objectType = GetObjectType(hClass); in IsStableArguments() local 741 … GateRef isJsArguments = Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_ARGUMENTS))); in IsStableArguments() 748 GateRef objectType = GetObjectType(hClass); in IsStableArray() local 749 GateRef isJsArray = Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_ARRAY))); in IsStableArray() 816 GateRef objectType = GetObjectType(LoadHClass(obj)); in TaggedObjectIsEcmaObject() local [all …]
|
| D | new_object_stub_builder.cpp | 443 auto objectType = GetObjectType(protoOrHclass); in FastNewThisObject() local 444 Branch(Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::JS_OBJECT))), in FastNewThisObject()
|
| D | circuit_builder.cpp | 287 GateRef objectType = GetObjectType(LoadHClass(elements)); in IsJsCOWArray() local 288 return IsCOWArray(objectType); in IsJsCOWArray() 291 GateRef CircuitBuilder::IsCOWArray(GateRef objectType) in IsCOWArray() argument 293 return Int32Equal(objectType, Int32(static_cast<int32_t>(JSType::COW_TAGGED_ARRAY))); in IsCOWArray()
|
| D | circuit_builder.h | 293 GateRef IsCOWArray(GateRef objectType);
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/ |
| D | ts_type.cpp | 218 GlobalTSTypeRef TSObjectType::GetPropTypeGT(JSThread *thread, JSHandle<TSObjectType> objectType, in GetPropTypeGT() argument 222 JSHandle<TSObjLayoutInfo> layout(thread, objectType->GetObjLayoutInfo().GetTaggedObject()); in GetPropTypeGT() 237 bool TSObjectType::UpdatePropTypeGT(JSThread *thread, JSHandle<TSObjectType> objectType, in UpdatePropTypeGT() argument 241 JSHandle<TSObjLayoutInfo> layout(thread, objectType->GetObjLayoutInfo().GetTaggedObject()); in UpdatePropTypeGT() 254 …STypeRef TSObjectType::GetIndexSignType(JSThread *thread, const JSHandle<TSObjectType> &objectType, in GetIndexSignType() argument 257 if (objectType->GetIndexSigns().IsUndefined()) { in GetIndexSignType() 261 JSHandle<TSObjLayoutInfo> indexSignInfo(thread, objectType->GetIndexSigns()); in GetIndexSignType()
|
| D | ts_type_parser.cpp | 200 JSHandle<TSObjectType> objectType(type); in ParseIndexSigType() local 201 objectType->SetIndexSigns(thread_, indexSignInfo); in ParseIndexSigType() 245 …JSHandle<TSObjectType> objectType = ParseObjectType(jsPandaFile, recordName, typeLiteralExtractor); in ParseNonImportType() local 246 return JSHandle<JSTaggedValue>(objectType); in ParseNonImportType() 421 JSHandle<TSObjectType> objectType = factory_->NewTSObjectType(length); in ParseObjectType() local 422 …FillPropTypes(jsPandaFile, recordName, objectType, typeLiteralExtractor, DEFAULT_INDEX, METHOD_LEN… in ParseObjectType() 423 return objectType; in ParseObjectType() 428 const JSHandle<TSObjectType> &objectType, in FillPropTypes() argument 433 JSHandle<TSObjLayoutInfo> layout(thread_, objectType->GetObjLayoutInfo()); in FillPropTypes() 450 const JSHandle<TSObjectType> &objectType, in FillInterfaceMethodTypes() argument [all …]
|
| D | ts_type.h | 56 static GlobalTSTypeRef GetPropTypeGT(JSThread *thread, JSHandle<TSObjectType> objectType, 59 static bool UpdatePropTypeGT(JSThread *thread, JSHandle<TSObjectType> objectType, 62 …static GlobalTSTypeRef GetIndexSignType(JSThread *thread, const JSHandle<TSObjectType> &objectType,
|
| D | ts_type_parser.h | 185 const JSHandle<TSObjectType> &objectType, 192 const JSHandle<TSObjectType> &objectType,
|
| D | ts_manager.cpp | 243 JSHandle<TSObjectType> objectType(type); in GetPropType() local 244 return TSObjectType::GetPropTypeGT(thread, objectType, propertyName); in GetPropType() 270 JSHandle<TSObjectType> objectType(type); in GetIndexSignType() local 271 return TSObjectType::GetIndexSignType(thread, objectType, typeId); in GetIndexSignType()
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/tests/ |
| D | ts_type_parser_test.cpp | 420 JSHandle<TSObjectType> objectType(type); in HWTEST_F_L0() local 421 EXPECT_EQ(resultGT, objectType->GetGT()); in HWTEST_F_L0() 424 GlobalTSTypeRef propGT = TSObjectType::GetPropTypeGT(thread, objectType, propName); in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
| D | snapshot_processor.h | 108 …EncodeBit SerializeObjectHeader(TaggedObject *objectHeader, size_t objectType, CQueue<TaggedObject…
|
| D | snapshot_processor.cpp | 1441 JSType objectType = hclass->GetObjectType(); in SerializeObject() local 1451 …EncodeBit encodeBit = SerializeObjectHeader(objectHeader, static_cast<size_t>(objectType), queue, … in SerializeObject() 1579 EncodeBit SnapshotProcessor::SerializeObjectHeader(TaggedObject *objectHeader, size_t objectType, in SerializeObjectHeader() argument 1592 encodeBit.SetObjectType(objectType); in SerializeObjectHeader()
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | typeChecker.ts | 250 let objectType = new ObjectType(<ts.TypeLiteralNode>typeNode); 251 return objectType.shiftedTypeIndex;
|
| /arkcompiler/ets_frontend/es2panda/typescript/extractor/ |
| D | typeExtractor.cpp | 591 ObjectType objectType(this, typeAnnotation->AsTSTypeLiteral()); in GetTypeIndexFromAnnotation() local 592 return objectType.GetTypeIndexShift(); in GetTypeIndexFromAnnotation() 595 ObjectType objectType(this, nullptr); // let a : object in GetTypeIndexFromAnnotation() local 596 return objectType.GetTypeIndexShift(); in GetTypeIndexFromAnnotation()
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test-ts-key-remapping-via-as-expected.txt | 78 "objectType": {
|
| D | test_generic-expected.txt | 5169 "objectType": {
|
| /arkcompiler/ets_frontend/es2panda/ |
| D | CMakeLists.txt | 277 typescript/types/objectType.cpp
|
| D | BUILD.gn | 235 "typescript/types/objectType.cpp",
|
| /arkcompiler/ets_runtime/ecmascript/tests/ |
| D | dump_test.cpp | 993 JSHandle<TSObjectType> objectType = factory->NewTSObjectType(0); in HWTEST_F_L0() local 994 DUMP_FOR_HANDLE(objectType) in HWTEST_F_L0()
|
| /arkcompiler/ets_runtime/ecmascript/ |
| D | object_factory.cpp | 3256 JSHandle<TSObjectType> objectType(thread_, header); in NewTSObjectType() local 3257 objectType->SetObjLayoutInfo(thread_, JSTaggedValue::Undefined()); in NewTSObjectType() 3258 objectType->SetIndexSigns(thread_, JSTaggedValue::Undefined()); in NewTSObjectType() 3259 objectType->SetGT(GlobalTSTypeRef::Default()); in NewTSObjectType() 3262 objectType->SetObjLayoutInfo(thread_, tsPropInfo); in NewTSObjectType() 3263 return objectType; in NewTSObjectType()
|
| /arkcompiler/ets_frontend/legacy_bin/api8/src/ |
| D | index.js | 2 …objectType!==t||e.indexType!==r?f(tt(t,r),e):e},createMappedTypeNode:rt,updateMappedTypeNode:funct…
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
| D | cocos_worker_test.js | 18099 get objectType() {
|