ROSE  0.9.9.109
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 121 of file BinarySymbolicExpr.h.

#include <BinarySymbolicExpr.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_width
 Show width in bits 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 122 of file BinarySymbolicExpr.h.

Member Data Documentation

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

Show values in hexadecimal and decimal rather than just decimal.

Definition at line 133 of file BinarySymbolicExpr.h.

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

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

Definition at line 134 of file BinarySymbolicExpr.h.

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

Depth in expression.

Definition at line 135 of file BinarySymbolicExpr.h.

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

Map for renaming variables to use smaller integers.

Definition at line 136 of file BinarySymbolicExpr.h.

bool Rose::BinaryAnalysis::SymbolicExpr::Formatter::show_width

Show width in bits inside square brackets.

Definition at line 137 of file BinarySymbolicExpr.h.

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

Show user-defined flags inside square brackets.

Definition at line 138 of file BinarySymbolicExpr.h.


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