Home
last modified time | relevance | path

Searched refs:IsConstructor (Results 1 – 25 of 85) sorted by relevance

1234

/arkcompiler/ets_runtime/ecmascript/builtins/tests/
Dbuiltins_sharedobject_test.cpp60 ASSERT_FALSE(hclass->IsConstructor()); in HWTEST_F_L0()
73 ASSERT_TRUE(ctorHClass->IsConstructor()); in HWTEST_F_L0()
83 ASSERT_FALSE(protoHClass->IsConstructor()); in HWTEST_F_L0()
92 ASSERT_FALSE(sObjProtoHClass->IsConstructor()); in HWTEST_F_L0()
110 ASSERT_TRUE(ctorHClass->IsConstructor()); in HWTEST_F_L0()
116 ASSERT_FALSE(normalFunctionClass->IsConstructor()); in HWTEST_F_L0()
132 ASSERT_TRUE(!hclass->IsConstructor()); in HWTEST_F_L0()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
DETSfunction.cpp93 } else if (scriptFunc->IsConstructor()) { in CompileSourceBlock()
113 … if (scriptFunc->IsConstructor() || scriptFunc->IsStaticBlock() || scriptFunc->IsEntryPoint()) { in CompileSourceBlock()
130 … if (scriptFunc->IsConstructor() || scriptFunc->IsStaticBlock() || scriptFunc->IsEntryPoint()) { in CompileSourceBlock()
Dfunction.cpp223 if (decl->IsConstructor() && (util::Helpers::GetClassDefiniton(decl)->Super() == nullptr)) { in CompileFunction()
/arkcompiler/ets_runtime/test/fuzztest/jsnapiisconstructor_fuzzer/
Djsnapiisconstructor_fuzzer.cpp35 intValue->IsConstructor(); in JSNApiIsConstructorFuzzTest()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
Dets_method.h185 bool IsConstructor() const in IsConstructor() function
187 return GetPandaMethod()->IsConstructor(); in IsConstructor()
/arkcompiler/ets_frontend/ets2panda/ir/base/
DmethodDefinition.h58 [[nodiscard]] bool IsConstructor() const noexcept in IsConstructor() function
DscriptFunction.h162 [[nodiscard]] bool IsConstructor() const noexcept in IsConstructor() function
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.cpp327 if (iter->IsConstructor()) { in GetContainingConstructor()
365 ASSERT(node->IsConstructor() || node->IsMethod()); in GetClassDefiniton()
486 if (func->IsConstructor()) { in FunctionName()
722 if (strLit->Str().Is(USE_SENDABLE) && func->IsConstructor()) { in SetFuncFlagsForDirectives()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Dstd_core_Method.cpp115 ASSERT(meth->IsConstructor()); in TypeAPIMethodInvokeConstructor()
/arkcompiler/ets_frontend/ets2panda/util/
Dhelpers.cpp215 if (iter->IsConstructor()) { in GetContainingConstructor()
366 ASSERT(node->IsConstructor()); in GetClassDefiniton()
532 if (func->IsConstructor()) { in FunctionName()
/arkcompiler/ets_frontend/es2panda/compiler/function/
DfunctionBuilder.cpp48 if (!rootNode->IsScriptFunction() || !rootNode->AsScriptFunction()->IsConstructor()) { in ImplicitReturn()
63 if (rootNode->AsScriptFunction()->IsConstructor() && in ImplicitReturn()
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/types/
Dpgo_profile_type.h238 bool IsConstructor() const in IsConstructor() function
403 bool IsConstructor() const in IsConstructor() function
/arkcompiler/ets_runtime/ecmascript/base/
Dbuiltins_base.h104 constexpr bool IsConstructor() const in IsConstructor() function
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dbytecodeopt_peepholes.cpp47 if (adapter->IsConstructor(call->GetCallMethod(), graph->GetLanguage())) { in FindCtorCall()
/arkcompiler/ets_frontend/es2panda/ir/base/
DscriptFunction.h148 bool IsConstructor() const in IsConstructor() function
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins_reflect.cpp61 if (!target->IsConstructor()) { in ReflectConstruct()
68 if (!newTarget->IsConstructor()) { in ReflectConstruct()
/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
Dpgo_hclass_generator.cpp63 } else if (rootType.IsConstructor()) { in GenerateHClass()
/arkcompiler/runtime_core/static_core/runtime/include/
Dmethod.h678 bool IsConstructor() const in IsConstructor() function
687 return IsConstructor() && !IsStatic(); in IsInstanceConstructor()
692 return IsConstructor() && IsStatic(); in IsStaticConstructor()
/arkcompiler/ets_runtime/ecmascript/
Djs_promise.cpp86 if (!obj->IsConstructor()) { in NewPromiseCapability()
Djs_function.cpp331 ASSERT_PRINT(func->IsConstructor(), "func must be Constructor type"); in MakeConstructor()
402 if (!(func->IsConstructor() && target->IsConstructor())) { in Construct()
543 if (!func->IsConstructor()) { in ConstructInternal()
663 if (!target->IsConstructor()) { in ConstructInternal()
Djs_object-inl.h78 inline bool JSObject::IsConstructor() const in IsConstructor() function
80 return GetJSHClass()->IsConstructor(); in IsConstructor()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_runtime_interface.cpp145 …return MethodCast(method)->IsConstructor() && GetClassNameFromMethod(method) == "std.core.StringBu… in IsMethodStringBuilderConstructorWithStringArg()
/arkcompiler/ets_runtime/ecmascript/tests/
Dobject_factory_test.cpp129 EXPECT_TRUE(!cls->IsConstructor()); in HWTEST_F_L0()
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/interop_js/ets_proxy/
Dets_class_wrapper.cpp341 if (method->IsConstructor()) { in CalculateProperties()
393 ASSERT(!method->IsConstructor()); in BuildJSProperties()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/
Druntime_adapter_test.cpp146 EXPECT_FALSE(adapter.IsConstructor(main, SourceLanguage::PANDA_ASSEMBLY)); in TEST()

1234