monaco-editor
Version:
A browser based code editor
32 lines • 1.2 kB
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export class StandaloneTreeSitterLibraryService {
getParserClass() {
throw new Error('getParserClass is not implemented in StandaloneTreeSitterLibraryService');
}
supportsLanguage(languageId, reader) {
return false;
}
getLanguage(languageId, reader) {
return undefined;
}
/**
* Return value of null indicates that there are no injection queries for this language.
* @param languageId
* @param reader
*/
getInjectionQueries(languageId, reader) {
return null;
}
/**
* Return value of null indicates that there are no highlights queries for this language.
* @param languageId
* @param reader
*/
getHighlightingQueries(languageId, reader) {
return null;
}
}
//# sourceMappingURL=standaloneTreeSitterLibraryService.js.map