Open PBCOnGit opened 4 years ago
There's currently a classes
dict and a classes_order
list, I would expect it to contain the parsed classes even if classes
doesn't contain it.
Could add a classes_ns
dictionary that has this modified structure and deprecate classes
?
A classes_ns
dictionary sounds like a good idea.
Basically what the title says, but here is an example: CppHeaderParser will fail to parse code like below:
The issue is caused by the following code:
inside _CppHeader::_evaluate_class_stack Sadly im not sure if there is any easy way to fix this problem since it is actually caused by the fact that CppHeaderParser doesn't include normal namespaces in the name of a class. A possible fix would be to include the namespace in the name as well which would force everyone to rewrite their code. Another possible fix would be to distinguish between classes with a unique hash which also includes the namespace. Edit: Add example and fix code indention