| /arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/ |
| D | test-type-literal-expected.txt | 12 "typeAnnotation": { 21 "typeAnnotation": { 48 "typeAnnotation": { 116 "typeAnnotation": { 164 "typeAnnotation": { 234 "typeAnnotation": { 260 "typeAnnotation": { 340 "typeAnnotation": { 362 "typeAnnotation": { 405 "typeAnnotation": { [all …]
|
| D | test-interface-expected.txt | 28 "typeAnnotation": { 71 "typeAnnotation": { 147 "typeAnnotation": { 153 "typeAnnotation": { 180 "typeAnnotation": { 243 "typeAnnotation": { 282 "typeAnnotation": { 312 "typeAnnotation": { 367 "typeAnnotation": { 440 "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": {
|
| /arkcompiler/ets_frontend/ets2panda/test/compiler/ts/ |
| D | test-type-literal-expected.txt | 12 "typeAnnotation": { 21 "typeAnnotation": { 49 "typeAnnotation": { 119 "typeAnnotation": { 166 "typeAnnotation": { 239 "typeAnnotation": { 266 "typeAnnotation": { 347 "typeAnnotation": { 370 "typeAnnotation": { 414 "typeAnnotation": { [all …]
|
| D | test-interface-expected.txt | 29 "typeAnnotation": { 73 "typeAnnotation": { 148 "typeAnnotation": { 154 "typeAnnotation": { 182 "typeAnnotation": { 247 "typeAnnotation": { 287 "typeAnnotation": { 317 "typeAnnotation": { 373 "typeAnnotation": { 446 "typeAnnotation": { [all …]
|
| D | objectLiteralAssignability19-expected.txt | 12 "typeAnnotation": { 35 "typeAnnotation": { 79 "typeAnnotation": { 102 "typeAnnotation": { 146 "typeAnnotation": { 213 "typeAnnotation": { 236 "typeAnnotation": { 280 "typeAnnotation": { 384 "typeAnnotation": { 407 "typeAnnotation": { [all …]
|
| D | varRedeclaration-expected.txt | 12 "typeAnnotation": { 70 "typeAnnotation": { 128 "typeAnnotation": { 186 "typeAnnotation": { 244 "typeAnnotation": { 330 "typeAnnotation": { 416 "typeAnnotation": { 439 "typeAnnotation": { 483 "typeAnnotation": { 564 "typeAnnotation": { [all …]
|
| D | objectLiteralAssignability20-expected.txt | 12 "typeAnnotation": { 21 "typeAnnotation": { 49 "typeAnnotation": { 105 "typeAnnotation": { 133 "typeAnnotation": { 240 "typeAnnotation": { 249 "typeAnnotation": { 277 "typeAnnotation": { 333 "typeAnnotation": { 361 "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": { 301 "typeAnnotation": { 323 "typeAnnotation": { 366 "typeAnnotation": { 409 "typeAnnotation": { 489 "typeAnnotation": { 516 "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-interface-expected.txt | 28 "typeAnnotation": { 71 "typeAnnotation": { 147 "typeAnnotation": { 153 "typeAnnotation": { 180 "typeAnnotation": { 243 "typeAnnotation": { 282 "typeAnnotation": { 312 "typeAnnotation": { 367 "typeAnnotation": { 422 "typeAnnotation": { [all …]
|
| D | test-ts-mapped-type-expected.txt | 20 "typeAnnotation": { 41 "typeAnnotation": { 92 "typeAnnotation": { 189 "typeAnnotation": { 210 "typeAnnotation": { 261 "typeAnnotation": { 358 "typeAnnotation": { 379 "typeAnnotation": { 430 "typeAnnotation": { 527 "typeAnnotation": { [all …]
|
| D | test-indexSignature3-expected.txt | 14 "typeAnnotation": { 16 "typeAnnotation": { 34 "typeAnnotation": { 120 "typeAnnotation": { 194 "typeAnnotation": { 298 "typeAnnotation": { 378 "typeAnnotation": { 400 "typeAnnotation": { 457 "typeAnnotation": { 535 "typeAnnotation": { [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/parser/ts/ |
| D | test-type-annotation-expected.txt | 12 "typeAnnotation": { 70 "typeAnnotation": { 128 "typeAnnotation": { 186 "typeAnnotation": { 244 "typeAnnotation": { 302 "typeAnnotation": { 360 "typeAnnotation": { 418 "typeAnnotation": { 476 "typeAnnotation": { 534 "typeAnnotation": { [all …]
|
| D | test-type-literal-expected.txt | 12 "typeAnnotation": { 21 "typeAnnotation": { 49 "typeAnnotation": { 119 "typeAnnotation": { 308 "typeAnnotation": { 331 "typeAnnotation": { 375 "typeAnnotation": { 419 "typeAnnotation": { 500 "typeAnnotation": { 526 "typeAnnotation": { [all …]
|
| D | test-interface-expected.txt | 29 "typeAnnotation": { 73 "typeAnnotation": { 148 "typeAnnotation": { 154 "typeAnnotation": { 182 "typeAnnotation": { 247 "typeAnnotation": { 287 "typeAnnotation": { 317 "typeAnnotation": { 373 "typeAnnotation": { 429 "typeAnnotation": { [all …]
|
| D | test-ts-type-predicate-expected.txt | 30 "typeAnnotation": { 101 "typeAnnotation": null, 186 "typeAnnotation": { 192 "typeAnnotation": { 263 "typeAnnotation": null, 335 "typeAnnotation": { 406 "typeAnnotation": null, 436 "typeAnnotation": { 505 "typeAnnotation": null, 594 "typeAnnotation": { [all …]
|
| D | test-ts-mapped-type-expected.txt | 21 "typeAnnotation": { 43 "typeAnnotation": { 93 "typeAnnotation": { 203 "typeAnnotation": { 225 "typeAnnotation": { 275 "typeAnnotation": { 385 "typeAnnotation": { 407 "typeAnnotation": { 457 "typeAnnotation": { 567 "typeAnnotation": { [all …]
|
| /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/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()
|
| /arkcompiler/ets_frontend/ets2panda/checker/ts/ |
| D | destructuringContext.h | 35 ir::TypeNode *typeAnnotation, ir::Expression *initializer) in DestructuringContext() argument 38 Prepare(typeAnnotation, initializer, id->Start()); in DestructuringContext() 60 …void Prepare(ir::TypeNode *typeAnnotation, ir::Expression *initializer, const lexer::SourcePositio… 89 ir::TypeNode *typeAnnotation, ir::Expression *initializer) in ArrayDestructuringContext() argument 90 …: DestructuringContext(checker, id, inAssignment, convertTupleToArray, typeAnnotation, initializer) in ArrayDestructuringContext() 113 ir::TypeNode *typeAnnotation, ir::Expression *initializer) in ObjectDestructuringContext() argument 114 …: DestructuringContext(checker, id, inAssignment, convertTupleToArray, typeAnnotation, initializer) in ObjectDestructuringContext()
|
| /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()
|