/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/pgo_test_case/ |
H A D | class_test.js | 16 class Body { 23 class Foot extends Body { 31 class Arm extends Body { 43 let a = new Body(1, 23);
|
H A D | op_type_test.js | 16 class Body { 58 return new Body(0.0, 0.0, SOLAR_MASS); 62 return new Body(1.2, 3.1, PI);
|
/arkcompiler/ets_frontend/ets2panda/evaluate/ |
H A D | evaluateContext.cpp | 45 std::find_if(methodClass->Body().begin(), methodClass->Body().end(), [expectedMethodName](auto *iter) { in FindEvaluationMethod() 49 ASSERT(evalMethodIter != methodClass->Body().end()); in FindEvaluationMethod() 55 methodStatements = scriptFunction->Body()->AsBlockStatement(); in FindEvaluationMethod()
|
/arkcompiler/ets_frontend/ets2panda/test/unit/public/ |
H A D | ast_verifier_protected_access_negative_test_4_6.cpp | 50 ->Body()[1] in TEST_F() 56 ->Body() in TEST_F() 103 ->Body()[1] in TEST_F() 109 ->Body() in TEST_F() 156 ->Body()[1] in TEST_F() 162 ->Body() in TEST_F()
|
H A D | ast_verifier_private_access_negative_test_5_7.cpp | 50 ->Body()[1] in TEST_F() 56 ->Body() in TEST_F() 103 ->Body()[1] in TEST_F() 109 ->Body() in TEST_F() 156 ->Body()[1] in TEST_F() 162 ->Body() in TEST_F()
|
H A D | ast_verifier_private_access_negative_test_1_4.cpp | 46 ->Body()[0] in TEST_F() 84 ->Body()[0] in TEST_F() 123 ->Body()[0] in TEST_F() 162 ->Body()[0] in TEST_F()
|
H A D | ast_verifier_protected_access_negative_test_1_3.cpp | 47 ->Body()[0] in TEST_F() 86 ->Body()[0] in TEST_F() 125 ->Body()[0] in TEST_F()
|
/arkcompiler/ets_frontend/ets2panda/test/unit/lowerings/ |
H A D | scopes_initialization.cpp | 86 auto blockScope = forNode->Body()->AsBlockStatement()->Scope(); in TEST_F() 98 auto name = BodyToFirstName(forNode->Body()); in TEST_F() 117 auto bodyScope = whileNode->Body()->AsBlockStatement()->Scope(); in TEST_F() 121 auto name = BodyToFirstName(whileNode->Body()); in TEST_F()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/ |
H A D | expressionLambdaLowering.cpp | 24 auto *const expr = function->Body()->AsExpression(); in ConvertExpression() 62 node->AsArrowFunctionExpression()->Function()->Body()->IsExpression()) { in Perform() 86 node->AsArrowFunctionExpression()->Function()->Body()->IsExpression(); in Postcondition()
|
H A D | promiseVoid.cpp | 150 const auto &body = function->Body(); in Perform() 188 HandleAsyncScriptFunctionBody(checker, function->Body()->AsBlockStatement()); in Perform() 191 HandleAsyncScriptFunctionBody(checker, function->Body()->AsBlockStatement()); in Perform() 232 if (!checkFunctionBody(function->Body()->AsBlockStatement())) { in Postcondition()
|
/arkcompiler/ets_frontend/ets2panda/ast_verifier/ |
H A D | arithmeticOperationValid.cpp | 54 for (const auto &member : ast->AsTSInterfaceDeclaration()->Body()->Body()) { in CheckCompound() 66 for (const auto &member : ast->AsClassDefinition()->Body()) { in CheckCompound()
|
H A D | nodeHasType.cpp | 67 for (const auto &member : ast->AsTSInterfaceDeclaration()->Body()->Body()) { in CheckCompound() 79 for (const auto &member : ast->AsClassDefinition()->Body()) { in CheckCompound()
|
H A D | checkInfiniteLoop.cpp | 71 auto const *body = stmt->Body(); in HandleWhileStatement() 89 auto const *body = stmt->Body(); in HandleDoWhileStatement() 107 auto const *body = stmt->Body(); in HandleForUpdateStatement() 109 // Body existence is checked in ForLoopCorrectlyInitialized in HandleForUpdateStatement()
|
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/topLevelStmts/ |
H A D | globalClassHandler.cpp | 62 classDef->Body().emplace_back(staticBlock); // NOTE(vpukhov): inserted to end for some reason in SetupGlobalClass() 129 auto &globalBody = globalClass->Body(); in AddInitCallFromStaticBlock() 140 auto *blockBody = staticBlock->Function()->Body()->AsBlockStatement(); in AddInitCallFromStaticBlock() 252 for (const auto *prop : classDef->Body()) { in CreateStaticBlock() 317 globalClass->Body().insert(globalClass->Body().begin(), node); in SetupGlobalMethods() 325 if (!initMethod->Function()->Body()->AsBlockStatement()->Statements().empty()) { in SetupGlobalMethods()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | aliveAnalyzer.cpp | 213 for (const auto *it : structDecl->Definition()->Body()) { in AnalyzeStructDecl() 222 for (const auto *it : classDecl->Definition()->Body()) { in AnalyzeClassDecl() 233 if (func->Body() == nullptr || func->IsProxy()) { in AnalyzeMethodDef() 238 AnalyzeStat(func->Body()); in AnalyzeMethodDef() 277 AnalyzeStat(doWhile->Body()); in AnalyzeDoLoop() 293 AnalyzeStat(whileStmt->Body()); in AnalyzeWhileLoop() 316 AnalyzeStat(forStmt->Body()); in AnalyzeForLoop() 333 AnalyzeStat(forOfStmt->Body()); in AnalyzeForOfLoop() 356 AnalyzeStat(labelledStmt->Body()); in AnalyzeLabelled() 448 AnalyzeStats(it->Body() in AnalyzeTry() [all...] |
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSfunction.cpp | 118 bool const compileInitializer = classDef->IsGlobal() ? checkInitializer(classDef->Body()) : true; in CompileAsStaticBlock() 120 for (const auto *prop : classDef->Body()) { in CompileAsStaticBlock() 142 for (const auto *prop : classDef->Body()) { in CompileAsConstructor() 152 if (auto *const body = decl->Body(); body != nullptr && body->IsBlockStatement()) { in CompileFunction()
|
/arkcompiler/ets_frontend/ets2panda/ir/statements/ |
H A D | doWhileStatement.h | 35 const Statement *Body() const in Body() function in ark::es2panda::ark::es2panda::ir::DoWhileStatement 40 Statement *Body() in Body() function in ark::es2panda::ark::es2panda::ir::DoWhileStatement
|
H A D | whileStatement.h | 45 const Statement *Body() const in Body() function in ark::es2panda::ark::es2panda::ir::WhileStatement 50 Statement *Body() in Body() function in ark::es2panda::ark::es2panda::ir::WhileStatement
|
H A D | forInStatement.h | 55 Statement *Body() in Body() function in ark::es2panda::ark::es2panda::ir::ForInStatement 60 const Statement *Body() const in Body() function in ark::es2panda::ark::es2panda::ir::ForInStatement
|
H A D | forUpdateStatement.h | 65 Statement *Body() in Body() function in ark::es2panda::ark::es2panda::ir::ForUpdateStatement 70 const Statement *Body() const in Body() function in ark::es2panda::ark::es2panda::ir::ForUpdateStatement
|
/arkcompiler/ets_frontend/ets2panda/ir/ts/ |
H A D | tsInterfaceBody.h | 40 [[nodiscard]] ArenaVector<AstNode *> &Body() noexcept 45 [[nodiscard]] ArenaVector<AstNode *> const &Body() const noexcept
|
/arkcompiler/ets_frontend/es2panda/ir/statements/ |
H A D | forInStatement.h | 65 Statement *Body() in Body() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::ForInStatement 70 const Statement *Body() const in Body() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::ForInStatement
|
H A D | whileStatement.h | 55 const Statement *Body() const in Body() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::WhileStatement 60 Statement *Body() in Body() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::WhileStatement
|
H A D | doWhileStatement.h | 45 const Statement *Body() const in Body() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::DoWhileStatement 50 Statement *Body() in Body() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::DoWhileStatement
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
H A D | catchClause.h | 56 BlockStatement *Body() in Body() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::CatchClause 61 const BlockStatement *Body() const in Body() function in panda::es2panda::panda::es2panda::panda::es2panda::panda::es2panda::ir::CatchClause
|