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

#include <ast.h>

Inheritance diagram for v8::internal::LiteralProperty:
Collaboration diagram for v8::internal::LiteralProperty:

Public Member Functions

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
 

Protected Member Functions

 LiteralProperty (Expression *key, Expression *value, bool is_computed_name)
 

Protected Attributes

base::PointerWithPayload< Expression, bool, 1 > key_and_is_computed_name_
 
Expressionvalue_
 

Detailed Description

Definition at line 1245 of file ast.h.

Constructor & Destructor Documentation

◆ LiteralProperty()

v8::internal::LiteralProperty::LiteralProperty ( Expression * key,
Expression * value,
bool is_computed_name )
inlineprotected

Definition at line 1256 of file ast.h.

Member Function Documentation

◆ is_computed_name()

bool v8::internal::LiteralProperty::is_computed_name ( ) const
inline

Definition at line 1250 of file ast.h.

Here is the caller graph for this function:

◆ key()

Expression * v8::internal::LiteralProperty::key ( ) const
inline

Definition at line 1247 of file ast.h.

Here is the caller graph for this function:

◆ NeedsSetFunctionName()

bool v8::internal::LiteralProperty::NeedsSetFunctionName ( ) const

Definition at line 298 of file ast.cc.

Here is the call graph for this function:

◆ value()

Expression * v8::internal::LiteralProperty::value ( ) const
inline

Definition at line 1248 of file ast.h.

Here is the caller graph for this function:

Member Data Documentation

◆ key_and_is_computed_name_

base::PointerWithPayload<Expression, bool, 1> v8::internal::LiteralProperty::key_and_is_computed_name_
protected

Definition at line 1259 of file ast.h.

◆ value_

Expression* v8::internal::LiteralProperty::value_
protected

Definition at line 1260 of file ast.h.


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