Home
last modified time | relevance | path

Searched refs:CONSTRUCTOR (Results 1 - 25 of 33) sorted by relevance

12

/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/
H A Dpgo_type_parser.cpp59 auto ctorLoc = loc.ChangeType(PGOTypeLocation::Type::CONSTRUCTOR); in RecordTypeInfo()
75 auto ctorLoc = loc.ChangeType(PGOTypeLocation::Type::CONSTRUCTOR); in GenerateHClass()
146 auto ctorLoc = loc.ChangeType(PGOTypeLocation::Type::CONSTRUCTOR); in RecordTypeInfo()
162 auto ctorLoc = loc.ChangeType(PGOTypeLocation::Type::CONSTRUCTOR); in GenerateHClass()
H A Dpgo_type_location.h31 CONSTRUCTOR, member in panda::ecmascript::kungfu::PGOTypeLocation::Type
/arkcompiler/ets_frontend/ets2panda/ir/base/
H A DmethodDefinition.h30 enum class MethodDefinitionKind { NONE, CONSTRUCTOR, METHOD, EXTENSION_METHOD, GET, SET }; member in ark::es2panda::ark::es2panda::ir::MethodDefinitionKind
64 return kind_ == MethodDefinitionKind::CONSTRUCTOR;
H A DmethodDefinition.cpp116 case MethodDefinitionKind::CONSTRUCTOR: { in Dump()
H A DscriptFunction.h180 return (funcFlags_ & ir::ScriptFunctionFlags::CONSTRUCTOR) != 0;
/arkcompiler/ets_frontend/ets2panda/ir/
H A DastNodeFlags.h54 CONSTRUCTOR = 1U << 14U, member in ark::es2panda::ir::ModifierFlags
84 CONSTRUCTOR = 1U << 5U, member in ark::es2panda::ir::ModifierFlags::ScriptFunctionFlags
H A DastNode.h303 return (flags_ & ModifierFlags::CONSTRUCTOR) != 0;
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/
H A Dets_typeapi.h76 CONSTRUCTOR = 1U << 5U, // Method member in ark::ets::EtsTypeAPIKind::EtsTypeAPIAttributes
/arkcompiler/ets_frontend/ets2panda/evaluate/debugInfoDeserialization/
H A DmethodBuilder.cpp166 (IS_STATIC ? ir::ScriptFunctionFlags::STATIC_BLOCK : ir::ScriptFunctionFlags::CONSTRUCTOR); in CreateIrConstructor()
178 return checker_->AllocNode<ir::MethodDefinition>(ir::MethodDefinitionKind::CONSTRUCTOR, in CreateIrConstructor()
/arkcompiler/ets_frontend/es2panda/ir/base/
H A DmethodDefinition.h35 enum class MethodDefinitionKind { CONSTRUCTOR, METHOD, GET, SET }; member in panda::es2panda::panda::es2panda::panda::es2panda::ir::MethodDefinitionKind
H A DmethodDefinition.cpp69 case MethodDefinitionKind::CONSTRUCTOR: { in Dump()
H A DscriptFunction.h150 return (flags_ & ir::ScriptFunctionFlags::CONSTRUCTOR) != 0; in IsConstructor()
/arkcompiler/ets_frontend/ets2panda/parser/
H A DparserStatusContext.h129 flags_ |= ir::ScriptFunctionFlags::CONSTRUCTOR; in FunctionContext()
H A DETSparserClasses.cpp448 if ((modifiers & ir::ModifierFlags::CONSTRUCTOR) != 0) { in ParseClassMethodDefinition()
450 methodKind = ir::MethodDefinitionKind::CONSTRUCTOR; in ParseClassMethodDefinition()
H A DparserImpl.cpp315 desc->methodKind = ir::MethodDefinitionKind::CONSTRUCTOR; in ValidateClassKey()
657 ir::ScriptFunctionFlags::CONSTRUCTOR | in BuildImplicitConstructor()
670 auto *ctor = AllocNode<ir::MethodDefinition>(ir::MethodDefinitionKind::CONSTRUCTOR, key, funcExpr, in BuildImplicitConstructor()
H A DETSFormattedParser.cpp456 modifiers |= ir::ModifierFlags::CONSTRUCTOR; in CreateConstructorDefinition()
/arkcompiler/ets_frontend/ets2panda/checker/types/
H A Dsignature.h79 CONSTRUCTOR = 1U << 9U, member in ark::es2panda::ark::es2panda::checker::SignatureFlags
/arkcompiler/ets_frontend/es2panda/ir/
H A DastNode.h91 CONSTRUCTOR = 1 << 5, member in panda::es2panda::panda::es2panda::panda::es2panda::ir::ScriptFunctionFlags
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
H A Dstd_core_TypeCreator.cpp291 if (HasFeatureAttribute(attrs, EtsTypeAPIAttributes::CONSTRUCTOR)) { in TypeAPITypeCreatorCtxMethodCreate()
310 if (HasFeatureAttribute(attrs, EtsTypeAPIAttributes::CONSTRUCTOR)) { in TypeAPITypeCreatorCtxMethodCreate()
H A Dstd_core_Type.cpp392 attr |= (method->IsConstructor()) ? static_cast<uint32_t>(EtsTypeAPIAttributes::CONSTRUCTOR) : 0U; in CreateMethod()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DETSemitter.cpp180 func.metadata->SetAttribute(Signatures::CONSTRUCTOR); in GenExternalFunction()
197 func.metadata->SetAttribute(Signatures::CONSTRUCTOR); in GenExternalFunction()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A Ddynamic.cpp275 ir::ScriptFunctionFlags::CONSTRUCTOR | ir::ScriptFunctionFlags::EXPRESSION, in CreateScriptFunction()
309 AllocNode<ir::MethodDefinition>(ir::MethodDefinitionKind::CONSTRUCTOR, id->Clone(Allocator(), nullptr), in CreateClassInstanceInitializer()
H A DutilityTypeHandlers.cpp396 ir::ScriptFunctionFlags::CONSTRUCTOR | ir::ScriptFunctionFlags::EXPRESSION, in CreateScriptFunctionForConstructor()
433 auto *const ctor = AllocNode<ir::MethodDefinition>(ir::MethodDefinitionKind::CONSTRUCTOR, in CreateNonStaticClassInitializer()
/arkcompiler/ets_frontend/es2panda/parser/
H A DparserImpl.cpp2354 desc->methodKind = ir::MethodDefinitionKind::CONSTRUCTOR; in ValidateClassKey()
2567 ASSERT(methodDef->Kind() != ir::MethodDefinitionKind::CONSTRUCTOR); in ValidatePrivateProperty()
2909 if (desc.methodKind == ir::MethodDefinitionKind::CONSTRUCTOR && !decorators.empty()) { in ParseClassElement()
2918 if (desc.methodKind == ir::MethodDefinitionKind::CONSTRUCTOR) { in ParseClassElement()
2989 return def->Kind() == ir::MethodDefinitionKind::CONSTRUCTOR; in IsConstructor()
2996 case ir::ScriptFunctionFlags::CONSTRUCTOR: { in GetKeyByFuncFlag()
3026 bool isConstructor = (funcFlag == ir::ScriptFunctionFlags::CONSTRUCTOR); in CreateImplicitMethod()
3057 auto methodKind = isConstructor ? ir::MethodDefinitionKind::CONSTRUCTOR : ir::MethodDefinitionKind::METHOD; in CreateImplicitMethod()
3253 ctor = CreateImplicitMethod(superClass, hasSuperClass, ir::ScriptFunctionFlags::CONSTRUCTOR, isDeclare); in ParseClassDefinition()
/arkcompiler/ets_frontend/ets2panda/compiler/lowering/ets/
H A DenumLowering.cpp293 ir::ScriptFunctionFlags::CONSTRUCTOR, ir::ModifierFlags::CONSTRUCTOR, in CreateCtorForEnumClass()
320 ir::MethodDefinitionKind::CONSTRUCTOR, identClone, funcExpr, ir::ModifierFlags::PUBLIC, Allocator(), false); in CreateCtorForEnumClass()

Completed in 26 milliseconds

12