UNPKG

936 BTypeScriptView Raw
1import URI from '../common/uri';
2import { ContextKeyService, ContextKey } from './context-key-service';
3import { LanguageService } from './language-service';
4export declare class ResourceContextKey {
5 protected readonly languages: LanguageService;
6 protected readonly contextKeyService: ContextKeyService;
7 protected resource: ContextKey<string>;
8 protected resourceSchemeKey: ContextKey<string>;
9 protected resourceFileName: ContextKey<string>;
10 protected resourceExtname: ContextKey<string>;
11 protected resourceLangId: ContextKey<string>;
12 protected resourceDirName: ContextKey<string>;
13 protected resourcePath: ContextKey<string>;
14 protected resourceSet: ContextKey<boolean>;
15 protected init(): void;
16 get(): string | undefined;
17 set(resourceUri: URI | undefined): void;
18 protected getLanguageId(uri: URI | undefined): string | undefined;
19}
20//# sourceMappingURL=resource-context-key.d.ts.map
\No newline at end of file