P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
ControlFlowVisitor::GuardGlobal Class Reference

RAII class to ensure global key is only used in one place. More...

#include <visitor.h>

Public Member Functions

 GuardGlobal (Visitor &self, cstring key)
 

Detailed Description

RAII class to ensure global key is only used in one place.