Searched refs:isConstructor (Results 1 – 10 of 10) sorted by relevance
/arkcompiler/runtime_core/static_core/plugins/ets/stdlib/std/core/ |
D | Method.ets | 66 public isConstructor(): boolean { 83 const isCtor = this.isConstructor()
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | bytecode_info_collector.h | 269 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…
|
D | bytecode_info_collector.cpp | 387 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/ |
D | declgenEts2Ts.cpp | 214 const bool isConstructor = methodDef != nullptr ? methodDef->IsConstructor() : false; in GenFunctionType() local 251 if (isConstructor) { in GenFunctionType()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
D | common.h | 62 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/ |
D | transformer.h | 181 bool isConstructor,
|
D | transformer.cpp | 1374 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/ |
D | ts_manager.h | 637 int GetHClassIndex(GlobalTSTypeRef classGT, bool isConstructor = false);
|
D | ts_manager.cpp | 85 int TSManager::GetHClassIndex(GlobalTSTypeRef classGT, bool isConstructor) in GetHClassIndex() argument 97 if (isConstructor) { in GetHClassIndex()
|
/arkcompiler/ets_frontend/es2panda/parser/ |
D | parserImpl.cpp | 2916 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()
|