v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::ObjectLiteralProperty Class Referencefinal

#include <ast.h>

Inheritance diagram for v8::internal::ObjectLiteralProperty:
Collaboration diagram for v8::internal::ObjectLiteralProperty:

Public Types

enum  Kind : uint8_t {
  CONSTANT , COMPUTED , MATERIALIZED_LITERAL , GETTER ,
  SETTER , PROTOTYPE , SPREAD
}
 

Public Member Functions

Kind kind () const
 
bool IsCompileTimeValue () const
 
void set_emit_store (bool emit_store)
 
bool emit_store () const
 
bool IsNullPrototype () const
 
bool IsPrototype () const
 
- Public Member Functions inherited from v8::internal::LiteralProperty
Expressionkey () const
 
Expressionvalue () const
 
bool is_computed_name () const
 
bool NeedsSetFunctionName () const
 
- Public Member Functions inherited from v8::internal::ZoneObject
void * operator new (size_t, Zone *)=delete
 
void * operator new (size_t size, void *ptr)
 
void operator delete (void *, size_t)
 
void operator delete (void *pointer, Zone *zone)=delete
 

Private Member Functions

 ObjectLiteralProperty (Expression *key, Expression *value, Kind kind, bool is_computed_name)
 
 ObjectLiteralProperty (AstValueFactory *ast_value_factory, Expression *key, Expression *value, bool is_computed_name)
 

Private Attributes

friend Zone
 
Kind kind_
 
bool emit_store_
 

Friends

class AstNodeFactory
 

Additional Inherited Members

- Protected Member Functions inherited from v8::internal::LiteralProperty
 LiteralProperty (Expression *key, Expression *value, bool is_computed_name)
 
- Protected Attributes inherited from v8::internal::LiteralProperty
base::PointerWithPayload< Expression, bool, 1 > key_and_is_computed_name_
 
Expressionvalue_
 

Detailed Description

Definition at line 1266 of file ast.h.

Member Enumeration Documentation

◆ Kind

Enumerator
CONSTANT 
COMPUTED 
MATERIALIZED_LITERAL 
GETTER 
SETTER 
PROTOTYPE 
SPREAD 

Definition at line 1268 of file ast.h.

Constructor & Destructor Documentation

◆ ObjectLiteralProperty() [1/2]

v8::internal::ObjectLiteralProperty::ObjectLiteralProperty ( Expression * key,
Expression * value,
Kind kind,
bool is_computed_name )
private

Definition at line 276 of file ast.cc.

◆ ObjectLiteralProperty() [2/2]

v8::internal::ObjectLiteralProperty::ObjectLiteralProperty ( AstValueFactory * ast_value_factory,
Expression * key,
Expression * value,
bool is_computed_name )
private

Definition at line 282 of file ast.cc.

Here is the call graph for this function:

Member Function Documentation

◆ emit_store()

bool v8::internal::ObjectLiteral::Property::emit_store ( ) const

Definition at line 336 of file ast.cc.

Here is the caller graph for this function:

◆ IsCompileTimeValue()

bool v8::internal::ObjectLiteral::Property::IsCompileTimeValue ( ) const

Definition at line 327 of file ast.cc.

Here is the call graph for this function:

◆ IsNullPrototype()

bool v8::internal::ObjectLiteralProperty::IsNullPrototype ( ) const
inline

Definition at line 1285 of file ast.h.

Here is the call graph for this function:

◆ IsPrototype()

bool v8::internal::ObjectLiteralProperty::IsPrototype ( ) const
inline

Definition at line 1288 of file ast.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ kind()

Kind v8::internal::ObjectLiteralProperty::kind ( ) const
inline

Definition at line 1278 of file ast.h.

Here is the caller graph for this function:

◆ set_emit_store()

void v8::internal::ObjectLiteral::Property::set_emit_store ( bool emit_store)

Definition at line 332 of file ast.cc.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ AstNodeFactory

friend class AstNodeFactory
friend

Definition at line 1291 of file ast.h.

Member Data Documentation

◆ emit_store_

bool v8::internal::ObjectLiteralProperty::emit_store_
private

Definition at line 1300 of file ast.h.

◆ kind_

Kind v8::internal::ObjectLiteralProperty::kind_
private

Definition at line 1299 of file ast.h.

◆ Zone

friend v8::internal::ObjectLiteralProperty::Zone
private

Definition at line 1292 of file ast.h.


The documentation for this class was generated from the following files: