CppHeaderParser解析C++头文件并生成表示类的数据结构
Python 包 CppHeaderParser 目的:解析 C++ 头文件,生成表示类的数据结构。添加一名作者,许可证:BSD。需要外部模块:PLY。
快速开始:
#include
#include
#define DEF_1 1
#define OS_NAME \"Linux\"
using namespace std;
class SampleClass {
public:
SampleClass();
/*! * Method 1 */
string meth1();
/// Method 2 description
/// @param v1 Variable 1
/// int meth2(int v1);
/**
}
下载地址
用户评论