Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » get binding from ASTParser
get binding from ASTParser [message #1061927] Tue, 04 June 2013 18:42
Laleh m is currently offline Laleh m
Messages: 7
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

Previous Topic:If you copy & paste code, indentation is messed up
Next Topic:BUG: HTML5 select does have required attribute
Goto Forum:
  


Current Time: Sat Sep 20 18:16:33 GMT 2014

Powered by FUDForum. Page generated in 0.01564 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software