![]() |
mutable
A Database System for Research and Fast Prototyping
|
Helper class to create a context when one is required but does not yet exist. More...
Public Member Functions | |
RequireContext (Sema *sema, Stmt &stmt) | |
~RequireContext () | |
Private Attributes | |
Sema & | sema_ |
bool | needs_context_ = false |
Helper class to create a context when one is required but does not yet exist.
Automatically disposes of the context when the instance goes out of scope.
|
inline |
Definition at line 90 of file Sema.hpp.
References m::ast::Sema::pop_context().
|
private |