/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
D | arrayExpression.cpp | 230 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 286 … elementType = 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/ |
D | test-tuple-type6-expected.txt | 25 "elementType": { 65 "elementType": { 106 "elementType": { 108 "elementType": {
|
D | test-tuple-type5-expected.txt | 117 "elementType": { 226 "elementType": { 266 "elementType": { 268 "elementType": { 320 "elementType": { 517 "elementType": { 557 "elementType": { 905 "elementType": { 945 "elementType": { 1074 "elementType": { [all …]
|
D | test-type-annotation-expected.txt | 641 "elementType": { 711 "elementType": { 713 "elementType": { 797 "elementType": { 823 "elementType": { 922 "elementType": { 1016 "elementType": { 1023 "elementType": { 1030 "elementType": { 1223 "elementType": { [all …]
|
D | test-tuple-type-expected.txt | 17 "elementType": { 57 "elementType": { 97 "elementType": { 99 "elementType": { 351 "elementType": { 391 "elementType": {
|
D | test-class-definiton19-expected.txt | 165 "elementType": { 311 "elementType": { 443 "elementType": {
|
D | test-type-alias-expected.txt | 284 "elementType": { 324 "elementType": {
|
/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
D | tupleAssignability12-expected.txt | 17 "elementType": { 57 "elementType": { 97 "elementType": { 197 "elementType": { 237 "elementType": { 277 "elementType": { 317 "elementType": {
|
D | varRedeclaration6-expected.txt | 115 "elementType": { 155 "elementType": { 195 "elementType": {
|
D | varRedeclaration4-expected.txt | 14 "elementType": { 84 "elementType": {
|
D | tupleAssignability7-expected.txt | 20 "elementType": { 60 "elementType": { 157 "elementType": {
|
D | tupleAssignability18-expected.txt | 17 "elementType": { 22 "elementType": { 62 "elementType": { 141 "elementType": { 225 "elementType": {
|
D | tupleAssignability6-expected.txt | 20 "elementType": { 60 "elementType": { 157 "elementType": {
|
D | tupleAssignability16-expected.txt | 17 "elementType": { 43 "elementType": {
|
D | tupleAssignability-expected.txt | 517 "elementType": { 557 "elementType": { 654 "elementType": { 1191 "elementType": { 1859 "elementType": { 1899 "elementType": { 1967 "elementType": { 2066 "elementType": { 2106 "elementType": { 2146 "elementType": { [all …]
|
D | arrayDestructuring44-expected.txt | 14 "elementType": { 84 "elementType": {
|
D | tupleAssignability24-expected.txt | 71 "elementType": { 223 "elementType": {
|
D | functionCall_15-expected.txt | 132 "elementType": { 174 "elementType": {
|
D | functionCall_13-expected.txt | 133 "elementType": { 175 "elementType": {
|
D | functionCall_14-expected.txt | 133 "elementType": { 175 "elementType": {
|
/arkcompiler/ets_frontend/es2panda/typescript/types/ |
D | arrayType.h | 25 explicit ArrayType(Type *elementType) : Type(TypeFlag::ARRAY), element_(elementType) {} in ArrayType() argument
|
/arkcompiler/ets_frontend/es2panda/ir/ts/ |
D | tsArrayType.h | 34 …explicit TSArrayType(Expression *elementType) : TypeNode(AstNodeType::TS_ARRAY_TYPE), elementType_… in TSArrayType() argument
|
D | tsNamedTupleMember.h | 34 … explicit TSNamedTupleMember(Expression *label, Expression *elementType, bool optional, bool rest) in TSNamedTupleMember() argument 37 elementType_(elementType), in TSNamedTupleMember()
|
/arkcompiler/ets_runtime/ecmascript/base/ |
D | atomic_helper.cpp | 85 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/ |
D | js_typed_array.cpp | 415 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 …]
|