Public Member Functions | |
def | __init__ (self, Typename typename, str is_const, str is_shared_ptr, str is_ptr, str is_ref, bool is_basic) |
str | __repr__ (self) |
def | get_typename (self) |
str | to_cpp (self) |
Static Public Member Functions | |
def | from_parse_result (ParseResults t) |
Public Attributes | |
is_basic | |
is_const | |
is_ptr | |
is_ref | |
is_shared_ptr | |
typename | |
Static Public Attributes | |
rule | |
Parsed datatype, can be either a fundamental/basic type or a custom datatype. E.g. void, double, size_t, Matrix. Think of this as a high-level type which encodes the typename and other characteristics of the type. The type can optionally be a raw pointer, shared pointer or reference. Can also be optionally qualified with a `const`, e.g. `const int`.
|
static |
def gtwrap.interface_parser.type.Type.get_typename | ( | self | ) |
str gtwrap.interface_parser.type.Type.to_cpp | ( | self | ) |