@exercism/codemirror-lang-ballerina 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/LICENSE +21 -0
- package/README.md +112 -2
- package/dist/index.cjs +728 -0
- package/dist/index.d.cts +17 -0
- package/dist/index.d.ts +17 -0
- package/dist/index.js +722 -0
- package/package.json +51 -4
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LRLanguage, LanguageSupport } from "@codemirror/language";
|
|
2
|
+
import { Completion, CompletionSource } from "@codemirror/autocomplete";
|
|
3
|
+
/// Snippets for the constructs people type most often.
|
|
4
|
+
declare const snippets: readonly Completion[];
|
|
5
|
+
/// Completes names declared in the file (functions, types, variables,
|
|
6
|
+
/// parameters, constants and import prefixes), each only where it is in
|
|
7
|
+
/// scope. After a dot it offers the fields of record types and classes
|
|
8
|
+
/// declared in the file, and the langlib methods for the value's type.
|
|
9
|
+
/// After a module prefix such as `io:` or `int:` it offers that module's
|
|
10
|
+
/// functions, types and constants.
|
|
11
|
+
declare const localCompletionSource: CompletionSource;
|
|
12
|
+
/// Completes keywords, snippets, built-in types and constants. After
|
|
13
|
+
/// `import` it offers the standard library's modules.
|
|
14
|
+
declare const ballerinaCompletion: CompletionSource;
|
|
15
|
+
declare const ballerinaLanguage: LRLanguage;
|
|
16
|
+
declare function ballerina(): LanguageSupport;
|
|
17
|
+
export { ballerinaCompletion, localCompletionSource, snippets, ballerinaLanguage, ballerina };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { LRLanguage, LanguageSupport } from "@codemirror/language";
|
|
2
|
+
import { Completion, CompletionSource } from "@codemirror/autocomplete";
|
|
3
|
+
/// Snippets for the constructs people type most often.
|
|
4
|
+
declare const snippets: readonly Completion[];
|
|
5
|
+
/// Completes names declared in the file (functions, types, variables,
|
|
6
|
+
/// parameters, constants and import prefixes), each only where it is in
|
|
7
|
+
/// scope. After a dot it offers the fields of record types and classes
|
|
8
|
+
/// declared in the file, and the langlib methods for the value's type.
|
|
9
|
+
/// After a module prefix such as `io:` or `int:` it offers that module's
|
|
10
|
+
/// functions, types and constants.
|
|
11
|
+
declare const localCompletionSource: CompletionSource;
|
|
12
|
+
/// Completes keywords, snippets, built-in types and constants. After
|
|
13
|
+
/// `import` it offers the standard library's modules.
|
|
14
|
+
declare const ballerinaCompletion: CompletionSource;
|
|
15
|
+
declare const ballerinaLanguage: LRLanguage;
|
|
16
|
+
declare function ballerina(): LanguageSupport;
|
|
17
|
+
export { ballerinaCompletion, localCompletionSource, snippets, ballerinaLanguage, ballerina };
|