|How to use PDT as a standalone tool [message #1840494]
||Fri, 16 April 2021 13:17
| can liture
Registered: April 2021
I have used Eclipse JDT to do some static analysis for Java Projects.
Now I want to use Eclipse PDT to do some static analysis.
I have used JDT to parse the Java source codes. Similarly, I use the PDT API just like the way I use JDT API.
DOM model API is the way I use to parse PHP source codes:
`Program.p = (Program) ASTParser.createAST()`
In JDT, I use the API to batch parse Java source codes and resolve bindings:
In PDT, I can't to batch parse PHP source codes, and can't resolve bindings as a standalone tool.And I can't use PHP ASTView to view the AST structures(the link to download PHP ASTView plugin seems to not found)
The most thing is that I can't resolve bindings as a standalone tool.
Just to say, I extract some core .jar packages in the folders of PDT IDE, and use APIs of these packages to construct my own static analysis tool without Eclipse Plugin Environment.
But I can't Batch Parse the codes and resolve the bindings.I think resolving the bindings or auto-inferencing types API without the plugin environment is most important for building a PHP static analysis tool.
Powered by FUDForum
. Page generated in 0.02187 seconds