GCC Middle and Back End API Reference
gdbhooks.Tree Class Reference

Public Member Functions

 __init__ (self, gdbval)
 
 is_nonnull (self)
 
 TREE_CODE (self)
 
 DECL_NAME (self)
 
 TYPE_NAME (self)
 
 IDENTIFIER_POINTER (self)
 

Data Fields

 gdbval = gdbval
 

Detailed Description

Wrapper around a gdb.Value for a tree, with various methods
corresponding to macros in gcc/tree.h

Constructor & Destructor Documentation

◆ __init__()

gdbhooks.Tree.__init__ ( self,
gdbval )

Member Function Documentation

◆ DECL_NAME()

gdbhooks.Tree.DECL_NAME ( self)
Get Tree instance corresponding to DECL_NAME (self)

References gdbval.

◆ IDENTIFIER_POINTER()

gdbhooks.Tree.IDENTIFIER_POINTER ( self)
Get str correspoinding to result of IDENTIFIER_NODE (self)

References gdbval.

◆ is_nonnull()

gdbhooks.Tree.is_nonnull ( self)

References gdbval, and gdbhooks.intptr().

◆ TREE_CODE()

gdbhooks.Tree.TREE_CODE ( self)
Get gdb.Value corresponding to TREE_CODE (self)
as per:
  #define TREE_CODE(NODE) ((enum tree_code) (NODE)->base.code)

References gdbval.

◆ TYPE_NAME()

gdbhooks.Tree.TYPE_NAME ( self)
Get Tree instance corresponding to result of TYPE_NAME (self)

References gdbval.

Field Documentation

◆ gdbval


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