Rule to parse forward declarations in the interface file.
Definition at line 36 of file interface_parser/declaration.py.
◆ __init__()
def gtwrap.interface_parser.declaration.ForwardDeclaration.__init__ |
( |
|
self, |
|
|
Typename |
typename, |
|
|
str |
parent_type, |
|
|
str |
is_virtual, |
|
|
str |
parent = '' |
|
) |
| |
◆ __repr__()
str gtwrap.interface_parser.declaration.ForwardDeclaration.__repr__ |
( |
|
self | ) |
|
◆ namespaces()
list gtwrap.interface_parser.declaration.ForwardDeclaration.namespaces |
( |
|
self | ) |
|
◆ is_virtual
gtwrap.interface_parser.declaration.ForwardDeclaration.is_virtual |
◆ name
gtwrap.interface_parser.declaration.ForwardDeclaration.name |
◆ parent
gtwrap.interface_parser.declaration.ForwardDeclaration.parent |
◆ parent_type
gtwrap.interface_parser.declaration.ForwardDeclaration.parent_type |
◆ rule
tuple gtwrap.interface_parser.declaration.ForwardDeclaration.rule |
|
static |
Initial value:
Optional(COLON + Typename.rule(
"parent_type")) +
SEMI_COLON).setParseAction(lambda t: ForwardDeclaration(
t.name, t.parent_type, t.is_virtual))
Definition at line 40 of file interface_parser/declaration.py.
◆ typename
gtwrap.interface_parser.declaration.ForwardDeclaration.typename |
The documentation for this class was generated from the following file: