decompiler  1.0.0
Public Member Functions | Public Attributes | List of all members
ghidra::FieldQuality Struct Reference

Qualities associated (via parsing) with a token or context field. More...

#include <slgh_compile.hh>

Public Member Functions

 FieldQuality (string *nm, uintb *l, uintb *h)
 Constructor. More...
 

Public Attributes

string name
 Name of the field.
 
uint4 low
 The least significant bit of the field within the token.
 
uint4 high
 The most significant bit of the field within the token.
 
bool signext
 true if the field's value is signed
 
bool flow
 true if the context flows for this field.
 
bool hex
 true if the field value is displayed in hex
 

Detailed Description

Qualities associated (via parsing) with a token or context field.

An object of this class accumulates properties of a field as they are parsed in of a define token block prior to formally allocating the TokenField or FieldContext object.

Constructor & Destructor Documentation

◆ FieldQuality()

ghidra::FieldQuality::FieldQuality ( string *  nm,
uintb *  l,
uintb *  h 
)

Constructor.

Establish default qualities for the field, which can then be overridden by further parsing. A name and bit range must always be explicitly given.

Parameters
nmis the parsed name for the field
lis the parsed lower bound of the bit range
his the parse upper bound of the bit range

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