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

#include <kernel_translation_helper.h>

Public Member Functions

 ActiveMemberScope (ActiveClass *active_class, const Function *member)
 
 ~ActiveMemberScope ()
 

Detailed Description

Definition at line 1476 of file kernel_translation_helper.h.

Constructor & Destructor Documentation

◆ ActiveMemberScope()

dart::kernel::ActiveMemberScope::ActiveMemberScope ( ActiveClass active_class,
const Function member 
)
inline

Definition at line 1478 of file kernel_translation_helper.h.

1479 : active_class_(active_class), saved_(*active_class) {
1480 // The class is inherited.
1481 active_class_->member = member;
1482 }

◆ ~ActiveMemberScope()

dart::kernel::ActiveMemberScope::~ActiveMemberScope ( )
inline

Definition at line 1484 of file kernel_translation_helper.h.

1484{ *active_class_ = saved_; }

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