🎉 initiate project *astro_rewrite*
This commit is contained in:
parent
ffd4d5e86c
commit
2ba37bfbe3
8658 changed files with 2268794 additions and 2538 deletions
39
node_modules/@astrojs/language-server/dist/plugins/css/CSSPlugin.d.ts
generated
vendored
Normal file
39
node_modules/@astrojs/language-server/dist/plugins/css/CSSPlugin.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
import { Color, ColorInformation, ColorPresentation, CompletionContext, CompletionList, FoldingRange, Hover, Position, Range, SymbolInformation, WorkspaceEdit } from 'vscode-languageserver';
|
||||
import type { ConfigManager } from '../../core/config/ConfigManager';
|
||||
import { AstroDocument } from '../../core/documents';
|
||||
import type { Plugin } from '../interfaces';
|
||||
export declare class CSSPlugin implements Plugin {
|
||||
__name: string;
|
||||
private configManager;
|
||||
private cssDocuments;
|
||||
private triggerCharacters;
|
||||
constructor(configManager: ConfigManager);
|
||||
doHover(document: AstroDocument, position: Position): Promise<Hover | null>;
|
||||
private doHoverInternal;
|
||||
getCompletions(document: AstroDocument, position: Position, completionContext?: CompletionContext): Promise<CompletionList | null>;
|
||||
private getCompletionsInternal;
|
||||
getDocumentColors(document: AstroDocument): Promise<ColorInformation[]>;
|
||||
getColorPresentations(document: AstroDocument, range: Range, color: Color): Promise<ColorPresentation[]>;
|
||||
prepareRename(document: AstroDocument, position: Position): Range | null;
|
||||
rename(document: AstroDocument, position: Position, newName: string): WorkspaceEdit | null;
|
||||
getFoldingRanges(document: AstroDocument): FoldingRange[] | null;
|
||||
getDocumentSymbols(document: AstroDocument): Promise<SymbolInformation[]>;
|
||||
private inStyleAttributeWithoutInterpolation;
|
||||
/**
|
||||
* Get the associated CSS Document for a style tag
|
||||
*/
|
||||
private getCSSDocumentForStyleTag;
|
||||
/**
|
||||
* Get all the CSSDocuments in a document
|
||||
*/
|
||||
private getCSSDocumentsForDocument;
|
||||
/**
|
||||
* Get all the stylesheets (Stylesheet type) in a document
|
||||
*/
|
||||
private getStylesheetsForDocument;
|
||||
/**
|
||||
* Get style tag at position for a document
|
||||
*/
|
||||
private getStyleTagForPosition;
|
||||
private featureEnabled;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue