@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.
- package/CHANGELOG.md +41 -0
- package/LICENSE +24 -0
- package/README.md +181 -2
- package/dist/index.cjs +764 -0
- package/dist/index.d.cts +38 -0
- package/dist/index.d.ts +38 -0
- package/dist/index.js +757 -0
- package/package.json +70 -4
package/dist/index.d.cts
ADDED
|
@@ -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
|
package/dist/index.d.ts
ADDED
|
@@ -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
|