add method to record file language
This commit is contained in:
@@ -95,6 +95,8 @@ bool recordReferenceLocation(int referenceId, std::string filePath, int startLin
|
||||
|
||||
int recordFile(std::string filePath);
|
||||
|
||||
bool recordFileLanguage(int fileId, std::string languageIdentifier);
|
||||
|
||||
int recordLocalSymbol(std::string name);
|
||||
|
||||
bool recordLocalSymbolLocation(int localSymbolId, std::string filePath, int startLine, int startColumn, int endLine, int endColumn);
|
||||
|
||||
@@ -191,6 +191,11 @@ int recordFile(std::string filePath)
|
||||
return dbWriter.recordFile(filePath);
|
||||
}
|
||||
|
||||
bool recordFileLanguage(int fileId, std::string languageIdentifier)
|
||||
{
|
||||
return dbWriter.recordFileLanguage(fileId, languageIdentifier);
|
||||
}
|
||||
|
||||
int recordLocalSymbol(std::string name)
|
||||
{
|
||||
return dbWriter.recordLocalSymbol(name);
|
||||
|
||||
Reference in New Issue
Block a user