开发者

how to get info using ast parser

i want to get info from every class of a .java file so that i can save in a structure (maybe a list) the met开发者_JS百科hods that every method of every class calls. Can anyone help me? thanx!


ANTLR can generate a lexer/parser that will give you an AST. It has Java grammars ready to go, too.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜