Home
last modified time | relevance | path

Searched refs:TSTypeAssertion (Results 1 – 11 of 11) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsTypeAssertion.cpp22 void TSTypeAssertion::Iterate(const NodeTraverser &cb) const in Iterate()
28 void TSTypeAssertion::Dump(ir::AstDumper *dumper) const in Dump()
33 void TSTypeAssertion::Compile(compiler::PandaGen *pg) const in Compile()
38 checker::Type *TSTypeAssertion::Check([[maybe_unused]] checker::Checker *checker) const in Check()
43 void TSTypeAssertion::UpdateSelf(const NodeUpdater &cb, [[maybe_unused]] binder::Binder *binder) in UpdateSelf()
DtsTypeAssertion.h32 class TSTypeAssertion : public Expression {
34 explicit TSTypeAssertion(Expression *typeAnnotation, Expression *expression) in TSTypeAssertion() function
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-unary-expression-followedby-type-assertion-expected.txt36 "type": "TSTypeAssertion",
102 "type": "TSTypeAssertion",
117 "type": "TSTypeAssertion",
229 "type": "TSTypeAssertion",
Dtest-ts-type-assertion-expected.txt123 "type": "TSTypeAssertion",
206 "type": "TSTypeAssertion",
Dtest-type-assertion-followedby-another-expr-expected.txt84 "type": "TSTypeAssertion",
227 "type": "TSTypeAssertion",
Dtest-arrow-function2-expected.txt216 "type": "TSTypeAssertion",
Dtest-function-with-type-assertion-expected.txt575 "type": "TSTypeAssertion",
787 "type": "TSTypeAssertion",
Dtest-as-expression3-expected.txt473 "type": "TSTypeAssertion",
/arkcompiler/ets_frontend/es2panda/ir/
DastNodeMapping.h133 _(TS_TYPE_ASSERTION, TSTypeAssertion) \
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.h104 class TSTypeAssertion; variable
364 …ir::TSTypeAssertion *ParseTsTypeAssertion(ExpressionParseFlags flags = ExpressionParseFlags::NO_OP…
DexpressionParser.cpp523 ir::TSTypeAssertion *ParserImpl::ParseTsTypeAssertion(ExpressionParseFlags flags) in ParseTsTypeAssertion()
539 auto *typeAssertion = AllocNode<ir::TSTypeAssertion>(typeAnnotation, expression); in ParseTsTypeAssertion()