开发者

In eclipse How to access identifiers used in C program using AST

How to access identifiers used in C program using AST.

I am new to eclipse plugin development and trying to customize eclipse plug-in to ensure that th开发者_运维知识库e variable name, function name, structure or whatever the programmer declares should not contain some specific set of words.

Please let me know some good CDT AST guide with examples. Thank you!


Over two weeks with zero responses. Looks like you are not going to get an answer.

I don't know how to help with CDT.

Our DMS Software Reengineering Toolkit with is C Front End parses C, builds ASTs and full C symbol table for a variety of dialects of C. Given this, it is rather easy to enumerate the C symbol table entries, and run an arbitrary predicate on names to see if they violate your conventions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜