Lines Matching defs:key
943 // key->IsPropertyName() != key->AsArrayIndex(...)
945 // property->key()->IsPropertyName() != property->key()->AsArrayIndex(...)
993 // Support for using Literal as a HashMap key. NOTE: Currently, this works
1198 Expression* key() const { return key_and_is_computed_name_.GetPointer(); }
1207 LiteralProperty(Expression* key, Expression* value, bool is_computed_name)
1208 : key_and_is_computed_name_(key, is_computed_name), value_(value) {}
1245 ObjectLiteralProperty(Expression* key, Expression* value, Kind kind,
1247 ObjectLiteralProperty(AstValueFactory* ast_value_factory, Expression* key,
1354 // Mark all computed expressions that are bound to a key that
1355 // is shadowed by a later occurrence of the same key. For the
1602 NAMED_PROPERTY, // obj.key
1603 KEYED_PROPERTY, // obj[key] and obj.#key when #key is a private field
1604 NAMED_SUPER_PROPERTY, // super.key
1605 KEYED_SUPER_PROPERTY, // super[key]
1606 PRIVATE_METHOD, // obj.#key: #key is a private method
1607 PRIVATE_GETTER_ONLY, // obj.#key: #key only has a getter defined
1608 PRIVATE_SETTER_ONLY, // obj.#key: #key only has a setter defined
1609 PRIVATE_GETTER_AND_SETTER // obj.#key: #key has both accessors defined
1621 Expression* key() const { return key_; }
1624 bool IsPrivateReference() const { return key()->IsPrivateName(); }
1631 VariableProxy* proxy = property->key()->AsVariableProxy();
1651 return (property->key()->IsPropertyName())
1660 Property(Expression* obj, Expression* key, int pos, bool optional_chain)
1661 : Expression(pos, kProperty), obj_(obj), key_(key) {
2403 ClassLiteralProperty(Expression* key, Expression* value, Kind kind,
3037 Expression* key, Expression* value, ObjectLiteralProperty::Kind kind,
3039 return zone_->New<ObjectLiteral::Property>(key, value, kind,
3043 ObjectLiteral::Property* NewObjectLiteralProperty(Expression* key,
3046 return zone_->New<ObjectLiteral::Property>(ast_value_factory_, key, value,
3090 Property* NewProperty(Expression* obj, Expression* key, int pos,
3092 return zone_->New<Property>(obj, key, pos, optional_chain);
3255 Expression* key, Expression* value, ClassLiteralProperty::Kind kind,
3257 return zone_->New<ClassLiteral::Property>(key, value, kind, is_static,