tesseract v5.3.3.20231005
|
Public Member Functions | |
def | __init__ (self, start, end, name, templated_types, modifiers, reference, pointer, array) |
def | __str__ (self) |
def | IsDeclaration (self) |
def | IsDefinition (self) |
def | IsExportable (self) |
![]() | |
def | __init__ (self, start, end, name, namespace) |
def | FullName (self) |
![]() | |
def | __init__ (self, start, end) |
def | IsDeclaration (self) |
def | IsDefinition (self) |
def | IsExportable (self) |
def | Requires (self, node) |
def | XXX__str__ (self) |
def | __repr__ (self) |
Public Attributes | |
templated_types | |
name | |
modifiers | |
reference | |
pointer | |
array | |
![]() | |
name | |
namespace | |
![]() | |
start | |
end | |
Type used for any variable (eg class, primitive, struct, etc).
def cpp.ast.Type.__init__ | ( | self, | |
start, | |||
end, | |||
name, | |||
templated_types, | |||
modifiers, | |||
reference, | |||
pointer, | |||
array | |||
) |
Args: name: str name of main type templated_types: [Class (Type?)] template type info between <> modifiers: [str] type modifiers (keywords) eg, const, mutable, etc. reference, pointer, array: bools
Reimplemented from cpp.ast._GenericDeclaration.
Definition at line 410 of file ast.py.
def cpp.ast.Type.__str__ | ( | self | ) |
Definition at line 428 of file ast.py.
def cpp.ast.Type.IsDeclaration | ( | self | ) |
Returns bool if this node is a declaration.
Reimplemented from cpp.ast.Node.
Definition at line 446 of file ast.py.
def cpp.ast.Type.IsDefinition | ( | self | ) |
Returns bool if this node is a definition.
Reimplemented from cpp.ast.Node.
Definition at line 449 of file ast.py.
def cpp.ast.Type.IsExportable | ( | self | ) |
Returns bool if this node exportable from a header file.
Reimplemented from cpp.ast.Node.
Definition at line 452 of file ast.py.