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

#include <ast.h>

Inheritance diagram for v8::internal::VariableDeclaration:
Collaboration diagram for v8::internal::VariableDeclaration:

Public Member Functions

NestedVariableDeclarationAsNested ()
 
- Public Member Functions inherited from v8::internal::Declaration
Variablevar () const
 
void set_var (Variable *var)
 
- Public Member Functions inherited from v8::internal::AstNode
NodeType node_type () const
 
int position () const
 
IterationStatementAsIterationStatement ()
 
MaterializedLiteralAsMaterializedLiteral ()
 
- 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 Types

template<class T , int size>
using NextBitField = IsNestedField::Next<T, size>
 
- Protected Types inherited from v8::internal::AstNode
template<class T , int size>
using NextBitField = NodeTypeField::Next<T, size>
 

Protected Member Functions

 VariableDeclaration (int pos, bool is_nested=false)
 
- Protected Member Functions inherited from v8::internal::Declaration
 Declaration (int pos, NodeType type)
 
- Protected Member Functions inherited from v8::internal::AstNode
 AstNode (int position, NodeType type)
 

Private Types

using IsNestedField = Declaration::NextBitField<bool, 1>
 

Private Attributes

friend Zone
 

Friends

class AstNodeFactory
 

Additional Inherited Members

- Public Types inherited from v8::internal::Declaration
using List = base::ThreadedList<Declaration>
 
- Public Types inherited from v8::internal::AstNode
enum  NodeType : uint8_t
 
- Protected Attributes inherited from v8::internal::AstNode
uint32_t bit_field_
 

Detailed Description

Definition at line 390 of file ast.h.

Member Typedef Documentation

◆ IsNestedField

◆ NextBitField

template<class T , int size>
using v8::internal::VariableDeclaration::NextBitField = IsNestedField::Next<T, size>
protected

Definition at line 407 of file ast.h.

Constructor & Destructor Documentation

◆ VariableDeclaration()

v8::internal::VariableDeclaration::VariableDeclaration ( int pos,
bool is_nested = false )
inlineexplicitprotected

Definition at line 401 of file ast.h.

Here is the call graph for this function:

Member Function Documentation

◆ AsNested()

NestedVariableDeclaration * v8::internal::VariableDeclaration::AsNested ( )
inline

Definition at line 428 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 395 of file ast.h.

Member Data Documentation

◆ Zone

friend v8::internal::VariableDeclaration::Zone
private

Definition at line 396 of file ast.h.


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