Home
last modified time | relevance | path

Searched defs:child (Results 1 – 25 of 77) sorted by relevance

1234

/arkcompiler/ets_frontend/ets2panda/test/unit/lowerings/
Dtop_level_statements.cpp30 [[maybe_unused]] auto *classDef = ast->FindChild([](ir::AstNode *child) { in TEST_F()
50 [[maybe_unused]] auto *classDef = ast->FindChild([](ir::AstNode *child) { in TEST_F()
68 auto *classDef = ast->FindChild([](ir::AstNode *child) { in TEST_F()
90 auto *classDef = ast->FindChild([](ir::AstNode *child) { in TEST_F()
116 auto *classDef = ast->FindChild([](ir::AstNode *child) { in TEST_F()
143 auto *classDef = ast->FindChild([](ir::AstNode *child) { in TEST_F()
Dinterface_object_literal.cpp44 [[maybe_unused]] auto *classDef1 = ast->FindChild([](ir::AstNode *child) { in TEST_F()
49 [[maybe_unused]] auto *classDef2 = ast->FindChild([](ir::AstNode *child) { in TEST_F()
/arkcompiler/ets_frontend/ets2panda/ir/
DastNode.cpp133 [=](AstNode *child) { in TransformChildrenRecursivelyPreorder()
144 [=](AstNode *child) { in TransformChildrenRecursivelyPostorder()
158 Iterate([=](AstNode *child) { in IterateRecursivelyPreorder()
166 Iterate([=](AstNode *child) { in IterateRecursivelyPostorder()
183 ast->Iterate([=](AstNode *child) { AnyChildHelper(found, cb, child); }); in AnyChildHelper()
189 Iterate([&found, cb](AstNode *child) { AnyChildHelper(&found, cb, child); }); in IsAnyChild()
204 ast->Iterate([&found, cb](AstNode *child) { FindChildHelper(found, cb, child); }); in FindChildHelper()
210 Iterate([&found, cb](AstNode *child) { FindChildHelper(found, cb, child); }); in FindChild()
/arkcompiler/ets_frontend/ets2panda/test/unit/public/
Dast_verifier_getter_setter_neg_test.cpp48 auto cb = [&checker](ark::es2panda::ir::AstNode *child) { in TEST_F()
85 auto cb = [](ark::es2panda::ir::AstNode *child) { in TEST_F()
122 auto cb = [&checker](ark::es2panda::ir::AstNode *child) { in TEST_F()
164 auto cb = [param](ark::es2panda::ir::AstNode *child) { in TEST_F()
202 auto cb = [&checker](ark::es2panda::ir::AstNode *child) { in TEST_F()
243 auto cb = [](ark::es2panda::ir::AstNode *child) { in TEST_F()
Dast_verifier_check_abstract_call_test.cpp54 GetAst()->IterateRecursively([&checker, this](ark::es2panda::ir::AstNode *child) { in TEST_F()
/arkcompiler/toolchain/tooling/dynamic/client/manager/
Dvariable_manager.cpp30 void TreeNode::AddChild(std::unique_ptr<TreeNode> child) in AddChild()
73 for (const auto &child : children) { in Print() local
99 for (const auto& child : root_->children) { in PrintRootAndImmediateChildren() local
177 for (const auto& child : node->children) { in FindNodeWithObjectIdRecursive() local
202 for (const auto &child : node->children) { in FindNodeWithInnerKeyZero() local
241 for (const auto& child : node->children) { in FindObjectByIndexRecursive() local
/arkcompiler/toolchain/tooling/static/types/
Dprofile_result.cpp61 for (const auto &child : profileInfo.samples) { in SerializeSingleProfileInfo() local
66 for (const auto &child : profileInfo.timeDeltas) { in SerializeSingleProfileInfo() local
88 for (const auto &child : children) { in SerializeChildren() local
/arkcompiler/runtime_core/static_core/runtime/tooling/inspector/types/
Dprofile_result.cpp61 for (const auto &child : profileInfo.samples) { in SerializeSingleProfileInfo() local
66 for (const auto &child : profileInfo.timeDeltas) { in SerializeSingleProfileInfo() local
88 for (const auto &child : children) { in SerializeChildren() local
/arkcompiler/ets_frontend/ets2panda/lsp/src/
Dget_adjusted_location.cpp220 …(node->IsForInStatement() && parent->FindChild([node](AstNode *child) { return child == node; }) !… in HandleBinaryExpressions()
451 … [](AstNode *child) { return child->IsImportSpecifier() || child->IsImportNamespaceSpecifier(); }); in GetAdjustedLocationForImportDeclaration()
458 … [](AstNode *child) { return child->IsImportSpecifier() || child->IsImportNamespaceSpecifier(); }); in GetAdjustedLocationForImportDeclaration()
602 …[](AstNode *child) { return child->IsExpression() || child->IsIdentifier() || child->IsTSTypeRefer… in GetAdjustedLocationForHeritageClause()
630 for (auto *child : children) { in FindFirstIdentifier() local
643 for (auto *child : children) { in FindFirstExpression() local
657 for (auto *child : children) { in FindFirstExpressionAfter() local
674 for (auto *child : children) { in FindNodeOfType() local
687 for (auto *child : children) { in FindTypeReference() local
701 for (auto *child : children) { in FindTypeParameter() local
[all …]
Dstring_completions.cpp59 [](ir::AstNode *child) { return child->IsETSTypeReferencePart(); }); in GetCompletionsFromBody()
70 … classProperty->FindChild([](ir::AstNode *child) { return child->IsETSTypeReferencePart(); }); in GetCompletionsFromBody()
Dreferences.cpp64 astNode->IterateRecursively([ctx, declInfo, &result](ir::AstNode *child) { in GetReferencesAtPositionImpl()
/arkcompiler/ets_frontend/ets2panda/linter/src/lib/utils/functions/
DContainsThis.ts34 for (const child of tsNode.getChildren()) { constant
/arkcompiler/ets_runtime/ecmascript/
Dtagged_tree.cpp154 int child = 1; in AdjustTaggedTree() local
183 JSTaggedValue child = src < 0 ? JSTaggedValue::Hole() : JSTaggedValue(src); in Transplant() local
186 JSTaggedValue child = src < 0 ? JSTaggedValue::Hole() : JSTaggedValue(src); in Transplant() local
202 int child = left.IsHole() ? (right.IsHole() ? -1 : right.GetInt()) : left.GetInt(); in Remove() local
283 int child = GetLeftChildIndex(entry); in GetPreDecessor() local
298 int child = GetRightChildIndex(entry); in GetSuccessor() local
322 JSTaggedValue child = tree->GetLeftChild(parentIndex); in FindEntry() local
328 JSTaggedValue child = tree->GetRightChild(parentIndex); in FindEntry() local
438 JSTaggedValue child = newTree->GetLeftChild(parentIndex); in Insert() local
444 JSTaggedValue child = newTree->GetRightChild(parentIndex); in Insert() local
Dtagged_tree.h160 JSTaggedValue child = GetLeftChild(entry); in GetMinimum() local
170 JSTaggedValue child = GetRightChild(entry); in GetMaximum() local
209 JSTaggedValue child = GetPrimitive(index); in GetLeftChildIndex() local
219 JSTaggedValue child = GetPrimitive(index); in GetRightChildIndex() local
303 JSTaggedValue child = GetRightChild(GetParent(entry)); in GetLeftBrother() local
309 JSTaggedValue child = GetLeftChild(GetParent(entry)); in GetRightBrother() local
315 JSTaggedValue child = GetLeftChild(GetParent(entry)); in IsLeft() local
321 JSTaggedValue child = GetRightChild(GetParent(entry)); in IsRight() local
Djs_hclass-inl.h31 …nsitions(const JSThread *thread, const JSHandle<JSHClass> &parent, const JSHandle<JSHClass> &child, in AddTransitions()
66const JSHandle<JSHClass> &child, const JSHandle<JSTaggedValue> &key) in AddExtensionTransitions()
73const JSHandle<JSHClass> &child, const JSHandle<JSTaggedValue> &key, in AddProtoTransitions()
323 const JSHandle<JSHClass> &child) in UpdateRootHClass()
/arkcompiler/ets_frontend/ets2panda/test/unit/lsp/
Dcreate_type_help_items_test.cpp51 astNode->FindChild([&list](const ark::es2panda::ir::AstNode *child) { in TEST_F()
78 astNode->FindChild([&list](const ark::es2panda::ir::AstNode *child) { in TEST_F()
103 astNode->FindChild([&list](const ark::es2panda::ir::AstNode *child) { in TEST_F()
143 astNode->FindChild([&typeParameters, &result](const ark::es2panda::ir::AstNode *child) { in TEST_F()
/arkcompiler/ets_frontend/ets2panda/ast_verifier/
Dhelpers.h56 bool IsContainedIn(const T *child, const T *parent) in IsContainedIn()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/
Dpgo_type_generator.h29 …static ProfileType GenerateProfileType(const JSThread *thread, JSTaggedType child, ProfileType roo… in GenerateProfileType()
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/native/escompat/
DProcess.cpp73 static void SpawnChildProcess(ani_env *env, ani_object child, ani_string cmd, ani_int timeout, ani_… in SpawnChildProcess()
130 static void ReadFinalizer(ani_env *env, ani_object child, bool isStdErr) in ReadFinalizer()
156 static void ReadChildProcessStdOut(ani_env *env, ani_object child) in ReadChildProcessStdOut()
203 static void ReadChildProcessStdErr(ani_env *env, ani_object child) in ReadChildProcessStdErr()
257 static void WaitChildProcess(ani_env *env, ani_object child) in WaitChildProcess()
290 static void KillChildProcess(ani_env *env, ani_object child, ani_int signal) in KillChildProcess()
311 static void CloseChildProcess(ani_env *env, ani_object child) in CloseChildProcess()
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/save/
DViewTreePrinter.ts57 for (const child of item.children) { constant
/arkcompiler/ets_frontend/ets2panda/ast_verifier/invariants/
DarithmeticOperationValid.cpp41 ast->Iterate([this, &result, &isBitwise](ir::AstNode *child) { in operator ()()
DnodeHasType.cpp75 return nulltypeNode_->IsAnyChild([](auto *child) { return child->IsStringLiteral(); }); in AnyChildStringLiteral()
/arkcompiler/ets_frontend/es2panda/test/parser/sendable_class/
Dsendable-class-field-type.ts32 child: Person | null; property in Person
/arkcompiler/ets_frontend/ets2panda/parser/
DETSparserNamespaces.cpp75 ir::ETSModule *child = nullptr; in ParseNamespaceImp() local
/arkcompiler/ets_frontend/ets2panda/linter/arkanalyzer/src/core/graph/builder/
DViewTreeBuilder.ts293 for (const child of this.children) { constant
327 for (let child of root.children) { variable
354 for (const child of this.children) { constant

1234