get binding from ASTParser [message #1061927] |
Tue, 04 June 2013 18:42 |
Laleh m Messages: 9 Registered: May 2013 |
Junior Member |
|
|
Hello,
How to get the binding in the php ast? I know that we have a resolveBinding on most of the ast node. But I need something like what is explained in the link below:
http://www.eclipse.org/pdt/articles/ast/PHP_AST.html#sec-bindings
"Since evaluating bindings is costly, the binding service has to be explicitly requested at parse time. This is done by passing the relevant ISourceModule to the method ASTParser.createParser() before the source is being parsed. "
But the ASTParser.createParser() receives as its parameter an IprogressMonitor and not ISourceModule.
So, how can I get an instance of IprogressMonitor?
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.01888 seconds