Lines Matching defs:property
29 #include "src/objects/property-details.h"
30 #include "src/objects/property.h"
336 ObjectLiteral::Property* property = properties()->at(i);
337 if (property->is_computed_name()) continue;
338 if (property->IsPrototype()) continue;
339 Literal* literal = property->key()->AsLiteral();
345 entry->value = property;
347 // We already have a later definition of this property, so we don't need
353 // foo() {}, foo: 42}, the getter store would override the data property
354 // (which, being a non-computed compile-time valued property, is already
364 (property->kind() == GETTER && later_kind == SETTER) ||
365 (property->kind() == SETTER && later_kind == GETTER);
367 property->set_emit_store(false);
369 entry->value = property;
384 // We still check for __proto__:null after computed property names.
410 ObjectLiteral::Property* property = properties()->at(i);
411 if (property->IsPrototype()) {
415 if (property->IsNullPrototype()) {
424 DCHECK(property->is_computed_name());
429 DCHECK(!property->is_computed_name());
431 MaterializedLiteral* literal = property->value()->AsMaterializedLiteral();
438 Literal* key = property->key()->AsLiteral();
439 Expression* value = property->value();
475 ObjectLiteral::Property* property = properties()->at(i);
476 if (property->IsPrototype()) {
480 if (property->is_computed_name()) continue;
482 Literal* key = property->key()->AsLiteral();
493 ObjectLiteral::Property* property = properties()->at(i);
494 if (property->IsPrototype()) continue;
497 DCHECK(property->is_computed_name());
500 DCHECK(!property->is_computed_name());
502 MaterializedLiteral* m_literal = property->value()->AsMaterializedLiteral();
510 Literal* key_literal = property->key()->AsLiteral();
518 Handle<Object> value = GetBoilerplateValue(property->value(), isolate);
961 Property* property = expression()->AsProperty();
963 if (V8_UNLIKELY(property == nullptr && expression()->IsOptionalChain())) {
965 property = expression()->AsOptionalChain()->expression()->AsProperty();
967 if (property != nullptr) {
968 if (property->IsPrivateReference()) {
972 bool is_super = property->IsSuperAccess();
973 // `super?.` is not syntactically valid, so a property load cannot be both
976 if (property->key()->IsPropertyName()) {