P4C
The P4 Compiler
 
Loading...
Searching...
No Matches
AutoCompileContext Struct Reference

Public Member Functions

 AutoCompileContext (ICompileContext *context)
 

Detailed Description

A RAII helper which pushes a compilation context onto the stack when it's created and pops it off when it's destroyed. To ensure the compilation stack is always nested correctly, this is the only interface for pushing or popping compilation contexts.