@exercism/codemirror-lang-julia 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,40 @@
1
+ import * as _codemirror_state from '@codemirror/state';
2
+ import { LanguageSupport, LRLanguage } from '@codemirror/language';
3
+ import { CompletionSource, Completion } from '@codemirror/autocomplete';
4
+
5
+ declare const keywords: readonly Completion[];
6
+ declare const snippets: readonly Completion[];
7
+ declare const builtins: readonly Completion[];
8
+ /**
9
+ Completes names defined in the file, in scope at the cursor.
10
+ */
11
+ declare const localCompletionSource: CompletionSource;
12
+ /**
13
+ Completes `Base` names, and the names of standard libraries such as
14
+ `Dates` once the file has `using Dates`.
15
+ */
16
+ declare const builtinCompletionSource: CompletionSource;
17
+ /**
18
+ Completes the names in a module after `Base.` or `Dates.`.
19
+ */
20
+ declare const memberCompletionSource: CompletionSource;
21
+ declare const juliaCompletionSources: readonly CompletionSource[];
22
+
23
+ declare const juliaLanguage: LRLanguage;
24
+ declare const keywordCompletion: _codemirror_state.Extension;
25
+ /**
26
+ Completes keywords, snippets, the names in `Base` and the standard
27
+ libraries used in the file, and the names defined in the file that are in
28
+ scope at the cursor.
29
+ */
30
+ declare const juliaCompletion: _codemirror_state.Extension[];
31
+ type JuliaLanguageConfig = {
32
+ /** Enable keyword completion only */
33
+ enableKeywordCompletion?: boolean;
34
+ /** Enable full completion: keywords, snippets, built-ins and names in the file */
35
+ enableCompletion?: boolean;
36
+ };
37
+ declare function julia(config?: JuliaLanguageConfig): LanguageSupport;
38
+
39
+ export { builtinCompletionSource, builtins, julia, juliaCompletion, juliaCompletionSources, juliaLanguage, keywordCompletion, keywords, localCompletionSource, memberCompletionSource, snippets };
40
+ export type { JuliaLanguageConfig };
@@ -0,0 +1,40 @@
1
+ import * as _codemirror_state from '@codemirror/state';
2
+ import { LanguageSupport, LRLanguage } from '@codemirror/language';
3
+ import { CompletionSource, Completion } from '@codemirror/autocomplete';
4
+
5
+ declare const keywords: readonly Completion[];
6
+ declare const snippets: readonly Completion[];
7
+ declare const builtins: readonly Completion[];
8
+ /**
9
+ Completes names defined in the file, in scope at the cursor.
10
+ */
11
+ declare const localCompletionSource: CompletionSource;
12
+ /**
13
+ Completes `Base` names, and the names of standard libraries such as
14
+ `Dates` once the file has `using Dates`.
15
+ */
16
+ declare const builtinCompletionSource: CompletionSource;
17
+ /**
18
+ Completes the names in a module after `Base.` or `Dates.`.
19
+ */
20
+ declare const memberCompletionSource: CompletionSource;
21
+ declare const juliaCompletionSources: readonly CompletionSource[];
22
+
23
+ declare const juliaLanguage: LRLanguage;
24
+ declare const keywordCompletion: _codemirror_state.Extension;
25
+ /**
26
+ Completes keywords, snippets, the names in `Base` and the standard
27
+ libraries used in the file, and the names defined in the file that are in
28
+ scope at the cursor.
29
+ */
30
+ declare const juliaCompletion: _codemirror_state.Extension[];
31
+ type JuliaLanguageConfig = {
32
+ /** Enable keyword completion only */
33
+ enableKeywordCompletion?: boolean;
34
+ /** Enable full completion: keywords, snippets, built-ins and names in the file */
35
+ enableCompletion?: boolean;
36
+ };
37
+ declare function julia(config?: JuliaLanguageConfig): LanguageSupport;
38
+
39
+ export { builtinCompletionSource, builtins, julia, juliaCompletion, juliaCompletionSources, juliaLanguage, keywordCompletion, keywords, localCompletionSource, memberCompletionSource, snippets };
40
+ export type { JuliaLanguageConfig };