|get binding from ASTParser [message #1061927]
||Tue, 04 June 2013 18:42
| Laleh m
Registered: May 2013
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:
"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?
Powered by FUDForum
. Page generated in 0.02498 seconds