Home
last modified time | relevance | path

Searched refs:stringInfo (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A Dobject.cpp51 IndexInfo *stringInfo = objType->StringIndexInfo(); in CheckIndexConstraints() local
66 if (stringInfo != nullptr) { in CheckIndexConstraints()
69 IsTypeAssignableTo(propType, stringInfo->GetType(), in CheckIndexConstraints()
71 "' is not assignable to string index type '", stringInfo->GetType(), "'."}, in CheckIndexConstraints()
75 if (numberInfo != nullptr && !IsTypeAssignableTo(numberInfo->GetType(), stringInfo->GetType())) { in CheckIndexConstraints()
77 " is not assignable to string index info type ", stringInfo->GetType(), "."}, in CheckIndexConstraints()
261 IndexInfo *stringInfo = placeholderObj->AsObjectType()->StringIndexInfo(); in ResolveIndexInfosOfObjectType() local
267 type->Desc()->stringIndexInfo = stringInfo; in ResolveIndexInfosOfObjectType()
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A Dobject.cpp53 IndexInfo *stringInfo = objType->StringIndexInfo(); in CheckIndexConstraints() local
68 if (stringInfo) { in CheckIndexConstraints()
71 IsTypeAssignableTo(propType, stringInfo->GetType(), in CheckIndexConstraints()
73 "' is not assignable to string index type '", stringInfo->GetType(), "'."}, in CheckIndexConstraints()
77 if (numberInfo && !IsTypeAssignableTo(numberInfo->GetType(), stringInfo->GetType())) { in CheckIndexConstraints()
79 " is not assignable to string index info type ", stringInfo->GetType(), "."}, in CheckIndexConstraints()
267 IndexInfo *stringInfo = placeholderObj->AsObjectType()->StringIndexInfo(); in ResolveIndexInfosOfObjectType() local
273 type->Desc()->stringIndexInfo = stringInfo; in ResolveIndexInfosOfObjectType()
/arkcompiler/ets_frontend/ets2panda/checker/types/ts/
H A DobjectType.cpp125 IndexInfo *stringInfo = StringIndexInfo(); in AssignProperties() local
152 if (stringInfo != nullptr && !relation->IsAssignableTo(stringInfo->GetType(), targetType)) { in AssignProperties()
/arkcompiler/ets_frontend/es2panda/typescript/types/
H A DobjectType.cpp129 IndexInfo *stringInfo = StringIndexInfo(); in AssignProperties() local
155 if (stringInfo && !relation->IsAssignableTo(stringInfo->GetType(), targetType)) { in AssignProperties()

Completed in 3 milliseconds