Home
last modified time | relevance | path

Searched refs:IsComputed (Results 1 - 25 of 35) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/ir/expressions/
H A DobjectExpression.cpp289 if (!util::Helpers::IsConstantPropertyKey(prop->Key(), prop->IsComputed()) || in CompileStaticProperties()
337 compiler::VReg key = pg->LoadPropertyKey(prop->Key(), prop->IsComputed()); in CompilePropertyOfGetterOrSetter()
357 pg->DefineGetterSetterByValue(this, objReg, key, getter, setter, prop->IsComputed()); in CompilePropertyOfGetterOrSetter()
363 compiler::Operand key = pg->ToPropertyKey(prop->Key(), prop->IsComputed()); in CompilePropertyWithInit()
369 if (prop->IsComputed()) { in CompilePropertyWithInit()
373 if (prop->IsComputed()) { in CompilePropertyWithInit()
383 && !prop->IsComputed(); in CompilePropertyWithInit()
482 if (prop->IsComputed()) { in CheckPattern()
665 if (prop->IsComputed()) { in Check()
H A DmemberExpression.h69 bool IsComputed() const in IsComputed() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::MemberExpression
/arkcompiler/ets_frontend/ets2panda/compiler/base/
H A Dlreference.cpp100 prop_ = pg_->ToNamedPropertyKey(memberExpr->Property(), memberExpr->IsComputed()); in JSLReference()
186 if (!memberExpr->IsComputed() && etsg_->Checker()->IsVariableStatic(memberExpr->PropVar()) && in ETSLReference()
196 if (memberExpr->IsComputed()) { in ETSLReference()
343 if (memberExpr->IsComputed()) { in SetValue()
H A Ddestructuring.cpp257 Operand propOperand = pg->ToOwnPropertyKey(key, propExpr->IsComputed()); in GenObject()
/arkcompiler/ets_frontend/ets2panda/ir/base/
H A DclassElement.h81 [[nodiscard]] bool IsComputed() const noexcept
H A Dproperty.h90 [[nodiscard]] bool IsComputed() const noexcept
H A Dproperty.cpp95 if (!IsComputed() && !IsMethod() && !IsAccessor() && !IsShorthand()) { in ValidateExpression()
H A DclassDefinition.cpp46 return element->IsClassProperty() && element->AsClassElement()->IsComputed() && in HasComputedInstanceField()
/arkcompiler/ets_frontend/ets2panda/checker/ets/dynamic/
H A DdynamicCall.cpp68 if (!memberExpr->Object()->TsType()->IsETSDynamicType() || memberExpr->IsComputed()) { in SqueezeExpr()
/arkcompiler/ets_frontend/es2panda/ir/base/
H A Dproperty.h94 bool IsComputed() const in IsComputed() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::Property
H A DclassProperty.h100 bool IsComputed() const in IsComputed() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::ClassProperty
H A Dproperty.cpp61 if (!IsComputed() && !IsMethod() && !IsAccessor() && !IsShorthand()) { in ValidateExpression()
H A DclassDefinition.cpp359 if (prop->IsComputed() && prop->NeedCompileKey()) { in CompileComputedKeys()
499 if (prop->IsComputed() && prop->NeedCompileKey()) { in BuildClassEnvironment()
/arkcompiler/ets_frontend/ets2panda/ir/ts/
H A DtsEnumDeclaration.cpp102 if (!expr->IsComputed()) { in EvaluateMemberExpression()
/arkcompiler/ets_frontend/ets2panda/checker/ts/
H A Dutil.cpp159 return !expr->AsMemberExpression()->IsComputed() in IsConstantMemberAccess()
H A DtypeElaborationContext.cpp131 if (prop->IsComputed()) { in Start()
/arkcompiler/ets_frontend/ets2panda/compiler/core/
H A DJSCompiler.cpp155 if (!util::Helpers::IsConstantPropertyKey(propMethod->Key(), propMethod->IsComputed()) || in CreateClassStaticProperties()
156 (propMethod->IsComputed() && util::Helpers::IsSpecialPropertyKey(propMethod->Key()))) { in CreateClassStaticProperties()
234 if (prop->IsComputed()) { in CompileStaticFieldInitializers()
262 compiler::Operand key = pg->ToOwnPropertyKey(prop->Key(), prop->IsComputed()); in CompilePropertyKind()
273 compiler::VReg keyReg = pg->LoadPropertyKey(prop->Key(), prop->IsComputed()); in CompilePropertyKind()
294 pg->DefineGetterSetterByValue(node, std::make_tuple(dest, keyReg, getter, setter), prop->IsComputed()); in CompilePropertyKind()
342 if (!prop->IsComputed()) { in CompileMissingProperties()
347 compiler::VReg keyReg = pg->LoadPropertyKey(prop->Key(), prop->IsComputed()); in CompileMissingProperties()
352 pg->LoadPropertyKeyAcc(prop->Key(), prop->IsComputed()); in CompileMissingProperties()
847 return util::Helpers::IsConstantPropertyKey(prop->Key(), prop->IsComputed()) in IsLiteralBufferCompatible()
[all...]
H A Dfunction.cpp176 if (prop->IsComputed()) { in IterateOverElements()
/arkcompiler/ets_frontend/es2panda/typescript/core/
H A Dutil.cpp191 return !expr->AsMemberExpression()->IsComputed() in IsConstantMemberAccess()
H A DtypeElaborationContext.cpp111 if (prop->IsComputed()) { in Start()
/arkcompiler/ets_frontend/es2panda/compiler/core/
H A Dfunction.cpp150 } else if (prop->IsComputed() && prop->NeedCompileKey()) { in CompileField()
156 op = pg->ToPropertyKey(prop->Key(), prop->IsComputed()); in CompileField()
/arkcompiler/ets_frontend/ets2panda/ir/expressions/
H A DmemberExpression.h127 [[nodiscard]] bool IsComputed() const noexcept
/arkcompiler/ets_frontend/es2panda/parser/transformer/
H A Dtransformer.cpp495 if (!classProperty->IsComputed()) { in VisitComputedProperty()
705 if (it->IsComputed()) { in VisitInstanceProperty()
710 auto *member = GetClassMemberName(it->Key(), it->IsComputed(), it, false); in VisitInstanceProperty()
711 if (member->IsIdentifier() && !it->IsComputed()) { in VisitInstanceProperty()
888 bool computed = node->IsComputed(); in ProcessAutoAccessorProperty()
1058 if (classProperty->IsComputed()) { in VisitStaticProperty()
1067 auto *member = GetClassMemberName(classProperty->Key(), classProperty->IsComputed(), classProperty, false); in VisitStaticProperty()
1068 if (member->IsIdentifier() && !classProperty->IsComputed()) { in VisitStaticProperty()
1183 if (classProperty->IsComputed() && !isStatic && classProperty->Value() == nullptr) { in VisitClassDeclaration()
1464 arguments.push_back(GetClassMemberName(node->Key(), node->IsComputed(), nod in CreatePropertyDecorators()
[all...]
/arkcompiler/ets_frontend/es2panda/compiler/base/
H A Ddestructuring.cpp147 if (key->IsIdentifier() && !propExpr->IsComputed()) { in GenObjectProperty()
/arkcompiler/ets_frontend/ets2panda/checker/ets/
H A DvalidateHelpers.cpp143 if (ident->Parent()->AsMemberExpression()->IsComputed()) { in ValidateMemberIdentifier()

Completed in 17 milliseconds

12