ROSE 0.11.145.147
Public Types | Public Attributes | List of all members
Rose::BinaryAnalysis::SymbolicExpression::Formatter Class Reference

Description

Controls formatting of expression trees when printing.

Definition at line 160 of file SymbolicExpression.h.

#include <Rose/BinaryAnalysis/SymbolicExpression.h>

Collaboration diagram for Rose::BinaryAnalysis::SymbolicExpression::Formatter:
Collaboration graph
[legend]

Public Types

enum  ShowComments {
  CMT_SILENT ,
  CMT_AFTER ,
  CMT_INSTEAD ,
  CMT_BEFORE
}
 

Public Attributes

ShowComments show_comments
 Show node comments when printing?
 
bool do_rename
 Use the renames map to rename variables to shorter names?
 
bool add_renames
 Add additional entries to the renames as variables are encountered?
 
bool use_hexadecimal
 Show values in hexadecimal and decimal rather than just decimal.
 
size_t max_depth
 If non-zero, then replace deep parts of expressions with "...".
 
size_t cur_depth
 Depth in expression.
 
RenameMap renames
 Map for renaming variables to use smaller integers.
 
bool show_type
 Show data type inside square brackets.
 
bool show_flags
 Show user-defined flags inside square brackets.
 

Member Enumeration Documentation

◆ ShowComments

Enumerator
CMT_SILENT 

Do not show comments.

CMT_AFTER 

Show comments after the node.

CMT_INSTEAD 

Like CMT_AFTER, but show comments instead of variable names.

CMT_BEFORE 

Like CMT_INSTEAD, but show the name as a comment.

Definition at line 162 of file SymbolicExpression.h.

Constructor & Destructor Documentation

◆ Formatter()

Rose::BinaryAnalysis::SymbolicExpression::Formatter::Formatter ( )
inline

Definition at line 168 of file SymbolicExpression.h.

Member Data Documentation

◆ show_comments

ShowComments Rose::BinaryAnalysis::SymbolicExpression::Formatter::show_comments

Show node comments when printing?

Definition at line 171 of file SymbolicExpression.h.

◆ do_rename

bool Rose::BinaryAnalysis::SymbolicExpression::Formatter::do_rename

Use the renames map to rename variables to shorter names?

Definition at line 172 of file SymbolicExpression.h.

◆ add_renames

bool Rose::BinaryAnalysis::SymbolicExpression::Formatter::add_renames

Add additional entries to the renames as variables are encountered?

Definition at line 173 of file SymbolicExpression.h.

◆ use_hexadecimal

bool Rose::BinaryAnalysis::SymbolicExpression::Formatter::use_hexadecimal

Show values in hexadecimal and decimal rather than just decimal.

Definition at line 174 of file SymbolicExpression.h.

◆ max_depth

size_t Rose::BinaryAnalysis::SymbolicExpression::Formatter::max_depth

If non-zero, then replace deep parts of expressions with "...".

Definition at line 175 of file SymbolicExpression.h.

◆ cur_depth

size_t Rose::BinaryAnalysis::SymbolicExpression::Formatter::cur_depth

Depth in expression.

Definition at line 176 of file SymbolicExpression.h.

◆ renames

RenameMap Rose::BinaryAnalysis::SymbolicExpression::Formatter::renames

Map for renaming variables to use smaller integers.

Definition at line 177 of file SymbolicExpression.h.

◆ show_type

bool Rose::BinaryAnalysis::SymbolicExpression::Formatter::show_type

Show data type inside square brackets.

Definition at line 178 of file SymbolicExpression.h.

◆ show_flags

bool Rose::BinaryAnalysis::SymbolicExpression::Formatter::show_flags

Show user-defined flags inside square brackets.

Definition at line 179 of file SymbolicExpression.h.


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