GCC Middle and Back End API Reference
gdbhooks.GdbSubprinterRegex Class Reference
Inheritance diagram for gdbhooks.GdbSubprinterRegex:
Collaboration diagram for gdbhooks.GdbSubprinterRegex:

Public Member Functions

 __init__ (self, regex, name, class_)
 
 handles_type (self, str_type)
 

Data Fields

 regex = re.compile(regex)
 
 class_ = class_
 

Detailed Description

A GdbSubprinter that handles types that match a regex

Constructor & Destructor Documentation

◆ __init__()

gdbhooks.GdbSubprinterRegex.__init__ ( self,
regex,
name,
class_ )

References __init__().

Referenced by __init__().

Member Function Documentation

◆ handles_type()

gdbhooks.GdbSubprinterRegex.handles_type ( self,
str_type )

Reimplemented from gdbhooks.GdbSubprinter.

References fnfilter.regex, and regex.

Field Documentation

◆ class_

gdbhooks.GdbSubprinter.class_ = class_
inherited

◆ regex

gdbhooks.GdbSubprinterRegex.regex = re.compile(regex)

Referenced by handles_type().


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