GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
gdb.dap.scopes._RegisterReference Class Reference
Inheritance diagram for gdb.dap.scopes._RegisterReference:
gdb.dap.scopes._ScopeReference gdb.dap.scopes._ScopeReference gdb.dap.varref.BaseReference gdb.dap.varref.BaseReference gdb.dap.varref.BaseReference gdb.dap.varref.BaseReference

Public Member Functions

 __init__ (self, name, frame)
 
 fetch_one_child (self, idx)
 
 __init__ (self, name, frame)
 
 fetch_one_child (self, idx)
 
- Public Member Functions inherited from gdb.dap.scopes._ScopeReference
 to_object (self)
 
 has_children (self)
 
 child_count (self)
 
 to_object (self)
 
 has_children (self)
 
 child_count (self)
 
- Public Member Functions inherited from gdb.dap.varref.BaseReference
 reset_children (self)
 
 fetch_children (self, start, count)
 
 find_child_by_name (self, name)
 
 reset_children (self)
 
 fetch_children (self, start, count)
 
 find_child_by_name (self, name)
 

Additional Inherited Members

- Public Attributes inherited from gdb.dap.scopes._ScopeReference
 hint
 
 frame
 
 inf_frame
 
 func
 
 line
 
 var_list
 
- Public Attributes inherited from gdb.dap.varref.BaseReference
 ref
 
 name
 
 children
 
 by_name
 
 name_counts
 
- Protected Member Functions inherited from gdb.dap.varref.BaseReference
 _compute_name (self, name)
 
 _compute_name (self, name)
 

Detailed Description

Definition at line 96 of file scopes.py.

Constructor & Destructor Documentation

◆ __init__() [1/2]

gdb.dap.scopes._RegisterReference.__init__ ( self,
name,
hint )
Create a new variable reference with the given name.

NAME is a string or None.  None means this does not have a
name, e.g., the result of expression evaluation.

Reimplemented from gdb.dap.scopes._ScopeReference.

Definition at line 97 of file scopes.py.

References gdb.dap.scopes._RegisterReference.__init__().

Referenced by gdb.dap.scopes._RegisterReference.__init__().

◆ __init__() [2/2]

gdb.dap.scopes._RegisterReference.__init__ ( self,
name,
hint )
Create a new variable reference with the given name.

NAME is a string or None.  None means this does not have a
name, e.g., the result of expression evaluation.

Reimplemented from gdb.dap.scopes._ScopeReference.

Definition at line 97 of file scopes.py.

References gdb.dap.scopes._RegisterReference.__init__().

Member Function Documentation

◆ fetch_one_child() [1/2]

gdb.dap.scopes._RegisterReference.fetch_one_child ( self,
index )
Fetch one child of this variable.

INDEX is the index of the child to fetch.
This should return a tuple of the form (NAME, VALUE), where
NAME is the name of the variable, and VALUE is a gdb.Value.

Reimplemented from gdb.dap.scopes._ScopeReference.

Definition at line 103 of file scopes.py.

References gdb.dap.scopes._get_scope(), gdb.dap.scopes._ScopeReference.inf_frame, and gdb.dap.scopes._ScopeReference.var_list.

Referenced by gdb.dap.varref.BaseReference.fetch_children().

◆ fetch_one_child() [2/2]

gdb.dap.scopes._RegisterReference.fetch_one_child ( self,
index )
Fetch one child of this variable.

INDEX is the index of the child to fetch.
This should return a tuple of the form (NAME, VALUE), where
NAME is the name of the variable, and VALUE is a gdb.Value.

Reimplemented from gdb.dap.scopes._ScopeReference.

Definition at line 103 of file scopes.py.

References gdb.dap.scopes._ScopeReference.inf_frame, and gdb.dap.scopes._ScopeReference.var_list.

Referenced by gdb.dap.varref.BaseReference.fetch_children().


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