Home
last modified time | relevance | path

Searched refs:elementType (Results 1 – 25 of 102) sorted by relevance

12345

/arkcompiler/ets_frontend/es2panda/ir/expressions/
DarrayExpression.cpp230 checker::Type *elementType = it->Check(checker); in Check() local
233 elementType = checker->GetBaseTypeOfLiteralType(elementType); in Check()
237 elementTypes.push_back(elementType); in Check()
281 checker::Type *elementType = nullptr; in CheckPattern() local
286elementType = checker->Allocator()->New<checker::ArrayType>(checker->GlobalAnyType()); in CheckPattern()
292 elementType = (*it)->AsObjectPattern()->CheckPattern(checker); in CheckPattern()
298 elementType = (*it)->AsArrayPattern()->CheckPattern(checker); in CheckPattern()
313 elementType = initializerType; in CheckPattern()
320 elementType = destructuringContext.InferedType(); in CheckPattern()
328 elementType = destructuringContext.InferedType(); in CheckPattern()
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-tuple-type6-expected.txt25 "elementType": {
65 "elementType": {
106 "elementType": {
108 "elementType": {
Dtest-tuple-type5-expected.txt117 "elementType": {
226 "elementType": {
266 "elementType": {
268 "elementType": {
320 "elementType": {
517 "elementType": {
557 "elementType": {
905 "elementType": {
945 "elementType": {
1074 "elementType": {
[all …]
Dtest-type-annotation-expected.txt641 "elementType": {
711 "elementType": {
713 "elementType": {
797 "elementType": {
823 "elementType": {
922 "elementType": {
1016 "elementType": {
1023 "elementType": {
1030 "elementType": {
1223 "elementType": {
[all …]
Dtest-tuple-type-expected.txt17 "elementType": {
57 "elementType": {
97 "elementType": {
99 "elementType": {
351 "elementType": {
391 "elementType": {
Dtest-class-definiton19-expected.txt165 "elementType": {
311 "elementType": {
443 "elementType": {
Dtest-type-alias-expected.txt284 "elementType": {
324 "elementType": {
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
DtupleAssignability12-expected.txt17 "elementType": {
57 "elementType": {
97 "elementType": {
197 "elementType": {
237 "elementType": {
277 "elementType": {
317 "elementType": {
DvarRedeclaration6-expected.txt115 "elementType": {
155 "elementType": {
195 "elementType": {
DvarRedeclaration4-expected.txt14 "elementType": {
84 "elementType": {
DtupleAssignability7-expected.txt20 "elementType": {
60 "elementType": {
157 "elementType": {
DtupleAssignability18-expected.txt17 "elementType": {
22 "elementType": {
62 "elementType": {
141 "elementType": {
225 "elementType": {
DtupleAssignability6-expected.txt20 "elementType": {
60 "elementType": {
157 "elementType": {
DtupleAssignability16-expected.txt17 "elementType": {
43 "elementType": {
DtupleAssignability-expected.txt517 "elementType": {
557 "elementType": {
654 "elementType": {
1191 "elementType": {
1859 "elementType": {
1899 "elementType": {
1967 "elementType": {
2066 "elementType": {
2106 "elementType": {
2146 "elementType": {
[all …]
DarrayDestructuring44-expected.txt14 "elementType": {
84 "elementType": {
DtupleAssignability24-expected.txt71 "elementType": {
223 "elementType": {
DfunctionCall_15-expected.txt132 "elementType": {
174 "elementType": {
DfunctionCall_13-expected.txt133 "elementType": {
175 "elementType": {
DfunctionCall_14-expected.txt133 "elementType": {
175 "elementType": {
/arkcompiler/ets_frontend/es2panda/typescript/types/
DarrayType.h25 explicit ArrayType(Type *elementType) : Type(TypeFlag::ARRAY), element_(elementType) {} in ArrayType() argument
/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsArrayType.h34 …explicit TSArrayType(Expression *elementType) : TypeNode(AstNodeType::TS_ARRAY_TYPE), elementType_… in TSArrayType() argument
DtsNamedTupleMember.h34 … explicit TSNamedTupleMember(Expression *label, Expression *elementType, bool optional, bool rest) in TSNamedTupleMember() argument
37 elementType_(elementType), in TSNamedTupleMember()
/arkcompiler/ets_runtime/ecmascript/base/
Datomic_helper.cpp85 DataViewType elementType = JSTypedArray::GetTypeFromName(thread, arrayTypeName); in ValidateAtomicAccess() local
86 uint32_t elementSize = TypedArrayHelper::GetSizeFromType(elementType); in ValidateAtomicAccess()
138 DataViewType elementType = JSTypedArray::GetTypeFromName(thread, arrayTypeName); in AtomicLoad() local
140 indexedPosition, elementType, true); in AtomicLoad()
/arkcompiler/ets_runtime/ecmascript/
Djs_typed_array.cpp415 DataViewType elementType = TypedArrayHelper::GetType(typedarrayObj); in IntegerIndexedElementGet() local
417 …lue result = BuiltinsArrayBuffer::GetValueFromBuffer(thread, buffer, byteIndex, elementType, true); in IntegerIndexedElementGet()
511 DataViewType elementType = TypedArrayHelper::GetType(typedarrayObj); in FastCopyElementToArray() local
517 … byteIndex, elementType, true); in FastCopyElementToArray()
552 DataViewType elementType = TypedArrayHelper::GetType(typedarrayObj); in FastElementGet() local
554 …lue result = BuiltinsArrayBuffer::GetValueFromBuffer(thread, buffer, byteIndex, elementType, true); in FastElementGet()
593 DataViewType elementType = TypedArrayHelper::GetType(typedarrayObj); in IntegerIndexedElementSet() local
595 …BuiltinsArrayBuffer::SetValueInBuffer(thread, buffer, byteIndex, elementType, numValueHandle, true… in IntegerIndexedElementSet()
664 DataViewType elementType = TypedArrayHelper::GetType(jsType); in FastGetPropertyByIndex() local
666 return BuiltinsArrayBuffer::GetValueFromBuffer(thread, buffer, byteIndex, elementType, true); in FastGetPropertyByIndex()
[all …]

12345