Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dynamic Languages Toolkit (DLTK) » how to support directives in source parser
icon5.gif  how to support directives in source parser [message #492607] Tue, 20 October 2009 22:41
gxRocky  is currently offline gxRocky
Messages: 1
Registered: July 2009
Junior Member

I am using DLTK to build an IDE for An internal language, The language support "directive" like

#if(DEBUG)
......
#else
......
#endif

the value of "DEBUG" is setting in project setting, so I must access the project setting before parse the source file.
But DLTK only provide this method in source parser
"ModuleDeclaration parse(char[] fileName, char[] source, IProblemReporter reporter);"


Any solution for this kind of situation?
Previous Topic:dltk javascript tutorial
Next Topic:Editing Remote files
Goto Forum:
  


Current Time: Wed Jul 23 07:54:18 EDT 2014

Powered by FUDForum. Page generated in 0.01634 seconds