Home
last modified time | relevance | path

Searched refs:ForOfStatement (Results 1 - 25 of 25) sorted by relevance

/arkcompiler/ets_frontend/ets2panda/ir/statements/
H A DforOfStatement.cpp26 checker::Type *ForOfStatement::CreateUnionIteratorTypes(checker::ETSChecker *checker, checker::Type *exprType) in CreateUnionIteratorTypes()
47 void ForOfStatement::TransformChildren(const NodeTransformer &cb, std::string_view transformationName) in TransformChildren()
65 void ForOfStatement::Iterate(const NodeTraverser &cb) const in Iterate()
72 void ForOfStatement::Dump(ir::AstDumper *dumper) const in Dump()
74 dumper->Add({{"type", "ForOfStatement"}, {"await", isAwait_}, {"left", left_}, {"right", right_}, {"body", body_}}); in Dump()
77 void ForOfStatement::Dump(ir::SrcDumper *dumper) const in Dump()
100 void ForOfStatement::Compile(compiler::PandaGen *pg) const in Compile()
105 void ForOfStatement::Compile(compiler::ETSGen *etsg) const in Compile()
110 checker::Type *ForOfStatement::Check(checker::TSChecker *checker) in Check()
115 checker::Type *ForOfStatement
[all...]
H A DforOfStatement.h40 class ForOfStatement final : public LoopStatement {
44 ForOfStatement() = delete;
45 ~ForOfStatement() override = default;
47 NO_COPY_SEMANTIC(ForOfStatement);
48 NO_MOVE_SEMANTIC(ForOfStatement);
50 explicit ForOfStatement(AstNode *left, Expression *right, Statement *body, bool const isAwait) in ForOfStatement() function in ark::es2panda::ark::es2panda::ark::es2panda::ir::final
90 [[nodiscard]] ForOfStatement *Clone(ArenaAllocator *allocator, AstNode *parent) override;
/arkcompiler/ets_frontend/es2panda/ir/statements/
H A DforOfStatement.cpp31 void ForOfStatement::Iterate(const NodeTraverser &cb) const in Iterate()
38 void ForOfStatement::Dump(ir::AstDumper *dumper) const in Dump()
40 dumper->Add({{"type", "ForOfStatement"}, {"await", isAwait_}, {"left", left_}, {"right", right_}, {"body", body_}}); in Dump()
43 void ForOfStatement::Compile(compiler::PandaGen *pg) const in Compile()
102 checker::Type *ForOfStatement::Check([[maybe_unused]] checker::Checker *checker) const in Check()
107 void ForOfStatement::UpdateSelf(const NodeUpdater &cb, binder::Binder *binder) in UpdateSelf()
H A DforOfStatement.h38 class ForOfStatement : public LoopStatement { class
40 explicit ForOfStatement(binder::LoopScope *scope, AstNode *left, Expression *right, Statement *body, bool isAwait) in ForOfStatement() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::ForOfStatement
/arkcompiler/ets_frontend/ets2panda/util/ast-builders/
H A DforOfStatementBuilder.h25 class ForOfStatementBuilder : public AstBuilder<ir::ForOfStatement> {
53 ForOfStatement *Build() in Build()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DobjectIterator.h35 ir::ForOfStatement *forOfStatement) const;
H A DobjectIterator.cpp89 ir::ForOfStatement *forOfStatement) const in ProcessObjectIterator()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DaliveAnalyzer.h72 void AnalyzeForOfLoop(const ir::ForOfStatement *forOfStmt);
H A DassignAnalyzer.h116 void AnalyzeForOfLoop(const ir::ForOfStatement *forOfStmt);
H A DaliveAnalyzer.cpp322 void AliveAnalyzer::AnalyzeForOfLoop(const ir::ForOfStatement *forOfStmt) in AnalyzeForOfLoop()
H A DassignAnalyzer.cpp749 void AssignAnalyzer::AnalyzeForOfLoop(const ir::ForOfStatement *forOfStmt) in AnalyzeForOfLoop()
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A DdynamicContext.h26 class ForOfStatement;
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DdynamicContext.h26 class ForOfStatement;
H A DETSCompiler.cpp252 const ir::ForOfStatement *st, VReg objReg, VReg *countReg) in HandleUnionTypeInForOf()
299 static void GetSizeInForOf(compiler::ETSGen *etsg, checker::Type const *const exprType, const ir::ForOfStatement *st, in GetSizeInForOf()
1415 void ETSCompiler::Compile(const ir::ForOfStatement *st) const in Compile()
H A DJSCompiler.cpp1383 void JSCompiler::Compile(const ir::ForOfStatement *st) const in Compile()
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNodeMapping.h50 _(FOR_OF_STATEMENT, ForOfStatement) \
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeMapping.h51 _(FOR_OF_STATEMENT, ForOfStatement) \
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/scopesInit/
H A DscopesInitPhase.h100 void VisitForOfStatement(ir::ForOfStatement *forOfStmt) override;
H A DscopesInitPhase.cpp175 void ScopesInitPhase::VisitForOfStatement(ir::ForOfStatement *forOfStmt) in VisitForOfStatement()
/arkcompiler/ets_frontend/ets2panda/checker/
H A DTSchecker.h78 class ForOfStatement;
H A DTSAnalyzerUnreachable.cpp268 checker::Type *TSAnalyzer::Check([[maybe_unused]] ir::ForOfStatement *st) const in Check()
H A DETSAnalyzer.cpp2079 static bool ValidateAndProcessIteratorType(ETSChecker *checker, Type *elemType, ir::ForOfStatement *const st) in ValidateAndProcessIteratorType()
2117 checker::Type *ETSAnalyzer::Check(ir::ForOfStatement *const st) const in Check()
/arkcompiler/ets_frontend/es2panda/typescript/
H A Dchecker.h79 class ForOfStatement;
/arkcompiler/ets_frontend/ets2panda/parser/
H A DstatementParser.cpp965 forStatement = AllocNode<ir::ForOfStatement>(initNode, rightNode, bodyNode, isAwait); in ParseForStatement()
/arkcompiler/ets_frontend/es2panda/parser/
H A DstatementParser.cpp1616 forStatement = AllocNode<ir::ForOfStatement>(loopScope, initNode, rightNode, bodyNode, isAwait); in ParseForStatement()

Completed in 49 milliseconds