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

#include <ast.h>

Inheritance diagram for v8::internal::AstNode:
Collaboration diagram for v8::internal::AstNode:

Public Types

enum  NodeType : uint8_t
 

Public Member Functions

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 = NodeTypeField::Next<T, size>
 

Protected Member Functions

 AstNode (int position, NodeType type)
 

Protected Attributes

uint32_t bit_field_
 

Private Types

using NodeTypeField = base::BitField<NodeType, 0, 6>
 

Private Attributes

int position_
 

Detailed Description

Definition at line 145 of file ast.h.

Member Typedef Documentation

◆ NextBitField

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

Definition at line 181 of file ast.h.

◆ NodeTypeField

Definition at line 175 of file ast.h.

Member Enumeration Documentation

◆ NodeType

Definition at line 148 of file ast.h.

Constructor & Destructor Documentation

◆ AstNode()

v8::internal::AstNode::AstNode ( int position,
NodeType type )
inlineprotected

Definition at line 183 of file ast.h.

Member Function Documentation

◆ AsIterationStatement()

IterationStatement * v8::internal::AstNode::AsIterationStatement ( )

Definition at line 49 of file ast.cc.

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

◆ AsMaterializedLiteral()

MaterializedLiteral * v8::internal::AstNode::AsMaterializedLiteral ( )

Definition at line 57 of file ast.cc.

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

◆ node_type()

NodeType v8::internal::AstNode::node_type ( ) const
inline

Definition at line 154 of file ast.h.

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

◆ position()

int v8::internal::AstNode::position ( ) const
inline

Definition at line 155 of file ast.h.

Here is the caller graph for this function:

Member Data Documentation

◆ bit_field_

uint32_t v8::internal::AstNode::bit_field_
protected

Definition at line 178 of file ast.h.

◆ position_

int v8::internal::AstNode::position_
private

Definition at line 174 of file ast.h.


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