Classes | |
class | Members |
Public Member Functions | |
def | __init__ (self, Union[Template, None] template, str is_virtual, str name, list parent_class, List[Constructor] ctors, List[Method] methods, List[StaticMethod] static_methods, List[DunderMethod] dunder_methods, List[Variable] properties, List[Operator] operators, List[Enum] enums, Any parent='') |
def | __repr__ (self) |
list | namespaces (self) |
Public Attributes | |
ctors | |
dunder_methods | |
enums | |
is_virtual | |
methods | |
name | |
operators | |
parent | |
parent_class | |
properties | |
static_methods | |
template | |
Static Public Attributes | |
tuple | rule |
Static Private Attributes | |
_parent | |
Rule to parse a class defined in the interface file. E.g. ``` class Hello { ... }; ```
Definition at line 236 of file interface_parser/classes.py.
def gtwrap.interface_parser.classes.Class.__init__ | ( | self, | |
Union[Template, None] | template, | ||
str | is_virtual, | ||
str | name, | ||
list | parent_class, | ||
List[Constructor] | ctors, | ||
List[Method] | methods, | ||
List[StaticMethod] | static_methods, | ||
List[DunderMethod] | dunder_methods, | ||
List[Variable] | properties, | ||
List[Operator] | operators, | ||
List[Enum] | enums, | ||
Any | parent = '' |
||
) |
Definition at line 303 of file interface_parser/classes.py.
def gtwrap.interface_parser.classes.Class.__repr__ | ( | self | ) |
Definition at line 366 of file interface_parser/classes.py.
list gtwrap.interface_parser.classes.Class.namespaces | ( | self | ) |
Get the namespaces which this class is nested under as a list.
Definition at line 362 of file interface_parser/classes.py.
|
staticprivate |
Definition at line 287 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.ctors |
Definition at line 321 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.dunder_methods |
Definition at line 324 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.enums |
Definition at line 327 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.is_virtual |
Definition at line 305 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.methods |
Definition at line 322 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.name |
Definition at line 306 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.operators |
Definition at line 326 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.parent |
Definition at line 329 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.parent_class |
Definition at line 317 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.properties |
Definition at line 325 of file interface_parser/classes.py.
|
static |
Definition at line 288 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.static_methods |
Definition at line 323 of file interface_parser/classes.py.
gtwrap.interface_parser.classes.Class.template |
Definition at line 304 of file interface_parser/classes.py.