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

#include <ast.h>

Inheritance diagram for v8::internal::ClassLiteralStaticElement:
Collaboration diagram for v8::internal::ClassLiteralStaticElement:

Public Types

enum  Kind : uint8_t { PROPERTY , STATIC_BLOCK }
 

Public Member Functions

Kind kind () const
 
ClassLiteralPropertyproperty () const
 
Blockstatic_block () 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

 ClassLiteralStaticElement (ClassLiteralProperty *property)
 
 ClassLiteralStaticElement (Block *static_block)
 

Private Attributes

friend Zone
 
Kind kind_
 
union { 
 
   ClassLiteralProperty *   property_ 
 
   Block *   static_block_ 
 
};  
 

Friends

class AstNodeFactory
 

Detailed Description

Definition at line 2607 of file ast.h.

Member Enumeration Documentation

◆ Kind

Enumerator
PROPERTY 
STATIC_BLOCK 

Definition at line 2609 of file ast.h.

Constructor & Destructor Documentation

◆ ClassLiteralStaticElement() [1/2]

v8::internal::ClassLiteralStaticElement::ClassLiteralStaticElement ( ClassLiteralProperty * property)
inlineexplicitprivate

Definition at line 2627 of file ast.h.

◆ ClassLiteralStaticElement() [2/2]

v8::internal::ClassLiteralStaticElement::ClassLiteralStaticElement ( Block * static_block)
inlineexplicitprivate

Definition at line 2630 of file ast.h.

Member Function Documentation

◆ kind()

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

Definition at line 2611 of file ast.h.

Here is the caller graph for this function:

◆ property()

ClassLiteralProperty * v8::internal::ClassLiteralStaticElement::property ( ) const
inline

Definition at line 2613 of file ast.h.

Here is the call graph for this function:

◆ static_block()

Block * v8::internal::ClassLiteralStaticElement::static_block ( ) const
inline

Definition at line 2618 of file ast.h.

Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ AstNodeFactory

friend class AstNodeFactory
friend

Definition at line 2624 of file ast.h.

Member Data Documentation

◆ [union]

◆ kind_

Kind v8::internal::ClassLiteralStaticElement::kind_
private

Definition at line 2633 of file ast.h.

◆ property_

ClassLiteralProperty* v8::internal::ClassLiteralStaticElement::property_

Definition at line 2636 of file ast.h.

◆ static_block_

Block* v8::internal::ClassLiteralStaticElement::static_block_

Definition at line 2637 of file ast.h.

◆ Zone

friend v8::internal::ClassLiteralStaticElement::Zone
private

Definition at line 2625 of file ast.h.


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