Current File : //proc/self/root/kunden/usr/share/gdb/python/gdb/__pycache__/xmethod.cpython-39.opt-1.pyc |
a
ɱZh�* � @ sr d Z ddlZddlZG dd� de�ZG dd� de�ZG dd� de�ZG d d
� d
e�Zdd� Zd
d� Z ddd�Z
dS )zUtilities for defining xmethods� Nc @ s e Zd ZdZdd� ZdS )�XMethoda� Base class (or a template) for an xmethod description.
Currently, the description requires only the 'name' and 'enabled'
attributes. Description objects are managed by 'XMethodMatcher'
objects (see below). Note that this is only a template for the
interface of the XMethodMatcher.methods objects. One could use
this class or choose to use an object which supports this exact same
interface. Also, an XMethodMatcher can choose not use it 'methods'
attribute. In such cases this class (or an equivalent) is not used.
Attributes:
name: The name of the xmethod.
enabled: A boolean indicating if the xmethod is enabled.
c C s || _ d| _d S )NT)�name�enabled��selfr � r �$/usr/share/gdb/python/gdb/xmethod.py�__init__'