Home
last modified time | relevance | path

Searched refs:typeAnnotation_ (Results 1 – 25 of 26) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsPropertySignature.cpp30 if (typeAnnotation_) { in Iterate()
31 cb(typeAnnotation_); in Iterate()
42 {"typeAnnotation", AstDumper::Optional(typeAnnotation_)}}); in Dump()
49 if (typeAnnotation_) { in Check()
50 typeAnnotation_->Check(checker); in Check()
57 if (typeAnnotation_) { in Check()
58 Variable()->SetTsType(typeAnnotation_->AsTypeNode()->GetType(checker)); in Check()
70 if (typeAnnotation_) { in UpdateSelf()
71 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateSelf()
DtsTypePredicate.cpp26 if (typeAnnotation_) { in Iterate()
27 cb(typeAnnotation_); in Iterate()
35 {"typeAnnotation", AstDumper::Nullable(typeAnnotation_)}, in Dump()
55 if (typeAnnotation_) { in UpdateSelf()
56 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateSelf()
DtsPrivateIdentifier.cpp30 if (typeAnnotation_) { in Iterate()
31 cb(typeAnnotation_); in Iterate()
40 {"typeAnnotation", AstDumper::Optional(typeAnnotation_)}}); in Dump()
58 if (typeAnnotation_) { in UpdateSelf()
59 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateSelf()
DtsMappedType.cpp26 if (typeAnnotation_) { in Iterate()
27 cb(typeAnnotation_); in Iterate()
37 {"typeAnnotation", AstDumper::Optional(typeAnnotation_)}, in Dump()
62 if (typeAnnotation_) { in UpdateSelf()
63 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateSelf()
DtsTypeAliasDeclaration.cpp35 cb(typeAnnotation_); in Iterate()
42 {"typeAnnotation", typeAnnotation_}, in Dump()
51 typeAnnotation_->Check(checker); in Check()
63 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateSelf()
DtsIndexSignature.cpp34 cb(typeAnnotation_); in Iterate()
41 {"typeAnnotation", typeAnnotation_}, in Dump()
56 typeAnnotation_->Check(checker); in Check()
57 checker::Type *indexType = typeAnnotation_->AsTypeNode()->GetType(checker); in Check()
77 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateSelf()
DtsTypeAssertion.cpp24 cb(typeAnnotation_); in Iterate()
30 …dumper->Add({{"type", "TSTypeAssertion"}, {"typeAnnotation", typeAnnotation_}, {"expression", expr… in Dump()
45 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateSelf()
DtsIndexSignature.h39 typeAnnotation_(typeAnnotation), in TSIndexSignature()
56 return typeAnnotation_; in TypeAnnotation()
61 return typeAnnotation_; in TypeAnnotation()
79 Expression *typeAnnotation_; variable
DtsAsExpression.cpp31 cb(typeAnnotation_); in Iterate()
36 …dd({{"type", "TSAsExpression"}, {"expression", expression_}, {"typeAnnotation", typeAnnotation_}}); in Dump()
100 typeAnnotation_->Check(checker); in Check()
102 checker::Type *targetType = typeAnnotation_->AsTypeNode()->GetType(checker); in Check()
117 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateSelf()
DtsTypeAssertion.h35 …: Expression(AstNodeType::TS_TYPE_ASSERTION), typeAnnotation_(typeAnnotation), expression_(express… in TSTypeAssertion()
41 return typeAnnotation_; in TypeAnnotation()
61 Expression *typeAnnotation_;
DtsAsExpression.h38 typeAnnotation_(typeAnnotation), in TSAsExpression()
55 return typeAnnotation_; in TypeAnnotation()
71 Expression *typeAnnotation_; variable
DtsTypePredicate.h37 typeAnnotation_(typeAnnotation), in TSTypePredicate()
49 return typeAnnotation_; in TypeAnnotation()
66 Expression *typeAnnotation_; variable
DtsPrivateIdentifier.h35 …: Expression(AstNodeType::TS_PRIVATE_IDENTIFIER), key_(key), value_(value), typeAnnotation_(typeAn… in TSPrivateIdentifier()
56 return typeAnnotation_; in TypeAnnotation()
68 Expression *typeAnnotation_; variable
DtsPropertySignature.h38 typeAnnotation_(typeAnnotation), in TSPropertySignature()
57 return typeAnnotation_; in TypeAnnotation()
83 Expression *typeAnnotation_; variable
DtsTypeAliasDeclaration.h46 typeAnnotation_(typeAnnotation), in TSTypeAliasDeclaration()
63 return typeAnnotation_; in TypeAnnotation()
80 Expression *typeAnnotation_; variable
DtsMappedType.h40 typeAnnotation_(typeAnnotation), in TSMappedType()
53 return typeAnnotation_; in TypeAnnotation()
76 Expression *typeAnnotation_; variable
/arkcompiler/ets_frontend/es2panda/ir/base/
DspreadElement.cpp79 typeAnnotation_ = typeAnnotation; in SetTsTypeAnnotation()
86 if (typeAnnotation_) { in Iterate()
87 cb(typeAnnotation_); in Iterate()
95 {"typeAnnotation", AstDumper::Optional(typeAnnotation_)}}); in Dump()
108 if (typeAnnotation_) { in UpdateSelf()
109 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateSelf()
DclassProperty.cpp38 if (typeAnnotation_) { in Iterate()
39 cb(typeAnnotation_); in Iterate()
59 {"typeAnnotation", AstDumper::Optional(typeAnnotation_)}, in Dump()
79 if (typeAnnotation_) { in UpdateChildNodes()
80 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateChildNodes()
DclassProperty.h41 typeAnnotation_(typeAnnotation), in ClassProperty()
76 return typeAnnotation_; in TypeAnnotation()
119 Expression *typeAnnotation_; variable
DspreadElement.h49 return typeAnnotation_; in TypeAnnotation()
64 Expression *typeAnnotation_ {};
/arkcompiler/ets_frontend/es2panda/ir/expressions/
Didentifier.cpp34 if (typeAnnotation_) { in Iterate()
35 cb(typeAnnotation_); in Iterate()
43 {"typeAnnotation", AstDumper::Optional(typeAnnotation_)}, in Dump()
99 if (typeAnnotation_) { in UpdateSelf()
100 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateSelf()
DarrayExpression.h37 …: Expression(nodeType), elements_(std::move(elements)), typeAnnotation_(nullptr), trailingComma_(t… in ArrayExpression()
48 return typeAnnotation_; in TypeAnnotation()
53 return typeAnnotation_; in TypeAnnotation()
81 typeAnnotation_ = typeAnnotation; in SetTsTypeAnnotation()
93 Expression *typeAnnotation_; variable
Didentifier.h56 typeAnnotation_(typeAnnotation) in DEFINE_BITOPS()
62 return typeAnnotation_; in DEFINE_BITOPS()
67 return typeAnnotation_; in DEFINE_BITOPS()
126 typeAnnotation_ = typeAnnotation; in DEFINE_BITOPS()
137 Expression *typeAnnotation_ {}; in DEFINE_BITOPS()
DobjectExpression.h44 typeAnnotation_(nullptr), in ObjectExpression()
56 return typeAnnotation_; in TypeAnnotation()
61 return typeAnnotation_; in TypeAnnotation()
95 Expression *typeAnnotation_; variable
DobjectExpression.cpp191 typeAnnotation_ = typeAnnotation; in SetTsTypeAnnotation()
200 if (typeAnnotation_) { in Iterate()
201 cb(typeAnnotation_); in Iterate()
209 {"typeAnnotation", AstDumper::Optional(typeAnnotation_)}, in Dump()
752 if (typeAnnotation_) { in UpdateSelf()
753 typeAnnotation_ = std::get<ir::AstNode *>(cb(typeAnnotation_))->AsExpression(); in UpdateSelf()

12