Home
last modified time | relevance | path

Searched refs:GetTopStatement (Results 1 - 6 of 6) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/ast_verifier/
H A Dhelpers.cpp133 // NOTE(orlovskymaxim) This relies on the fact, that GetTopStatement has no bugs, that is not the case for now in IsVisibleInternalNode()
134 if (!ast->GetTopStatement()->IsETSScript()) { in IsVisibleInternalNode()
137 auto *currentTopStatement = (static_cast<const ir::ETSScript *>(ast->GetTopStatement())); in IsVisibleInternalNode()
143 // NOTE(orlovskymaxim) This relies on the fact, that GetTopStatement has no bugs, that is not the case for now in IsVisibleInternalNode()
144 if (!objTypeDeclNode->GetTopStatement()->IsETSScript()) { in IsVisibleInternalNode()
147 auto *objectTopStatement = (static_cast<const ir::ETSScript *>(objTypeDeclNode->GetTopStatement())); in IsVisibleInternalNode()
H A DimportExportAccessValid.cpp111 ident->GetTopStatement() == varParent->GetTopStatement()) { in InvariantImportExportVariable()
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNode.cpp109 ir::BlockStatement *AstNode::GetTopStatement() in GetTopStatement() function in ark::es2panda::ir::AstNode
114 const ir::BlockStatement *AstNode::GetTopStatement() const in GetTopStatement() function in ark::es2panda::ir::AstNode
H A DastNode.h459 [[nodiscard]] ir::BlockStatement *GetTopStatement();
460 [[nodiscard]] const ir::BlockStatement *GetTopStatement() const;
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DtypeCreation.cpp583 } else if (const auto *topStatement = declNode->GetTopStatement(); in CreateNewETSObjectType()
589 auto program = static_cast<ir::ETSScript *>(declNode->GetTopStatement())->Program(); in CreateNewETSObjectType()
H A DutilityTypeHandlers.cpp89 auto *const classDefProgram = classDef->GetTopStatement()->AsETSScript()->Program(); in HandlePartialType()

Completed in 5 milliseconds