You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

19 lines
820 B

/******************************************************************************
* Copyright 2024 TypeFox GmbH
* This program and the accompanying materials are made available under the
* terms of the MIT License, which is available in the project root.
******************************************************************************/
import type { LangiumDocument } from './documents.js';
export declare class DocumentTrie {
private readonly root;
clear(): void;
insert(uri: string, document: LangiumDocument): void;
delete(uri: string): void;
has(uri: string): boolean;
find(uri: string): LangiumDocument | undefined;
all(): LangiumDocument[];
findAll(prefix: string): LangiumDocument[];
private getNode;
private collectDocuments;
}
//# sourceMappingURL=document-trie.d.ts.map