Home
last modified time | relevance | path

Searched refs:typeAnnotation (Results 1 – 25 of 655) sorted by relevance

12345678910>>...27

/arkcompiler/ets_frontend/es2panda/test/parser/ts/type_checker/
Dtest-type-literal-expected.txt12 "typeAnnotation": {
21 "typeAnnotation": {
48 "typeAnnotation": {
116 "typeAnnotation": {
162 "typeAnnotation": {
232 "typeAnnotation": {
258 "typeAnnotation": {
338 "typeAnnotation": {
360 "typeAnnotation": {
403 "typeAnnotation": {
[all …]
Dtest-interface-expected.txt28 "typeAnnotation": {
71 "typeAnnotation": {
145 "typeAnnotation": {
151 "typeAnnotation": {
178 "typeAnnotation": {
241 "typeAnnotation": {
280 "typeAnnotation": {
310 "typeAnnotation": {
365 "typeAnnotation": {
436 "typeAnnotation": {
[all …]
DobjectLiteralAssignability19-expected.txt12 "typeAnnotation": {
34 "typeAnnotation": {
77 "typeAnnotation": {
99 "typeAnnotation": {
142 "typeAnnotation": {
208 "typeAnnotation": {
230 "typeAnnotation": {
273 "typeAnnotation": {
376 "typeAnnotation": {
398 "typeAnnotation": {
[all …]
DvarRedeclaration-expected.txt12 "typeAnnotation": {
69 "typeAnnotation": {
126 "typeAnnotation": {
183 "typeAnnotation": {
240 "typeAnnotation": {
325 "typeAnnotation": {
410 "typeAnnotation": {
432 "typeAnnotation": {
475 "typeAnnotation": {
555 "typeAnnotation": {
[all …]
DobjectLiteralAssignability20-expected.txt12 "typeAnnotation": {
21 "typeAnnotation": {
48 "typeAnnotation": {
103 "typeAnnotation": {
130 "typeAnnotation": {
235 "typeAnnotation": {
244 "typeAnnotation": {
271 "typeAnnotation": {
326 "typeAnnotation": {
353 "typeAnnotation": {
DfunctionCall_13-expected.txt12 "typeAnnotation": {
21 "typeAnnotation": {
104 "typeAnnotation": {
131 "typeAnnotation": {
173 "typeAnnotation": {
252 "typeAnnotation": {
279 "typeAnnotation": {
384 "typeAnnotation": {
DvarRedeclaration9-expected.txt12 "typeAnnotation": {
18 "typeAnnotation": {
45 "typeAnnotation": {
139 "typeAnnotation": {
145 "typeAnnotation": {
172 "typeAnnotation": {
DfunctionCall_15-expected.txt12 "typeAnnotation": {
21 "typeAnnotation": {
103 "typeAnnotation": {
130 "typeAnnotation": {
172 "typeAnnotation": {
251 "typeAnnotation": {
278 "typeAnnotation": {
DfunctionOverload3-expected.txt29 "typeAnnotation": {
56 "typeAnnotation": {
142 "typeAnnotation": {
197 "typeAnnotation": {
224 "typeAnnotation": {
309 "typeAnnotation": {
364 "typeAnnotation": {
392 "typeAnnotation": {
DfunctionCall_14-expected.txt12 "typeAnnotation": {
21 "typeAnnotation": {
104 "typeAnnotation": {
131 "typeAnnotation": {
173 "typeAnnotation": {
252 "typeAnnotation": {
279 "typeAnnotation": {
384 "typeAnnotation": {
DvarRedeclaration12-expected.txt15 "typeAnnotation": {
42 "typeAnnotation": {
97 "typeAnnotation": {
124 "typeAnnotation": {
222 "typeAnnotation": {
249 "typeAnnotation": {
344 "typeAnnotation": {
415 "typeAnnotation": {
DfunctionOverload4-expected.txt29 "typeAnnotation": {
56 "typeAnnotation": {
142 "typeAnnotation": {
197 "typeAnnotation": {
224 "typeAnnotation": {
309 "typeAnnotation": {
364 "typeAnnotation": {
392 "typeAnnotation": {
490 "typeAnnotation": {
DinterfaceWithNonCompatibleIndexInfos-expected.txt14 "typeAnnotation": {
38 "typeAnnotation": {
68 "typeAnnotation": {
92 "typeAnnotation": {
DinterfaceUsedAsValue-expected.txt28 "typeAnnotation": {
74 "typeAnnotation": {
101 "typeAnnotation": {
126 "typeAnnotation": {
156 "typeAnnotation": {
183 "typeAnnotation": {
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-type-annotation-expected.txt12 "typeAnnotation": {
69 "typeAnnotation": {
126 "typeAnnotation": {
183 "typeAnnotation": {
240 "typeAnnotation": {
297 "typeAnnotation": {
354 "typeAnnotation": {
411 "typeAnnotation": {
468 "typeAnnotation": {
525 "typeAnnotation": {
[all …]
Dtest-type-literal-expected.txt12 "typeAnnotation": {
21 "typeAnnotation": {
48 "typeAnnotation": {
116 "typeAnnotation": {
299 "typeAnnotation": {
321 "typeAnnotation": {
364 "typeAnnotation": {
407 "typeAnnotation": {
487 "typeAnnotation": {
512 "typeAnnotation": {
[all …]
Dtest-ts-type-predicate-expected.txt29 "typeAnnotation": {
98 "typeAnnotation": null,
183 "typeAnnotation": {
189 "typeAnnotation": {
258 "typeAnnotation": null,
329 "typeAnnotation": {
398 "typeAnnotation": null,
428 "typeAnnotation": {
496 "typeAnnotation": null,
583 "typeAnnotation": {
[all …]
Dtest-ts-mapped-type-expected.txt20 "typeAnnotation": {
41 "typeAnnotation": {
90 "typeAnnotation": {
185 "typeAnnotation": {
206 "typeAnnotation": {
255 "typeAnnotation": {
350 "typeAnnotation": {
371 "typeAnnotation": {
420 "typeAnnotation": {
515 "typeAnnotation": {
[all …]
Dtest-interface-expected.txt28 "typeAnnotation": {
71 "typeAnnotation": {
145 "typeAnnotation": {
151 "typeAnnotation": {
178 "typeAnnotation": {
241 "typeAnnotation": {
280 "typeAnnotation": {
310 "typeAnnotation": {
365 "typeAnnotation": {
420 "typeAnnotation": {
[all …]
Dtest-ts-key-remapping-via-as-expected.txt20 "typeAnnotation": {
143 "typeAnnotation": {
208 "typeAnnotation": {
294 "typeAnnotation": {
316 "typeAnnotation": {
373 "typeAnnotation": {
436 "typeAnnotation": {
458 "typeAnnotation": {
515 "typeAnnotation": {
578 "typeAnnotation": {
[all …]
Dtest-type-query-expected.txt12 "typeAnnotation": {
69 "typeAnnotation": {
140 "typeAnnotation": {
162 "typeAnnotation": {
184 "typeAnnotation": {
328 "typeAnnotation": {
441 "typeAnnotation": {
447 "typeAnnotation": {
474 "typeAnnotation": {
Dtest-type-alias-expected.txt20 "typeAnnotation": {
88 "typeAnnotation": {
120 "typeAnnotation": {
126 "typeAnnotation": {
153 "typeAnnotation": {
252 "typeAnnotation": {
379 "typeAnnotation": {
/arkcompiler/ets_frontend/es2panda/ir/base/
DcatchClause.cpp62 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/
DdestructuringContext.h35 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/
DvariableDeclarator.cpp76 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()

12345678910>>...27