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 parser the source file.
But the source parser only provide method "ModuleDeclaration parse(char[] fileName, char[] source, IProblemReporter reporter);"