181
188
* @param log the parser log service
182
189
* @param index the index to help resolve bindings
183
190
* @param forCompletion whether the parser is used for code completion
184
* @param options for valid options see {@link AbstractLanguage#getASTTranslationUnit(FileContent, IScannerInfo, IncludeFileContentProvider, IIndex, int, IParserLogService)}
192
* {@link AbstractLanguage#getASTTranslationUnit(FileContent, IScannerInfo, IncludeFileContentProvider, IIndex, int, IParserLogService)}
185
193
* @return an instance of ISourceCodeParser
187
195
protected ISourceCodeParser createParser(IScanner scanner, IParserLogService log, IIndex index, boolean forCompletion, int options) {