本文介绍了解析器的c + +标题提取功能与标准的Linux工具?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有这样的事情?我需要使用它们使用的所有参数从头文件中提取C ++函数。如果我可以使用标准的Linux程序,那将是非常好的。

解决方案

你可以使用理解4 C ++这是一款浏览前端工具您的源代码并为您的源代码生成度量标准。它也有一个强大的API,允许你编写自己的静态分析工具。到目前为止,了解Windows和其他一些基于Linux的操作系统的作品。虽然我只使用基于Windows的API。
可在以下网址找到:


Is there something like this? I need to extract C++ functions from header files with all the parameters they use. It would be nice if i can use standard Linux programs

解决方案

You can use understand 4 C++ which is a front end tool that browse your source code and generate metrics for your source code. It also has a powerful API that allows you to write your own static analysis tools. So far understand works on windows, and a bunch of other linux based OS's. Though I've only used the windows based API.It is found at:

http://scitools.com/

这篇关于解析器的c + +标题提取功能与标准的Linux工具?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 08:51