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

#include <parser-base.h>

Inheritance diagram for v8::internal::ParserBase< Impl >::FunctionState:
Collaboration diagram for v8::internal::ParserBase< Impl >::FunctionState:

Classes

class  FunctionOrEvalRecordingScope
 
class  LoopScope
 

Public Member Functions

 FunctionState (FunctionState **function_state_stack, Scope **scope_stack, DeclarationScope *scope)
 
 ~FunctionState ()
 
DeclarationScopescope () const
 
void AddProperty ()
 
int expected_property_count ()
 
void DisableOptimization (BailoutReason reason)
 
BailoutReason dont_optimize_reason ()
 
void AddSuspend ()
 
int suspend_count () const
 
bool CanSuspend () const
 
FunctionKind kind () const
 
bool next_function_is_likely_called () const
 
bool previous_function_was_likely_called () const
 
void set_next_function_is_likely_called ()
 
void RecordFunctionOrEvalCall ()
 
bool contains_function_or_eval () const
 
int loop_nesting_depth () const
 
Target ** target_stack_address ()
 
- Public Member Functions inherited from v8::internal::ParserBase< Impl >::BlockState
 BlockState (Scope **scope_stack, Scope *scope)
 
 BlockState (Zone *zone, Scope **scope_stack)
 
 ~BlockState ()
 

Private Attributes

int expected_property_count_
 
int suspend_count_
 
int loop_nesting_depth_ = 0
 
FunctionState ** function_state_stack_
 
FunctionStateouter_function_state_
 
DeclarationScopescope_
 
Targettarget_stack_ = nullptr
 
BailoutReason dont_optimize_reason_
 
bool next_function_is_likely_called_
 
bool previous_function_was_likely_called_
 
bool contains_function_or_eval_
 
friend Impl
 

Detailed Description

template<typename Impl>
class v8::internal::ParserBase< Impl >::FunctionState

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

Constructor & Destructor Documentation

◆ FunctionState()

template<typename Impl >
v8::internal::ParserBase< Impl >::FunctionState::FunctionState ( FunctionState ** function_state_stack,
Scope ** scope_stack,
DeclarationScope * scope )

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

◆ ~FunctionState()

template<typename Impl >
v8::internal::ParserBase< Impl >::FunctionState::~FunctionState ( )

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

Member Function Documentation

◆ AddProperty()

template<typename Impl >
void v8::internal::ParserBase< Impl >::FunctionState::AddProperty ( )
inline

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

Here is the caller graph for this function:

◆ AddSuspend()

template<typename Impl >
void v8::internal::ParserBase< Impl >::FunctionState::AddSuspend ( )
inline

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

Here is the caller graph for this function:

◆ CanSuspend()

template<typename Impl >
bool v8::internal::ParserBase< Impl >::FunctionState::CanSuspend ( ) const
inline

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

◆ contains_function_or_eval()

template<typename Impl >
bool v8::internal::ParserBase< Impl >::FunctionState::contains_function_or_eval ( ) const
inline

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

Here is the caller graph for this function:

◆ DisableOptimization()

template<typename Impl >
void v8::internal::ParserBase< Impl >::FunctionState::DisableOptimization ( BailoutReason reason)
inline

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

Here is the caller graph for this function:

◆ dont_optimize_reason()

template<typename Impl >
BailoutReason v8::internal::ParserBase< Impl >::FunctionState::dont_optimize_reason ( )
inline

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

◆ expected_property_count()

template<typename Impl >
int v8::internal::ParserBase< Impl >::FunctionState::expected_property_count ( )
inline

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

Here is the caller graph for this function:

◆ kind()

template<typename Impl >
FunctionKind v8::internal::ParserBase< Impl >::FunctionState::kind ( ) const
inline

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

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

◆ loop_nesting_depth()

template<typename Impl >
int v8::internal::ParserBase< Impl >::FunctionState::loop_nesting_depth ( ) const
inline

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

Here is the caller graph for this function:

◆ next_function_is_likely_called()

template<typename Impl >
bool v8::internal::ParserBase< Impl >::FunctionState::next_function_is_likely_called ( ) const
inline

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

◆ previous_function_was_likely_called()

template<typename Impl >
bool v8::internal::ParserBase< Impl >::FunctionState::previous_function_was_likely_called ( ) const
inline

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

Here is the caller graph for this function:

◆ RecordFunctionOrEvalCall()

template<typename Impl >
void v8::internal::ParserBase< Impl >::FunctionState::RecordFunctionOrEvalCall ( )
inline

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

Here is the caller graph for this function:

◆ scope()

template<typename Impl >
DeclarationScope * v8::internal::ParserBase< Impl >::FunctionState::scope ( ) const
inline

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

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

◆ set_next_function_is_likely_called()

template<typename Impl >
void v8::internal::ParserBase< Impl >::FunctionState::set_next_function_is_likely_called ( )
inline

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

Here is the caller graph for this function:

◆ suspend_count()

template<typename Impl >
int v8::internal::ParserBase< Impl >::FunctionState::suspend_count ( ) const
inline

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

Here is the caller graph for this function:

◆ target_stack_address()

template<typename Impl >
Target ** v8::internal::ParserBase< Impl >::FunctionState::target_stack_address ( )
inline

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

Here is the caller graph for this function:

Member Data Documentation

◆ contains_function_or_eval_

template<typename Impl >
bool v8::internal::ParserBase< Impl >::FunctionState::contains_function_or_eval_
private

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

◆ dont_optimize_reason_

template<typename Impl >
BailoutReason v8::internal::ParserBase< Impl >::FunctionState::dont_optimize_reason_
private

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

◆ expected_property_count_

template<typename Impl >
int v8::internal::ParserBase< Impl >::FunctionState::expected_property_count_
private

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

◆ function_state_stack_

template<typename Impl >
FunctionState** v8::internal::ParserBase< Impl >::FunctionState::function_state_stack_
private

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

◆ Impl

template<typename Impl >
friend v8::internal::ParserBase< Impl >::FunctionState::Impl
private

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

◆ loop_nesting_depth_

template<typename Impl >
int v8::internal::ParserBase< Impl >::FunctionState::loop_nesting_depth_ = 0
private

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

◆ next_function_is_likely_called_

template<typename Impl >
bool v8::internal::ParserBase< Impl >::FunctionState::next_function_is_likely_called_
private

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

◆ outer_function_state_

template<typename Impl >
FunctionState* v8::internal::ParserBase< Impl >::FunctionState::outer_function_state_
private

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

◆ previous_function_was_likely_called_

template<typename Impl >
bool v8::internal::ParserBase< Impl >::FunctionState::previous_function_was_likely_called_
private

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

◆ scope_

template<typename Impl >
DeclarationScope* v8::internal::ParserBase< Impl >::FunctionState::scope_
private

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

◆ suspend_count_

template<typename Impl >
int v8::internal::ParserBase< Impl >::FunctionState::suspend_count_
private

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

◆ target_stack_

template<typename Impl >
Target* v8::internal::ParserBase< Impl >::FunctionState::target_stack_ = nullptr
private

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


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