Open diivm opened 4 years ago
Currentlly, in many instances, .spelling property is used (for checks, types, etc.)
.spelling
Ex: https://github.com/divmadan/pcl/blob/327830713062dfc7a5044710d17ebe62930c6c1c/bindings/python/scripts/parse.py#L103-L104
Can be replaced like:
if cursor.type != clang.TypeKind.INVALID: parsed_info["element_type"] = cursor.type.kind.name
spelling -> name
TypeKind
__repr__
name
Currentlly, in many instances,
.spelling
property is used (for checks, types, etc.)Ex: https://github.com/divmadan/pcl/blob/327830713062dfc7a5044710d17ebe62930c6c1c/bindings/python/scripts/parse.py#L103-L104
Can be replaced like:
spelling -> name
?TypeKind
's internal__repr__
also usesname