Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::ApiLocalScope Class Reference

#include <dart_api_state.h>

Public Member Functions

 ApiLocalScope (ApiLocalScope *previous, uword stack_marker)
 
 ~ApiLocalScope ()
 
void Reinit (Thread *thread, ApiLocalScope *previous, uword stack_marker)
 
void Reset (Thread *thread)
 
ApiLocalScopeprevious () const
 
uword stack_marker () const
 
void set_previous (ApiLocalScope *value)
 
LocalHandleslocal_handles ()
 
Zonezone ()
 

Detailed Description

Definition at line 607 of file dart_api_state.h.

Constructor & Destructor Documentation

◆ ApiLocalScope()

dart::ApiLocalScope::ApiLocalScope ( ApiLocalScope previous,
uword  stack_marker 
)
inline

Definition at line 609 of file dart_api_state.h.

610 : previous_(previous), stack_marker_(stack_marker) {}
uword stack_marker() const
ApiLocalScope * previous() const

◆ ~ApiLocalScope()

dart::ApiLocalScope::~ApiLocalScope ( )
inline

Definition at line 611 of file dart_api_state.h.

611{ previous_ = nullptr; }

Member Function Documentation

◆ local_handles()

LocalHandles * dart::ApiLocalScope::local_handles ( )
inline

Definition at line 632 of file dart_api_state.h.

632{ return &local_handles_; }

◆ previous()

ApiLocalScope * dart::ApiLocalScope::previous ( ) const
inline

Definition at line 629 of file dart_api_state.h.

629{ return previous_; }

◆ Reinit()

void dart::ApiLocalScope::Reinit ( Thread thread,
ApiLocalScope previous,
uword  stack_marker 
)
inline

Definition at line 614 of file dart_api_state.h.

614 {
615 previous_ = previous;
616 stack_marker_ = stack_marker;
617 zone_.Reinit(thread);
618 }
void Reinit(Thread *thread)

◆ Reset()

void dart::ApiLocalScope::Reset ( Thread thread)
inline

Definition at line 621 of file dart_api_state.h.

621 {
622 local_handles_.Reset();
623 zone_.Reset(thread);
624 previous_ = nullptr;
625 stack_marker_ = 0;
626 }
void Reset(Thread *thread)

◆ set_previous()

void dart::ApiLocalScope::set_previous ( ApiLocalScope value)
inline

Definition at line 631 of file dart_api_state.h.

631{ previous_ = value; }
uint8_t value

◆ stack_marker()

uword dart::ApiLocalScope::stack_marker ( ) const
inline

Definition at line 630 of file dart_api_state.h.

630{ return stack_marker_; }

◆ zone()

Zone * dart::ApiLocalScope::zone ( )
inline

Definition at line 633 of file dart_api_state.h.

633{ return zone_.GetZone(); }
Zone * GetZone()

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