decompiler  1.0.0
Public Member Functions | Private Attributes | List of all members
ghidra::PendingBrace Class Reference

Set of print commands for displaying an open brace '{' and setting a new indent level. More...

#include <printc.hh>

Inheritance diagram for ghidra::PendingBrace:
ghidra::PendPrint

Public Member Functions

 PendingBrace (void)
 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.
 
- Public Member Functions inherited from ghidra::PendPrint
virtual ~PendPrint (void)
 Destructor.
 

Private Attributes

int4 indentId
 Id associated with the new indent level.
 

Detailed Description

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.


The documentation for this class was generated from the following files: