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

#include <parser-base.h>

Inheritance diagram for v8::internal::FormalParametersBase:
Collaboration diagram for v8::internal::FormalParametersBase:

Public Member Functions

 FormalParametersBase (DeclarationScope *scope)
 
int num_parameters () const
 
void UpdateArityAndFunctionLength (bool is_optional, bool is_rest)
 

Public Attributes

DeclarationScopescope
 
bool has_rest = false
 
bool is_simple = true
 
int function_length = 0
 
int arity = 0
 

Detailed Description

Definition at line 59 of file parser-base.h.

Constructor & Destructor Documentation

◆ FormalParametersBase()

v8::internal::FormalParametersBase::FormalParametersBase ( DeclarationScope * scope)
inlineexplicit

Definition at line 60 of file parser-base.h.

Member Function Documentation

◆ num_parameters()

int v8::internal::FormalParametersBase::num_parameters ( ) const
inline

Definition at line 62 of file parser-base.h.

Here is the caller graph for this function:

◆ UpdateArityAndFunctionLength()

void v8::internal::FormalParametersBase::UpdateArityAndFunctionLength ( bool is_optional,
bool is_rest )
inline

Definition at line 69 of file parser-base.h.

Here is the caller graph for this function:

Member Data Documentation

◆ arity

int v8::internal::FormalParametersBase::arity = 0

Definition at line 80 of file parser-base.h.

◆ function_length

int v8::internal::FormalParametersBase::function_length = 0

Definition at line 79 of file parser-base.h.

◆ has_rest

bool v8::internal::FormalParametersBase::has_rest = false

Definition at line 77 of file parser-base.h.

◆ is_simple

bool v8::internal::FormalParametersBase::is_simple = true

Definition at line 78 of file parser-base.h.

◆ scope

DeclarationScope* v8::internal::FormalParametersBase::scope

Definition at line 76 of file parser-base.h.


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