ROSE 0.11.145.147
|
Pushes a style and arranges for it to be popped later.
Definition at line 144 of file Unparser/Base.h.
#include <Rose/BinaryAnalysis/Unparser/Base.h>
Public Member Functions | |
StyleGuard (StyleStack &stack, const Style &style) | |
Push style onto stack. | |
StyleGuard (StyleStack &stack, const Style &first, const Style &second) | |
std::string | render () const |
Render style entry. | |
std::string | restore () const |
Render style exit. | |
const Style & | current () const |
Current merged style. | |
const Style & | previous () const |
Style before pushing. | |
|
inline |
Push style onto stack.
The destructor will pop the stack back to its current size, removing the pushed style along with everything that was pushed after it.
Definition at line 154 of file Unparser/Base.h.
References Rose::BinaryAnalysis::Unparser::StyleStack::current(), and Rose::BinaryAnalysis::Unparser::StyleStack::push().
|
inline |
Definition at line 161 of file Unparser/Base.h.
|
inline |
Definition at line 169 of file Unparser/Base.h.
|
inline |
Current merged style.
Definition at line 180 of file Unparser/Base.h.
|
inline |
Style before pushing.
Definition at line 185 of file Unparser/Base.h.