How can I get the XML file of the Abstract syntax tree in Eclipse on Mac OS? I tried to find this file but were not success
Asked
Active
Viewed 144 times
0
-
What exactly do you want to do? Save the AST of a given Java file (`.java` or `.class`?) as XML? – howlger Dec 12 '18 at 12:18
-
Thank you for replying. I want to save the AST of a given .java file as XML. – Trình Lê Khánh Dec 12 '18 at 12:30
-
As far as I know, Eclipse didn't have this feature built-in, nor do I know a plug-in that can do that. Without Eclipse, your question is a [duplicate of this question](https://stackoverflow.com/q/7881668/6505250). – howlger Dec 12 '18 at 12:55
-
Yes, I already read this question. I want to save xml from eclipse because I have an eclipse AST View, which presents full of the code's components. – Trình Lê Khánh Dec 12 '18 at 13:02
-
There is no "XML file of the Abstract syntax tree" to save. What problem are you actually trying to solve? – nitind Dec 15 '18 at 00:25
-
Hi, I used ASTExtractor to solve my problem. It worked. Thank you, guys :D – Trình Lê Khánh Dec 17 '18 at 04:14