@exercism/codemirror-lang-abap 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,21 @@
1
+ import { LRLanguage, LanguageSupport } from "@codemirror/language";
2
+ import { Completion, CompletionSource } from "@codemirror/autocomplete";
3
+ /// The snippets, in upper case.
4
+ declare const snippets: readonly Completion[];
5
+ /// Completes ABAP keywords, built-in functions, types and constants, and
6
+ /// the snippets. Keywords come in the case the student is typing in.
7
+ declare const keywordCompletionSource: CompletionSource;
8
+ /// Completes the names declared in the file that are in scope at the
9
+ /// cursor: classes, interfaces, types, attributes, methods, parameters,
10
+ /// local data and field symbols, and the members after `->`, `=>` and `-`.
11
+ declare const localCompletionSource: CompletionSource;
12
+ // Words that start a statement. The completion offers these first.
13
+ declare const statementKeywords: string[];
14
+ // The other ABAP words, which come inside statements.
15
+ declare const additionKeywords: string[];
16
+ declare const builtinFunctions: string[];
17
+ declare const builtinTypes: string[];
18
+ declare const builtinConstants: string[];
19
+ declare const abapLanguage: LRLanguage;
20
+ declare function abap(): LanguageSupport;
21
+ export { keywordCompletionSource, localCompletionSource, snippets, statementKeywords, additionKeywords, builtinFunctions, builtinTypes, builtinConstants, abapLanguage, abap };
@@ -0,0 +1,21 @@
1
+ import { LRLanguage, LanguageSupport } from "@codemirror/language";
2
+ import { Completion, CompletionSource } from "@codemirror/autocomplete";
3
+ /// The snippets, in upper case.
4
+ declare const snippets: readonly Completion[];
5
+ /// Completes ABAP keywords, built-in functions, types and constants, and
6
+ /// the snippets. Keywords come in the case the student is typing in.
7
+ declare const keywordCompletionSource: CompletionSource;
8
+ /// Completes the names declared in the file that are in scope at the
9
+ /// cursor: classes, interfaces, types, attributes, methods, parameters,
10
+ /// local data and field symbols, and the members after `->`, `=>` and `-`.
11
+ declare const localCompletionSource: CompletionSource;
12
+ // Words that start a statement. The completion offers these first.
13
+ declare const statementKeywords: string[];
14
+ // The other ABAP words, which come inside statements.
15
+ declare const additionKeywords: string[];
16
+ declare const builtinFunctions: string[];
17
+ declare const builtinTypes: string[];
18
+ declare const builtinConstants: string[];
19
+ declare const abapLanguage: LRLanguage;
20
+ declare function abap(): LanguageSupport;
21
+ export { keywordCompletionSource, localCompletionSource, snippets, statementKeywords, additionKeywords, builtinFunctions, builtinTypes, builtinConstants, abapLanguage, abap };