GDB (xrefs)
Loading...
Searching...
No Matches
gdbarch_types.Component Class Reference
Inheritance diagram for gdbarch_types.Component:
gdbarch_types.Function gdbarch_types.Info gdbarch_types.Value gdbarch_types.Method

Public Member Functions

 __init__ (self, str name, str type, Optional[str] printer=None, Optional[str] comment=None, bool predicate=False, Optional[str] predefault=None, Optional[str] postdefault=None, Union[bool, str] invalid=True, Optional[List[Tuple[str, str]]] params=None, Optional[List[str]] param_checks=None, Optional[List[str]] result_checks=None, bool implement=True)
 
 get_predicate (self)
 

Public Attributes

 name = name
 
str type = type
 
 printer = printer
 
 comment = comment
 
 predicate = predicate
 
 predefault = predefault
 
 postdefault = postdefault
 
 invalid = invalid
 
 params = params or []
 
 param_checks = param_checks
 
 result_checks = result_checks
 
 implement = implement
 
str predefault = f"gdbarch->{self.name} != {self.predefault}"
 

Detailed Description

Definition at line 37 of file gdbarch_types.py.

Constructor & Destructor Documentation

◆ __init__()

gdbarch_types.Component.__init__ ( self,
str name,
str type,
Optional[str] printer = None,
Optional[str] comment = None,
bool predicate = False,
Optional[str] predefault = None,
Optional[str] postdefault = None,
Union[bool, str] invalid = True,
Optional[List[Tuple[str, str]]] params = None,
Optional[List[str]] param_checks = None,
Optional[List[str]] result_checks = None,
bool implement = True )

Reimplemented in gdbarch_types.Function, and gdbarch_types.Value.

Definition at line 40 of file gdbarch_types.py.

Member Function Documentation

◆ get_predicate()

gdbarch_types.Component.get_predicate ( self)

Definition at line 75 of file gdbarch_types.py.

Member Data Documentation

◆ comment

gdbarch_types.Component.comment = comment

Definition at line 58 of file gdbarch_types.py.

◆ implement

gdbarch_types.Component.implement = implement

Definition at line 66 of file gdbarch_types.py.

◆ invalid

gdbarch_types.Component.invalid = invalid

Definition at line 62 of file gdbarch_types.py.

◆ name

◆ param_checks

gdbarch_types.Component.param_checks = param_checks

Definition at line 64 of file gdbarch_types.py.

◆ params

gdbarch_types.Component.params = params or []

◆ postdefault

gdbarch_types.Component.postdefault = postdefault

Definition at line 61 of file gdbarch_types.py.

◆ predefault [1/2]

gdbarch_types.Component.predefault = predefault

Definition at line 60 of file gdbarch_types.py.

◆ predefault [2/2]

str gdbarch_types.Component.predefault = f"gdbarch->{self.name} != {self.predefault}"

Definition at line 77 of file gdbarch_types.py.

◆ predicate

gdbarch_types.Component.predicate = predicate

Definition at line 59 of file gdbarch_types.py.

◆ printer

◆ result_checks

gdbarch_types.Component.result_checks = result_checks

Definition at line 65 of file gdbarch_types.py.

◆ type

str gdbarch_types.Component.type = type

Definition at line 56 of file gdbarch_types.py.


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