Ghidra 11.3.2
Ghidra internal decompiler documentation.
|
Set of print commands for displaying an open brace '{' and setting a new indent level. More...
#include <printc.hh>
Public Member Functions | |
PendingBrace (Emit::brace_style s) | |
Constructor. | |
int4 | getIndentId (void) const |
If commands have been issued, returns the new indent level id. | |
virtual void | callback (Emit *emit) |
Callback that executes the actual print commands. | |
![]() | |
virtual | ~PendPrint (void) |
Destructor. | |
Private Attributes | |
int4 | indentId |
Id associated with the new indent level. | |
Emit::brace_style | style |
Style to use for pending brace. | |
Set of print commands for displaying an open brace '{' and setting a new indent level.
These are the print commands sent to the emitter prior to printing and else block. The open brace can be canceled if the block decides it wants to use "else if" syntax.
|
virtual |
Callback that executes the actual print commands.
Implements ghidra::PendPrint.
References indentId, ghidra::PrintC::OPEN_CURLY, ghidra::Emit::openBraceIndent(), and style.