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

#include <ast.h>

Inheritance diagram for v8::internal::FunctionDeclaration:
Collaboration diagram for v8::internal::FunctionDeclaration:

Public Member Functions

FunctionLiteralfun () const
 
- 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
 

Private Member Functions

 FunctionDeclaration (FunctionLiteral *fun, int pos)
 

Private Attributes

friend Zone
 
FunctionLiteralfun_
 

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 Types inherited from v8::internal::AstNode
template<class T , int size>
using NextBitField = NodeTypeField::Next<T, size>
 
- 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)
 
- Protected Attributes inherited from v8::internal::AstNode
uint32_t bit_field_
 

Detailed Description

Definition at line 434 of file ast.h.

Constructor & Destructor Documentation

◆ FunctionDeclaration()

v8::internal::FunctionDeclaration::FunctionDeclaration ( FunctionLiteral * fun,
int pos )
inlineprivate

Definition at line 442 of file ast.h.

Member Function Documentation

◆ fun()

FunctionLiteral * v8::internal::FunctionDeclaration::fun ( ) const
inline

Definition at line 436 of file ast.h.

Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ AstNodeFactory

friend class AstNodeFactory
friend

Definition at line 439 of file ast.h.

Member Data Documentation

◆ fun_

FunctionLiteral* v8::internal::FunctionDeclaration::fun_
private

Definition at line 445 of file ast.h.

◆ Zone

friend v8::internal::FunctionDeclaration::Zone
private

Definition at line 440 of file ast.h.


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