@exercism/codemirror-lang-groovy 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,38 @@
1
+ import {LRParser} from "@lezer/lr"
2
+ import {LRLanguage, LanguageSupport} from "@codemirror/language"
3
+ import {Completion, CompletionSource} from "@codemirror/autocomplete"
4
+
5
+ /**
6
+ The Lezer parser for Groovy. It can be used without CodeMirror.
7
+ */
8
+ export declare const parser: LRParser
9
+
10
+ /**
11
+ A language provider based on the Lezer Groovy parser, extended with
12
+ highlighting, indentation and folding information.
13
+ */
14
+ export declare const groovyLanguage: LRLanguage
15
+
16
+ /**
17
+ Completion for Groovy's keywords, snippets and the parts of the standard
18
+ library that are reached for most. After a `.` it offers only the methods
19
+ called on a value, and after `@` the common annotations.
20
+ */
21
+ export declare const groovyCompletion: CompletionSource
22
+
23
+ /**
24
+ Completion for the names declared in the file, offered where they are in
25
+ scope.
26
+ */
27
+ export declare const localCompletionSource: CompletionSource
28
+
29
+ /**
30
+ Snippets for the common Groovy constructs.
31
+ */
32
+ export declare const snippets: readonly Completion[]
33
+
34
+ /**
35
+ Groovy language support, with completion for keywords, snippets, the common
36
+ parts of the standard library and the names declared in the file.
37
+ */
38
+ export declare function groovy(): LanguageSupport
@@ -0,0 +1,38 @@
1
+ import {LRParser} from "@lezer/lr"
2
+ import {LRLanguage, LanguageSupport} from "@codemirror/language"
3
+ import {Completion, CompletionSource} from "@codemirror/autocomplete"
4
+
5
+ /**
6
+ The Lezer parser for Groovy. It can be used without CodeMirror.
7
+ */
8
+ export declare const parser: LRParser
9
+
10
+ /**
11
+ A language provider based on the Lezer Groovy parser, extended with
12
+ highlighting, indentation and folding information.
13
+ */
14
+ export declare const groovyLanguage: LRLanguage
15
+
16
+ /**
17
+ Completion for Groovy's keywords, snippets and the parts of the standard
18
+ library that are reached for most. After a `.` it offers only the methods
19
+ called on a value, and after `@` the common annotations.
20
+ */
21
+ export declare const groovyCompletion: CompletionSource
22
+
23
+ /**
24
+ Completion for the names declared in the file, offered where they are in
25
+ scope.
26
+ */
27
+ export declare const localCompletionSource: CompletionSource
28
+
29
+ /**
30
+ Snippets for the common Groovy constructs.
31
+ */
32
+ export declare const snippets: readonly Completion[]
33
+
34
+ /**
35
+ Groovy language support, with completion for keywords, snippets, the common
36
+ parts of the standard library and the names declared in the file.
37
+ */
38
+ export declare function groovy(): LanguageSupport