@exercism/codemirror-lang-powershell 0.0.0-stage → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,17 @@
1
+ import { LRLanguage, LanguageSupport } from "@codemirror/language";
2
+ import { Completion, CompletionContext, CompletionResult } from "@codemirror/autocomplete";
3
+ declare const keywords: readonly Completion[];
4
+ declare const cmdlets: readonly Completion[];
5
+ declare const automaticVariables: readonly Completion[];
6
+ declare const types: readonly Completion[];
7
+ declare const operators: readonly Completion[];
8
+ declare const snippets: readonly Completion[];
9
+ /// Completion for PowerShell. It offers keywords, snippets, common cmdlets,
10
+ /// automatic variables, types, operators, and the functions, variables,
11
+ /// parameters, classes and class members declared in the file, where they
12
+ /// are in scope. It offers nothing inside strings and comments, apart from
13
+ /// variables inside a double-quoted string.
14
+ declare function completion(context: CompletionContext): CompletionResult | null;
15
+ declare const powershellLanguage: LRLanguage;
16
+ declare function powershell(): LanguageSupport;
17
+ export { completion, keywords, cmdlets, automaticVariables, types, operators, snippets, powershellLanguage, powershell };
@@ -0,0 +1,17 @@
1
+ import { LRLanguage, LanguageSupport } from "@codemirror/language";
2
+ import { Completion, CompletionContext, CompletionResult } from "@codemirror/autocomplete";
3
+ declare const keywords: readonly Completion[];
4
+ declare const cmdlets: readonly Completion[];
5
+ declare const automaticVariables: readonly Completion[];
6
+ declare const types: readonly Completion[];
7
+ declare const operators: readonly Completion[];
8
+ declare const snippets: readonly Completion[];
9
+ /// Completion for PowerShell. It offers keywords, snippets, common cmdlets,
10
+ /// automatic variables, types, operators, and the functions, variables,
11
+ /// parameters, classes and class members declared in the file, where they
12
+ /// are in scope. It offers nothing inside strings and comments, apart from
13
+ /// variables inside a double-quoted string.
14
+ declare function completion(context: CompletionContext): CompletionResult | null;
15
+ declare const powershellLanguage: LRLanguage;
16
+ declare function powershell(): LanguageSupport;
17
+ export { completion, keywords, cmdlets, automaticVariables, types, operators, snippets, powershellLanguage, powershell };