VapourSynth-llvmexpr
Loading...
Searching...
No Matches
infix2postfix::SemanticAnalyzer::ScopeGuard Class Reference

#include <llvmexpr/frontend/infix2postfix/SemanticAnalyzer.hpp>

Public Member Functions

 ScopeGuard (SemanticAnalyzer *analyzer)
 ~ScopeGuard ()
 ScopeGuard (const ScopeGuard &)=delete
ScopeGuardoperator= (const ScopeGuard &)=delete
 ScopeGuard (ScopeGuard &&)=delete
ScopeGuardoperator= (ScopeGuard &&)=delete

Detailed Description

Definition at line 41 of file SemanticAnalyzer.hpp.

Constructor & Destructor Documentation

◆ ScopeGuard() [1/3]

infix2postfix::SemanticAnalyzer::ScopeGuard::ScopeGuard ( SemanticAnalyzer * analyzer)
inlineexplicit

Definition at line 43 of file SemanticAnalyzer.hpp.

43 : analyzer(analyzer) {
44 analyzer->enterScope();
45 }

References infix2postfix::SemanticAnalyzer::SemanticAnalyzer().

Referenced by operator=(), operator=(), ScopeGuard(), and ScopeGuard().

◆ ~ScopeGuard()

infix2postfix::SemanticAnalyzer::ScopeGuard::~ScopeGuard ( )
inline

Definition at line 46 of file SemanticAnalyzer.hpp.

46{ analyzer->exitScope(); }

◆ ScopeGuard() [2/3]

infix2postfix::SemanticAnalyzer::ScopeGuard::ScopeGuard ( const ScopeGuard & )
delete

References ScopeGuard().

◆ ScopeGuard() [3/3]

infix2postfix::SemanticAnalyzer::ScopeGuard::ScopeGuard ( ScopeGuard && )
delete

References ScopeGuard().

Member Function Documentation

◆ operator=() [1/2]

ScopeGuard & infix2postfix::SemanticAnalyzer::ScopeGuard::operator= ( const ScopeGuard & )
delete

References ScopeGuard().

◆ operator=() [2/2]

ScopeGuard & infix2postfix::SemanticAnalyzer::ScopeGuard::operator= ( ScopeGuard && )
delete

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