Home
last modified time | relevance | path

Searched refs:isConstructor (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/
DMethod.ets66 public isConstructor(): boolean {
83 const isCtor = this.isConstructor()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_info_collector.h269 inline void AddInnerMethod(uint32_t offset, bool isConstructor) in AddInnerMethod() argument
271 if (isConstructor) { in AddInnerMethod()
772 …tInnerMethods(const MethodLiteral *method, uint32_t innerMethodOffset, bool isConstructor = false);
773 …void CollectInnerMethods(uint32_t methodId, uint32_t innerMethodOffset, bool isConstructor = false…
Dbytecode_info_collector.cpp387 bool isConstructor) in CollectInnerMethods() argument
390 CollectInnerMethods(methodId, innerMethodOffset, isConstructor); in CollectInnerMethods()
393 …foCollector::CollectInnerMethods(uint32_t methodId, uint32_t innerMethodOffset, bool isConstructor) in CollectInnerMethods() argument
401 methodInfo.AddInnerMethod(innerMethodOffset, isConstructor); in CollectInnerMethods()
406 methodList.at(methodId).AddInnerMethod(innerMethodOffset, isConstructor); in CollectInnerMethods()
/arkcompiler/ets_frontend/ets2panda/util/
DdeclgenEts2Ts.cpp214 const bool isConstructor = methodDef != nullptr ? methodDef->IsConstructor() : false; in GenFunctionType() local
251 if (isConstructor) { in GenFunctionType()
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/
Dcommon.h62 bool isConstructor {true};
66 …RuntimeInterfaceMock(size_t argCount, bool isCtor) : argumentCount(argCount), isConstructor(isCtor… in RuntimeInterfaceMock()
75 return isConstructor; in IsConstructor()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.h181 bool isConstructor,
Dtransformer.cpp1374 bool isConstructor, in CreateParamDecorators() argument
1400 arguments.push_back(CreateDecoratorTarget(className, isConstructor || isStatic)); in CreateParamDecorators()
1401 arguments.push_back(isConstructor ? in CreateParamDecorators()
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_manager.h637 int GetHClassIndex(GlobalTSTypeRef classGT, bool isConstructor = false);
Dts_manager.cpp85 int TSManager::GetHClassIndex(GlobalTSTypeRef classGT, bool isConstructor) in GetHClassIndex() argument
97 if (isConstructor) { in GetHClassIndex()
/arkcompiler/ets_frontend/es2panda/parser/
DparserImpl.cpp2916 bool isConstructor = (funcFlag == ir::ScriptFunctionFlags::CONSTRUCTOR); in CreateImplicitMethod() local
2917 if (isConstructor && hasSuperClass) { in CreateImplicitMethod()
2961 …auto methodKind = isConstructor ? ir::MethodDefinitionKind::CONSTRUCTOR : ir::MethodDefinitionKind… in CreateImplicitMethod()