| /arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
| D | test-type-literal-expected.txt | 12 "typeAnnotation": { 21 "typeAnnotation": { 48 "typeAnnotation": { 116 "typeAnnotation": { 162 "typeAnnotation": { 232 "typeAnnotation": { 258 "typeAnnotation": { 338 "typeAnnotation": { 360 "typeAnnotation": { 403 "typeAnnotation": { [all …]
|
| D | test-interface-expected.txt | 28 "typeAnnotation": { 71 "typeAnnotation": { 145 "typeAnnotation": { 151 "typeAnnotation": { 178 "typeAnnotation": { 241 "typeAnnotation": { 280 "typeAnnotation": { 310 "typeAnnotation": { 365 "typeAnnotation": { 436 "typeAnnotation": { [all …]
|
| D | objectLiteralAssignability19-expected.txt | 12 "typeAnnotation": { 34 "typeAnnotation": { 77 "typeAnnotation": { 99 "typeAnnotation": { 142 "typeAnnotation": { 208 "typeAnnotation": { 230 "typeAnnotation": { 273 "typeAnnotation": { 376 "typeAnnotation": { 398 "typeAnnotation": { [all …]
|
| D | varRedeclaration-expected.txt | 12 "typeAnnotation": { 69 "typeAnnotation": { 126 "typeAnnotation": { 183 "typeAnnotation": { 240 "typeAnnotation": { 325 "typeAnnotation": { 410 "typeAnnotation": { 432 "typeAnnotation": { 475 "typeAnnotation": { 555 "typeAnnotation": { [all …]
|
| D | objectLiteralAssignability20-expected.txt | 12 "typeAnnotation": { 21 "typeAnnotation": { 48 "typeAnnotation": { 103 "typeAnnotation": { 130 "typeAnnotation": { 235 "typeAnnotation": { 244 "typeAnnotation": { 271 "typeAnnotation": { 326 "typeAnnotation": { 353 "typeAnnotation": {
|
| D | functionCall_13-expected.txt | 12 "typeAnnotation": { 21 "typeAnnotation": { 104 "typeAnnotation": { 131 "typeAnnotation": { 173 "typeAnnotation": { 252 "typeAnnotation": { 279 "typeAnnotation": { 384 "typeAnnotation": {
|
| D | varRedeclaration9-expected.txt | 12 "typeAnnotation": { 18 "typeAnnotation": { 45 "typeAnnotation": { 139 "typeAnnotation": { 145 "typeAnnotation": { 172 "typeAnnotation": {
|
| D | functionCall_15-expected.txt | 12 "typeAnnotation": { 21 "typeAnnotation": { 103 "typeAnnotation": { 130 "typeAnnotation": { 172 "typeAnnotation": { 251 "typeAnnotation": { 278 "typeAnnotation": {
|
| D | functionOverload3-expected.txt | 29 "typeAnnotation": { 56 "typeAnnotation": { 142 "typeAnnotation": { 197 "typeAnnotation": { 224 "typeAnnotation": { 309 "typeAnnotation": { 364 "typeAnnotation": { 392 "typeAnnotation": {
|
| D | functionCall_14-expected.txt | 12 "typeAnnotation": { 21 "typeAnnotation": { 104 "typeAnnotation": { 131 "typeAnnotation": { 173 "typeAnnotation": { 252 "typeAnnotation": { 279 "typeAnnotation": { 384 "typeAnnotation": {
|
| D | varRedeclaration12-expected.txt | 15 "typeAnnotation": { 42 "typeAnnotation": { 97 "typeAnnotation": { 124 "typeAnnotation": { 222 "typeAnnotation": { 249 "typeAnnotation": { 344 "typeAnnotation": { 415 "typeAnnotation": {
|
| D | functionOverload4-expected.txt | 29 "typeAnnotation": { 56 "typeAnnotation": { 142 "typeAnnotation": { 197 "typeAnnotation": { 224 "typeAnnotation": { 309 "typeAnnotation": { 364 "typeAnnotation": { 392 "typeAnnotation": { 490 "typeAnnotation": {
|
| D | interfaceWithNonCompatibleIndexInfos-expected.txt | 14 "typeAnnotation": { 38 "typeAnnotation": { 68 "typeAnnotation": { 92 "typeAnnotation": {
|
| D | interfaceUsedAsValue-expected.txt | 28 "typeAnnotation": { 74 "typeAnnotation": { 101 "typeAnnotation": { 126 "typeAnnotation": { 156 "typeAnnotation": { 183 "typeAnnotation": {
|
| /arkcompiler/ets_frontend/es2panda/test/parser/ts/ |
| D | test-type-annotation-expected.txt | 12 "typeAnnotation": { 69 "typeAnnotation": { 126 "typeAnnotation": { 183 "typeAnnotation": { 240 "typeAnnotation": { 297 "typeAnnotation": { 354 "typeAnnotation": { 411 "typeAnnotation": { 468 "typeAnnotation": { 525 "typeAnnotation": { [all …]
|
| D | test-type-literal-expected.txt | 12 "typeAnnotation": { 21 "typeAnnotation": { 48 "typeAnnotation": { 116 "typeAnnotation": { 299 "typeAnnotation": { 321 "typeAnnotation": { 364 "typeAnnotation": { 407 "typeAnnotation": { 487 "typeAnnotation": { 512 "typeAnnotation": { [all …]
|
| D | test-ts-type-predicate-expected.txt | 29 "typeAnnotation": { 98 "typeAnnotation": null, 183 "typeAnnotation": { 189 "typeAnnotation": { 258 "typeAnnotation": null, 329 "typeAnnotation": { 398 "typeAnnotation": null, 428 "typeAnnotation": { 496 "typeAnnotation": null, 583 "typeAnnotation": { [all …]
|
| D | test-ts-mapped-type-expected.txt | 20 "typeAnnotation": { 41 "typeAnnotation": { 90 "typeAnnotation": { 185 "typeAnnotation": { 206 "typeAnnotation": { 255 "typeAnnotation": { 350 "typeAnnotation": { 371 "typeAnnotation": { 420 "typeAnnotation": { 515 "typeAnnotation": { [all …]
|
| D | test-interface-expected.txt | 28 "typeAnnotation": { 71 "typeAnnotation": { 145 "typeAnnotation": { 151 "typeAnnotation": { 178 "typeAnnotation": { 241 "typeAnnotation": { 280 "typeAnnotation": { 310 "typeAnnotation": { 365 "typeAnnotation": { 420 "typeAnnotation": { [all …]
|
| D | test-ts-key-remapping-via-as-expected.txt | 20 "typeAnnotation": { 143 "typeAnnotation": { 208 "typeAnnotation": { 294 "typeAnnotation": { 316 "typeAnnotation": { 373 "typeAnnotation": { 436 "typeAnnotation": { 458 "typeAnnotation": { 515 "typeAnnotation": { 578 "typeAnnotation": { [all …]
|
| D | test-type-query-expected.txt | 12 "typeAnnotation": { 69 "typeAnnotation": { 140 "typeAnnotation": { 162 "typeAnnotation": { 184 "typeAnnotation": { 328 "typeAnnotation": { 441 "typeAnnotation": { 447 "typeAnnotation": { 474 "typeAnnotation": {
|
| D | test-type-alias-expected.txt | 20 "typeAnnotation": { 88 "typeAnnotation": { 120 "typeAnnotation": { 126 "typeAnnotation": { 153 "typeAnnotation": { 252 "typeAnnotation": { 379 "typeAnnotation": {
|
| /arkcompiler/ets_frontend/es2panda/ir/base/ |
| D | catchClause.cpp | 62 const ir::Expression *typeAnnotation = nullptr; in Check() local 65 typeAnnotation = param_->AsIdentifier()->TypeAnnotation(); in Check() 67 typeAnnotation = param_->AsArrayPattern()->TypeAnnotation(); in Check() 70 typeAnnotation = param_->AsObjectPattern()->TypeAnnotation(); in Check() 73 if (typeAnnotation) { in Check() 74 checker::Type *catchParamType = typeAnnotation->Check(checker); in Check()
|
| /arkcompiler/ets_frontend/es2panda/typescript/core/ |
| D | destructuringContext.h | 35 const ir::Expression *typeAnnotation, const ir::Expression *initializer) in DestructuringContext() argument 38 Prepare(typeAnnotation, initializer, id->Start()); in DestructuringContext() 61 void Prepare(const ir::Expression *typeAnnotation, const ir::Expression *initializer, 89 … const ir::Expression *typeAnnotation, const ir::Expression *initializer) in ArrayDestructuringContext() argument 90 …: DestructuringContext(checker, id, inAssignment, convertTupleToArray, typeAnnotation, initializer) in ArrayDestructuringContext() 113 … const ir::Expression *typeAnnotation, const ir::Expression *initializer) in ObjectDestructuringContext() argument 114 …: DestructuringContext(checker, id, inAssignment, convertTupleToArray, typeAnnotation, initializer) in ObjectDestructuringContext()
|
| /arkcompiler/ets_frontend/es2panda/ir/statements/ |
| D | variableDeclarator.cpp | 76 const ir::Expression *typeAnnotation = declarator->Id()->AsIdentifier()->TypeAnnotation(); in CheckSimpleVariableDeclaration() local 85 if (typeAnnotation) { in CheckSimpleVariableDeclaration() 86 typeAnnotation->Check(checker); in CheckSimpleVariableDeclaration() 89 if (typeAnnotation && initializer) { in CheckSimpleVariableDeclaration() 90 checker::Type *annotationType = typeAnnotation->AsTypeNode()->GetType(checker); in CheckSimpleVariableDeclaration() 93 } else if (typeAnnotation) { in CheckSimpleVariableDeclaration() 94 bindingVar->SetTsType(typeAnnotation->AsTypeNode()->GetType(checker)); in CheckSimpleVariableDeclaration()
|