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

#include <kernel_translation_helper.h>

Public Member Functions

 ActiveClassScope (ActiveClass *active_class, const Class *klass)
 
 ~ActiveClassScope ()
 

Detailed Description

Definition at line 1460 of file kernel_translation_helper.h.

Constructor & Destructor Documentation

◆ ActiveClassScope()

dart::kernel::ActiveClassScope::ActiveClassScope ( ActiveClass active_class,
const Class klass 
)
inline

Definition at line 1462 of file kernel_translation_helper.h.

1463 : active_class_(active_class), saved_(*active_class) {
1464 active_class_->klass = klass;
1465 }

◆ ~ActiveClassScope()

dart::kernel::ActiveClassScope::~ActiveClassScope ( )
inline

Definition at line 1467 of file kernel_translation_helper.h.

1467{ *active_class_ = saved_; }

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