/arkcompiler/ets_runtime/ecmascript/compiler/pgo_type/ |
H A D | pgo_type_parser.cpp | 59 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 D | pgo_type_location.h | 31 CONSTRUCTOR, member in panda::ecmascript::kungfu::PGOTypeLocation::Type
|
/arkcompiler/ets_frontend/ets2panda/ir/base/ |
H A D | methodDefinition.h | 30 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 D | methodDefinition.cpp | 116 case MethodDefinitionKind::CONSTRUCTOR: { in Dump()
|
H A D | scriptFunction.h | 180 return (funcFlags_ & ir::ScriptFunctionFlags::CONSTRUCTOR) != 0;
|
/arkcompiler/ets_frontend/ets2panda/ir/ |
H A D | astNodeFlags.h | 54 CONSTRUCTOR = 1U << 14U, member in ark::es2panda::ir::ModifierFlags 84 CONSTRUCTOR = 1U << 5U, member in ark::es2panda::ir::ModifierFlags::ScriptFunctionFlags
|
H A D | astNode.h | 303 return (flags_ & ModifierFlags::CONSTRUCTOR) != 0;
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
H A D | ets_typeapi.h | 76 CONSTRUCTOR = 1U << 5U, // Method member in ark::ets::EtsTypeAPIKind::EtsTypeAPIAttributes
|
/arkcompiler/ets_frontend/ets2panda/evaluate/debugInfoDeserialization/ |
H A D | methodBuilder.cpp | 166 (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 D | methodDefinition.h | 35 enum class MethodDefinitionKind { CONSTRUCTOR, METHOD, GET, SET }; member in panda::es2panda::panda::es2panda::panda::es2panda::ir::MethodDefinitionKind
|
H A D | methodDefinition.cpp | 69 case MethodDefinitionKind::CONSTRUCTOR: { in Dump()
|
H A D | scriptFunction.h | 150 return (flags_ & ir::ScriptFunctionFlags::CONSTRUCTOR) != 0; in IsConstructor()
|
/arkcompiler/ets_frontend/ets2panda/parser/ |
H A D | parserStatusContext.h | 129 flags_ |= ir::ScriptFunctionFlags::CONSTRUCTOR; in FunctionContext()
|
H A D | ETSparserClasses.cpp | 448 if ((modifiers & ir::ModifierFlags::CONSTRUCTOR) != 0) { in ParseClassMethodDefinition() 450 methodKind = ir::MethodDefinitionKind::CONSTRUCTOR; in ParseClassMethodDefinition()
|
H A D | parserImpl.cpp | 315 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 D | ETSFormattedParser.cpp | 456 modifiers |= ir::ModifierFlags::CONSTRUCTOR; in CreateConstructorDefinition()
|
/arkcompiler/ets_frontend/ets2panda/checker/types/ |
H A D | signature.h | 79 CONSTRUCTOR = 1U << 9U, member in ark::es2panda::ark::es2panda::checker::SignatureFlags
|
/arkcompiler/ets_frontend/es2panda/ir/ |
H A D | astNode.h | 91 CONSTRUCTOR = 1 << 5, member in panda::es2panda::panda::es2panda::panda::es2panda::ir::ScriptFunctionFlags
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
H A D | std_core_TypeCreator.cpp | 291 if (HasFeatureAttribute(attrs, EtsTypeAPIAttributes::CONSTRUCTOR)) { in TypeAPITypeCreatorCtxMethodCreate() 310 if (HasFeatureAttribute(attrs, EtsTypeAPIAttributes::CONSTRUCTOR)) { in TypeAPITypeCreatorCtxMethodCreate()
|
H A D | std_core_Type.cpp | 392 attr |= (method->IsConstructor()) ? static_cast<uint32_t>(EtsTypeAPIAttributes::CONSTRUCTOR) : 0U; in CreateMethod()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | ETSemitter.cpp | 180 func.metadata->SetAttribute(Signatures::CONSTRUCTOR); in GenExternalFunction() 197 func.metadata->SetAttribute(Signatures::CONSTRUCTOR); in GenExternalFunction()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | dynamic.cpp | 275 ir::ScriptFunctionFlags::CONSTRUCTOR | ir::ScriptFunctionFlags::EXPRESSION, in CreateScriptFunction() 309 AllocNode<ir::MethodDefinition>(ir::MethodDefinitionKind::CONSTRUCTOR, id->Clone(Allocator(), nullptr), in CreateClassInstanceInitializer()
|
H A D | utilityTypeHandlers.cpp | 396 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 D | parserImpl.cpp | 2354 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 D | enumLowering.cpp | 293 ir::ScriptFunctionFlags::CONSTRUCTOR, ir::ModifierFlags::CONSTRUCTOR, in CreateCtorForEnumClass() 320 ir::MethodDefinitionKind::CONSTRUCTOR, identClone, funcExpr, ir::ModifierFlags::PUBLIC, Allocator(), false); in CreateCtorForEnumClass()
|