ROSE 0.11.145.192
|
Pushes a style and arranges for it to be popped later.
Definition at line 145 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 155 of file Unparser/Base.h.
References Rose::BinaryAnalysis::Unparser::StyleStack::current(), and Rose::BinaryAnalysis::Unparser::StyleStack::push().
|
inline |
Definition at line 162 of file Unparser/Base.h.
|
inline |
Definition at line 170 of file Unparser/Base.h.
|
inline |
Current merged style.
Definition at line 181 of file Unparser/Base.h.
|
inline |
Style before pushing.
Definition at line 186 of file Unparser/Base.h.