NewLang Project
Yet another programm language
Loading...
Searching...
No Matches
newlang::ScopePush Class Reference

#include <term.h>

Public Member Functions

 ScopePush (NameLookupStack &scope, TermPtr ns, bool is_function=false)
 
 ~ScopePush ()
 

Public Attributes

NameLookupStackm_scope
 

Detailed Description

Вспомогательный класс для автоматического выхода из текущей области видимости

Definition at line 1466 of file term.h.

Constructor & Destructor Documentation

◆ ScopePush()

newlang::ScopePush::ScopePush ( NameLookupStack & scope,
TermPtr ns,
bool is_function = false )
inline

Definition at line 1470 of file term.h.

References newlang::NameLookupStack::PushScope().

◆ ~ScopePush()

newlang::ScopePush::~ScopePush ( )
inline

Definition at line 1474 of file term.h.

References newlang::NameLookupStack::PopScope().

Member Data Documentation

◆ m_scope

NameLookupStack& newlang::ScopePush::m_scope

Definition at line 1468 of file term.h.


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