@exercism/codemirror-lang-yamlscript 0.0.0-stage → 1.0.1

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,14 @@
1
+ import { parser } from "./syntax.grammar";
2
+ import { LRLanguage, LanguageSupport } from "@codemirror/language";
3
+ import { Completion, CompletionSource } from "@codemirror/autocomplete";
4
+ /// Snippets for YAMLScript's common forms.
5
+ declare const snippets: readonly Completion[];
6
+ /// Completes ys::std and clojure.core names, the constants and the
7
+ /// snippets. At the start of the file it offers the `!YS-v0` header.
8
+ declare const builtinCompletionSource: CompletionSource;
9
+ /// Completes the functions, bindings and parameters defined in the file that
10
+ /// are in scope at the cursor.
11
+ declare const localCompletionSource: CompletionSource;
12
+ declare const yamlscriptLanguage: LRLanguage;
13
+ declare function yamlscript(): LanguageSupport;
14
+ export { yamlscriptLanguage, yamlscript, parser, snippets, localCompletionSource, builtinCompletionSource };
@@ -0,0 +1,14 @@
1
+ import { parser } from "./syntax.grammar";
2
+ import { LRLanguage, LanguageSupport } from "@codemirror/language";
3
+ import { Completion, CompletionSource } from "@codemirror/autocomplete";
4
+ /// Snippets for YAMLScript's common forms.
5
+ declare const snippets: readonly Completion[];
6
+ /// Completes ys::std and clojure.core names, the constants and the
7
+ /// snippets. At the start of the file it offers the `!YS-v0` header.
8
+ declare const builtinCompletionSource: CompletionSource;
9
+ /// Completes the functions, bindings and parameters defined in the file that
10
+ /// are in scope at the cursor.
11
+ declare const localCompletionSource: CompletionSource;
12
+ declare const yamlscriptLanguage: LRLanguage;
13
+ declare function yamlscript(): LanguageSupport;
14
+ export { yamlscriptLanguage, yamlscript, parser, snippets, localCompletionSource, builtinCompletionSource };