ROSE  0.11.98.0
Public Types | Public Attributes | List of all members
Rose::BinaryAnalysis::SymbolicExpr::Formatter Struct Reference

Description

Controls formatting of expression trees when printing.

Definition at line 163 of file SymbolicExpr.h.

#include <Rose/BinaryAnalysis/SymbolicExpr.h>

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

Public Types

enum  ShowComments {
  CMT_SILENT,
  CMT_AFTER,
  CMT_INSTEAD
}
 

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. More...
 
size_t max_depth
 If non-zero, then replace deep parts of expressions with "...". More...
 
size_t cur_depth
 Depth in expression. More...
 
RenameMap renames
 Map for renaming variables to use smaller integers. More...
 
bool show_type
 Show data type inside square brackets. More...
 
bool show_flags
 Show user-defined flags inside square brackets. More...
 

Member Enumeration Documentation

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.

Definition at line 164 of file SymbolicExpr.h.

Member Data Documentation

bool Rose::BinaryAnalysis::SymbolicExpr::Formatter::use_hexadecimal

Show values in hexadecimal and decimal rather than just decimal.

Definition at line 175 of file SymbolicExpr.h.

size_t Rose::BinaryAnalysis::SymbolicExpr::Formatter::max_depth

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

Definition at line 176 of file SymbolicExpr.h.

size_t Rose::BinaryAnalysis::SymbolicExpr::Formatter::cur_depth

Depth in expression.

Definition at line 177 of file SymbolicExpr.h.

RenameMap Rose::BinaryAnalysis::SymbolicExpr::Formatter::renames

Map for renaming variables to use smaller integers.

Definition at line 178 of file SymbolicExpr.h.

bool Rose::BinaryAnalysis::SymbolicExpr::Formatter::show_type

Show data type inside square brackets.

Definition at line 179 of file SymbolicExpr.h.

bool Rose::BinaryAnalysis::SymbolicExpr::Formatter::show_flags

Show user-defined flags inside square brackets.

Definition at line 180 of file SymbolicExpr.h.


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