/arkcompiler/ets_frontend/es2panda/ir/expressions/ |
H A D | objectExpression.cpp | 289 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 D | memberExpression.h | 69 bool IsComputed() const in IsComputed() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::MemberExpression
|
/arkcompiler/ets_frontend/ets2panda/compiler/base/ |
H A D | lreference.cpp | 100 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 D | destructuring.cpp | 257 Operand propOperand = pg->ToOwnPropertyKey(key, propExpr->IsComputed()); in GenObject()
|
/arkcompiler/ets_frontend/ets2panda/ir/base/ |
H A D | classElement.h | 81 [[nodiscard]] bool IsComputed() const noexcept
|
H A D | property.h | 90 [[nodiscard]] bool IsComputed() const noexcept
|
H A D | property.cpp | 95 if (!IsComputed() && !IsMethod() && !IsAccessor() && !IsShorthand()) { in ValidateExpression()
|
H A D | classDefinition.cpp | 46 return element->IsClassProperty() && element->AsClassElement()->IsComputed() && in HasComputedInstanceField()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/dynamic/ |
H A D | dynamicCall.cpp | 68 if (!memberExpr->Object()->TsType()->IsETSDynamicType() || memberExpr->IsComputed()) { in SqueezeExpr()
|
/arkcompiler/ets_frontend/es2panda/ir/base/ |
H A D | property.h | 94 bool IsComputed() const in IsComputed() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::Property
|
H A D | classProperty.h | 100 bool IsComputed() const in IsComputed() function in panda::es2panda::panda::es2panda::panda::es2panda::ir::ClassProperty
|
H A D | property.cpp | 61 if (!IsComputed() && !IsMethod() && !IsAccessor() && !IsShorthand()) { in ValidateExpression()
|
H A D | classDefinition.cpp | 359 if (prop->IsComputed() && prop->NeedCompileKey()) { in CompileComputedKeys() 499 if (prop->IsComputed() && prop->NeedCompileKey()) { in BuildClassEnvironment()
|
/arkcompiler/ets_frontend/ets2panda/ir/ts/ |
H A D | tsEnumDeclaration.cpp | 102 if (!expr->IsComputed()) { in EvaluateMemberExpression()
|
/arkcompiler/ets_frontend/ets2panda/checker/ts/ |
H A D | util.cpp | 159 return !expr->AsMemberExpression()->IsComputed() in IsConstantMemberAccess()
|
H A D | typeElaborationContext.cpp | 131 if (prop->IsComputed()) { in Start()
|
/arkcompiler/ets_frontend/ets2panda/compiler/core/ |
H A D | JSCompiler.cpp | 155 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 D | function.cpp | 176 if (prop->IsComputed()) { in IterateOverElements()
|
/arkcompiler/ets_frontend/es2panda/typescript/core/ |
H A D | util.cpp | 191 return !expr->AsMemberExpression()->IsComputed() in IsConstantMemberAccess()
|
H A D | typeElaborationContext.cpp | 111 if (prop->IsComputed()) { in Start()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/ |
H A D | function.cpp | 150 } 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 D | memberExpression.h | 127 [[nodiscard]] bool IsComputed() const noexcept
|
/arkcompiler/ets_frontend/es2panda/parser/transformer/ |
H A D | transformer.cpp | 495 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 D | destructuring.cpp | 147 if (key->IsIdentifier() && !propExpr->IsComputed()) { in GenObjectProperty()
|
/arkcompiler/ets_frontend/ets2panda/checker/ets/ |
H A D | validateHelpers.cpp | 143 if (ident->Parent()->AsMemberExpression()->IsComputed()) { in ValidateMemberIdentifier()
|