intelligent-system-design-language 0.3.13
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/.claude/agents/langium-language-designer.md +38 -0
- package/.claude/agents/typescript-vscode-expert.md +29 -0
- package/.claude/agents/ui-ux-designer.md +36 -0
- package/.claude/settings.local.json +33 -0
- package/.idea/inspectionProfiles/Project_Default.xml +7 -0
- package/.idea/isdl.iml +14 -0
- package/.idea/modules.xml +9 -0
- package/.idea/vcs.xml +7 -0
- package/.idea/watcherTasks.xml +4 -0
- package/.vscodeignore +18 -0
- package/LICENSE +674 -0
- package/README.md +86 -0
- package/bin/cli.js +4 -0
- package/bin/lsp.js +8 -0
- package/isdl.png +0 -0
- package/out/_backgrounds.scss +91 -0
- package/out/_handlebars.scss +505 -0
- package/out/_isdlStyles.scss +1357 -0
- package/out/_vuetifyOverrides.scss +425 -0
- package/out/_vuetifyStyles.scss +31957 -0
- package/out/cli/cli-util.js +39 -0
- package/out/cli/cli-util.js.map +1 -0
- package/out/cli/components/_backgrounds.scss +91 -0
- package/out/cli/components/_handlebars.scss +505 -0
- package/out/cli/components/_isdlStyles.scss +1357 -0
- package/out/cli/components/_vuetifyOverrides.scss +425 -0
- package/out/cli/components/_vuetifyStyles.scss +31957 -0
- package/out/cli/components/active-effect-sheet-generator.js +643 -0
- package/out/cli/components/active-effect-sheet-generator.js.map +1 -0
- package/out/cli/components/base-actor-sheet-generator.js +125 -0
- package/out/cli/components/base-actor-sheet-generator.js.map +1 -0
- package/out/cli/components/base-sheet-generator.js +525 -0
- package/out/cli/components/base-sheet-generator.js.map +1 -0
- package/out/cli/components/chat-card-generator.js +683 -0
- package/out/cli/components/chat-card-generator.js.map +1 -0
- package/out/cli/components/css-generator.js +58 -0
- package/out/cli/components/css-generator.js.map +1 -0
- package/out/cli/components/damage-roll-generator.js +173 -0
- package/out/cli/components/damage-roll-generator.js.map +1 -0
- package/out/cli/components/datamodel-generator.js +672 -0
- package/out/cli/components/datamodel-generator.js.map +1 -0
- package/out/cli/components/derived-data-generator.js +1340 -0
- package/out/cli/components/derived-data-generator.js.map +1 -0
- package/out/cli/components/hotbar-drop-hook-generator.js +95 -0
- package/out/cli/components/hotbar-drop-hook-generator.js.map +1 -0
- package/out/cli/components/init-hook-generator.js +597 -0
- package/out/cli/components/init-hook-generator.js.map +1 -0
- package/out/cli/components/keywords-generator.js +220 -0
- package/out/cli/components/keywords-generator.js.map +1 -0
- package/out/cli/components/language-generator.js +110 -0
- package/out/cli/components/language-generator.js.map +1 -0
- package/out/cli/components/measured-template-preview.js +234 -0
- package/out/cli/components/measured-template-preview.js.map +1 -0
- package/out/cli/components/method-generator.js +1812 -0
- package/out/cli/components/method-generator.js.map +1 -0
- package/out/cli/components/ready-hook-generator.js +448 -0
- package/out/cli/components/ready-hook-generator.js.map +1 -0
- package/out/cli/components/token-generator.js +138 -0
- package/out/cli/components/token-generator.js.map +1 -0
- package/out/cli/components/utils.js +176 -0
- package/out/cli/components/utils.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-attribute.js +148 -0
- package/out/cli/components/vue/base-components/vue-attribute.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-boolean.js +77 -0
- package/out/cli/components/vue/base-components/vue-boolean.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-calculator.js +106 -0
- package/out/cli/components/vue/base-components/vue-calculator.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-damage-application.js +369 -0
- package/out/cli/components/vue/base-components/vue-damage-application.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-damage-bonuses.js +225 -0
- package/out/cli/components/vue/base-components/vue-damage-bonuses.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-damage-resistances.js +256 -0
- package/out/cli/components/vue/base-components/vue-damage-resistances.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-damage-track.js +134 -0
- package/out/cli/components/vue/base-components/vue-damage-track.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-date-time.js +55 -0
- package/out/cli/components/vue/base-components/vue-date-time.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-dice.js +111 -0
- package/out/cli/components/vue/base-components/vue-dice.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-die.js +86 -0
- package/out/cli/components/vue/base-components/vue-die.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-document-choice.js +172 -0
- package/out/cli/components/vue/base-components/vue-document-choice.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-document-choices.js +203 -0
- package/out/cli/components/vue/base-components/vue-document-choices.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-document-link.js +73 -0
- package/out/cli/components/vue/base-components/vue-document-link.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-extended-choice.js +101 -0
- package/out/cli/components/vue/base-components/vue-extended-choice.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-inventory.js +532 -0
- package/out/cli/components/vue/base-components/vue-inventory.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-macro-choice.js +150 -0
- package/out/cli/components/vue/base-components/vue-macro-choice.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-measured-template.js +543 -0
- package/out/cli/components/vue/base-components/vue-measured-template.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-money.js +496 -0
- package/out/cli/components/vue/base-components/vue-money.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-number.js +184 -0
- package/out/cli/components/vue/base-components/vue-number.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-paperdoll.js +56 -0
- package/out/cli/components/vue/base-components/vue-paperdoll.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-parent-property-reference.js +89 -0
- package/out/cli/components/vue/base-components/vue-parent-property-reference.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-prosemirror.js +31 -0
- package/out/cli/components/vue/base-components/vue-prosemirror.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-resource.js +149 -0
- package/out/cli/components/vue/base-components/vue-resource.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-roll-visualizer.js +121 -0
- package/out/cli/components/vue/base-components/vue-roll-visualizer.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-self-property-reference.js +75 -0
- package/out/cli/components/vue/base-components/vue-self-property-reference.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-string-choice.js +111 -0
- package/out/cli/components/vue/base-components/vue-string-choice.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-string-choices.js +216 -0
- package/out/cli/components/vue/base-components/vue-string-choices.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-string.js +73 -0
- package/out/cli/components/vue/base-components/vue-string.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-text-field.js +66 -0
- package/out/cli/components/vue/base-components/vue-text-field.js.map +1 -0
- package/out/cli/components/vue/base-components/vue-tracker.js +444 -0
- package/out/cli/components/vue/base-components/vue-tracker.js.map +1 -0
- package/out/cli/components/vue/vue-action-component-generator.js +88 -0
- package/out/cli/components/vue/vue-action-component-generator.js.map +1 -0
- package/out/cli/components/vue/vue-active-effect-sheet-generator.js +1016 -0
- package/out/cli/components/vue/vue-active-effect-sheet-generator.js.map +1 -0
- package/out/cli/components/vue/vue-base-components-generator.js +59 -0
- package/out/cli/components/vue/vue-base-components-generator.js.map +1 -0
- package/out/cli/components/vue/vue-datatable-component-generator.js +307 -0
- package/out/cli/components/vue/vue-datatable-component-generator.js.map +1 -0
- package/out/cli/components/vue/vue-datatable-sheet-class-generator.js +342 -0
- package/out/cli/components/vue/vue-datatable-sheet-class-generator.js.map +1 -0
- package/out/cli/components/vue/vue-datatable2-component-generator.js +939 -0
- package/out/cli/components/vue/vue-datatable2-component-generator.js.map +1 -0
- package/out/cli/components/vue/vue-document-creation-app.js +140 -0
- package/out/cli/components/vue/vue-document-creation-app.js.map +1 -0
- package/out/cli/components/vue/vue-document-creation-sheet.js +105 -0
- package/out/cli/components/vue/vue-document-creation-sheet.js.map +1 -0
- package/out/cli/components/vue/vue-generator.js +240 -0
- package/out/cli/components/vue/vue-generator.js.map +1 -0
- package/out/cli/components/vue/vue-mixin.js +338 -0
- package/out/cli/components/vue/vue-mixin.js.map +1 -0
- package/out/cli/components/vue/vue-pinned-datatable-component-generator.js +306 -0
- package/out/cli/components/vue/vue-pinned-datatable-component-generator.js.map +1 -0
- package/out/cli/components/vue/vue-prompt-generator.js +201 -0
- package/out/cli/components/vue/vue-prompt-generator.js.map +1 -0
- package/out/cli/components/vue/vue-prompt-sheet-class-generator.js +252 -0
- package/out/cli/components/vue/vue-prompt-sheet-class-generator.js.map +1 -0
- package/out/cli/components/vue/vue-sheet-application-generator.js +2008 -0
- package/out/cli/components/vue/vue-sheet-application-generator.js.map +1 -0
- package/out/cli/components/vue/vue-sheet-class-generator.js +484 -0
- package/out/cli/components/vue/vue-sheet-class-generator.js.map +1 -0
- package/out/cli/generator.js +659 -0
- package/out/cli/generator.js.map +1 -0
- package/out/cli/main.js +43 -0
- package/out/cli/main.js.map +1 -0
- package/out/datatables.min.css +54 -0
- package/out/datatables.min.js +178 -0
- package/out/extension/github/githubAuthProvider.js +345 -0
- package/out/extension/github/githubAuthProvider.js.map +1 -0
- package/out/extension/github/githubConfig.js +132 -0
- package/out/extension/github/githubConfig.js.map +1 -0
- package/out/extension/github/githubGistActions.js +251 -0
- package/out/extension/github/githubGistActions.js.map +1 -0
- package/out/extension/github/githubGistManager.js +255 -0
- package/out/extension/github/githubGistManager.js.map +1 -0
- package/out/extension/github/githubManager.js +1735 -0
- package/out/extension/github/githubManager.js.map +1 -0
- package/out/extension/github/githubQuickActions.js +659 -0
- package/out/extension/github/githubQuickActions.js.map +1 -0
- package/out/extension/github/githubTreeProvider.js +181 -0
- package/out/extension/github/githubTreeProvider.js.map +1 -0
- package/out/extension/github/system-workflow.yml +48 -0
- package/out/extension/main.cjs +70315 -0
- package/out/extension/main.cjs.map +7 -0
- package/out/extension/main.js +237 -0
- package/out/extension/main.js.map +1 -0
- package/out/extension/package.json +426 -0
- package/out/isdl.png +0 -0
- package/out/language/generated/ast.js +2992 -0
- package/out/language/generated/ast.js.map +1 -0
- package/out/language/generated/grammar.js +13970 -0
- package/out/language/generated/grammar.js.map +1 -0
- package/out/language/generated/module.js +20 -0
- package/out/language/generated/module.js.map +1 -0
- package/out/language/intelligent-system-design-language-formatter.js +85 -0
- package/out/language/intelligent-system-design-language-formatter.js.map +1 -0
- package/out/language/intelligent-system-design-language-module.js +69 -0
- package/out/language/intelligent-system-design-language-module.js.map +1 -0
- package/out/language/intelligent-system-design-language-quickfixes.js +37 -0
- package/out/language/intelligent-system-design-language-quickfixes.js.map +1 -0
- package/out/language/intelligent-system-design-language-validator.js +515 -0
- package/out/language/intelligent-system-design-language-validator.js.map +1 -0
- package/out/language/isdl-hover-provider.js +77 -0
- package/out/language/isdl-hover-provider.js.map +1 -0
- package/out/language/isdl-scope-provider.js +149 -0
- package/out/language/isdl-scope-provider.js.map +1 -0
- package/out/language/main.cjs +47655 -0
- package/out/language/main.cjs.map +7 -0
- package/out/language/main.js +11 -0
- package/out/language/main.js.map +1 -0
- package/out/missing-character.png +0 -0
- package/out/package.json +426 -0
- package/out/paperdoll_default.png +0 -0
- package/out/progressbar.min.js +7 -0
- package/out/styles.scss +722 -0
- package/out/test/formatting/formatter.test.js +46 -0
- package/out/test/formatting/formatter.test.js.map +1 -0
- package/out/vuetify.esm.js +30279 -0
- package/package.json +426 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grammar.js","sourceRoot":"","sources":["../../../src/language/generated/grammar.ts"],"names":[],"mappings":"AAAA;;;gFAGgF;AAGhF,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,IAAI,4CAAiE,CAAC;AACtE,MAAM,CAAC,MAAM,sCAAsC,GAAG,GAAY,EAAE,CAAC,4CAA4C,aAA5C,4CAA4C,cAA5C,4CAA4C,GAAI,CAAC,4CAA4C,GAAG,mBAAmB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA0obvL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/******************************************************************************
|
|
2
|
+
* This file was generated by langium-cli 3.0.3.
|
|
3
|
+
* DO NOT EDIT MANUALLY!
|
|
4
|
+
******************************************************************************/
|
|
5
|
+
import { IntelligentSystemDesignLanguageAstReflection } from './ast.js';
|
|
6
|
+
import { IntelligentSystemDesignLanguageGrammar } from './grammar.js';
|
|
7
|
+
export const IntelligentSystemDesignLanguageLanguageMetaData = {
|
|
8
|
+
languageId: 'intelligent-system-design-language',
|
|
9
|
+
fileExtensions: ['.isdl'],
|
|
10
|
+
caseInsensitive: false
|
|
11
|
+
};
|
|
12
|
+
export const IntelligentSystemDesignLanguageGeneratedSharedModule = {
|
|
13
|
+
AstReflection: () => new IntelligentSystemDesignLanguageAstReflection()
|
|
14
|
+
};
|
|
15
|
+
export const IntelligentSystemDesignLanguageGeneratedModule = {
|
|
16
|
+
Grammar: () => IntelligentSystemDesignLanguageGrammar(),
|
|
17
|
+
LanguageMetaData: () => IntelligentSystemDesignLanguageLanguageMetaData,
|
|
18
|
+
parser: {}
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.js","sourceRoot":"","sources":["../../../src/language/generated/module.ts"],"names":[],"mappings":"AAAA;;;gFAGgF;AAGhF,OAAO,EAAE,4CAA4C,EAAE,MAAM,UAAU,CAAC;AACxE,OAAO,EAAE,sCAAsC,EAAE,MAAM,cAAc,CAAC;AAEtE,MAAM,CAAC,MAAM,+CAA+C,GAAG;IAC3D,UAAU,EAAE,oCAAoC;IAChD,cAAc,EAAE,CAAC,OAAO,CAAC;IACzB,eAAe,EAAE,KAAK;CACW,CAAC;AAEtC,MAAM,CAAC,MAAM,oDAAoD,GAA0E;IACvI,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,4CAA4C,EAAE;CAC1E,CAAC;AAEF,MAAM,CAAC,MAAM,8CAA8C,GAA8D;IACrH,OAAO,EAAE,GAAG,EAAE,CAAC,sCAAsC,EAAE;IACvD,gBAAgB,EAAE,GAAG,EAAE,CAAC,+CAA+C;IACvE,MAAM,EAAE,EAAE;CACb,CAAC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { AbstractFormatter, Formatting } from 'langium/lsp';
|
|
2
|
+
import { isActor, isItem, isKeywords, isLayout, isMethodBlock, isMethodContainer, isMoneyField, isConfig, isChatBlock, isPrompt, isAttributeParamMod, isAttributeRollParam } from './generated/ast.js';
|
|
3
|
+
export class IsdlFormatter extends AbstractFormatter {
|
|
4
|
+
format(node) {
|
|
5
|
+
if (isConfig(node)) {
|
|
6
|
+
this.applyBraceFormatting(node);
|
|
7
|
+
}
|
|
8
|
+
else if (isKeywords(node)) {
|
|
9
|
+
this.applyBraceFormatting(node);
|
|
10
|
+
}
|
|
11
|
+
else if (isActor(node)) {
|
|
12
|
+
this.formatWithBlankLine(node, 'actor');
|
|
13
|
+
}
|
|
14
|
+
else if (isItem(node)) {
|
|
15
|
+
this.formatWithBlankLine(node, 'item');
|
|
16
|
+
}
|
|
17
|
+
else if (isLayout(node)) {
|
|
18
|
+
this.formatWithBlankLine(node, node.$type.toLowerCase());
|
|
19
|
+
}
|
|
20
|
+
else if (isMethodContainer(node)) {
|
|
21
|
+
const keywords = { Action: 'action', HookHandler: 'on', FunctionDefinition: 'function' };
|
|
22
|
+
this.formatWithBlankLine(node, keywords[node.$type]);
|
|
23
|
+
}
|
|
24
|
+
else if (isMethodBlock(node)) {
|
|
25
|
+
if (isAttributeParamMod(node.$container) || isAttributeRollParam(node.$container)) {
|
|
26
|
+
this.applyParamBraceFormatting(node);
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
this.applyBraceFormatting(node);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
else if (isChatBlock(node)) {
|
|
33
|
+
this.applyBraceFormatting(node);
|
|
34
|
+
}
|
|
35
|
+
else if (isPrompt(node)) {
|
|
36
|
+
this.applyBraceFormatting(node);
|
|
37
|
+
}
|
|
38
|
+
else if (isMoneyField(node)) {
|
|
39
|
+
this.formatMoneyField(node);
|
|
40
|
+
}
|
|
41
|
+
else if (isAttributeParamMod(node)) {
|
|
42
|
+
this.getNodeFormatter(node).keyword('mod:').prepend(Formatting.indent());
|
|
43
|
+
}
|
|
44
|
+
else if (isAttributeRollParam(node)) {
|
|
45
|
+
this.getNodeFormatter(node).keyword('roll:').prepend(Formatting.indent());
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
/** Block that gets a blank line before it */
|
|
49
|
+
formatWithBlankLine(node, keyword) {
|
|
50
|
+
const formatter = this.getNodeFormatter(node);
|
|
51
|
+
formatter.keyword(keyword).prepend(Formatting.newLines(2, { allowMore: true }));
|
|
52
|
+
this.applyBraceFormatting(node);
|
|
53
|
+
}
|
|
54
|
+
/** MoneyField has an optional denomination block */
|
|
55
|
+
formatMoneyField(node) {
|
|
56
|
+
const formatter = this.getNodeFormatter(node);
|
|
57
|
+
const openBrace = formatter.keyword('{');
|
|
58
|
+
if (openBrace.nodes.length > 0) {
|
|
59
|
+
this.applyBraceFormatting(node);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Brace formatting for MethodBlocks inside attribute params (mod:/roll:).
|
|
64
|
+
* Uses +2 tabs for the interior so the body is deeper than the param keyword,
|
|
65
|
+
* which itself already used Formatting.indent() (+1) to get onto its own line.
|
|
66
|
+
*/
|
|
67
|
+
applyParamBraceFormatting(node) {
|
|
68
|
+
const formatter = this.getNodeFormatter(node);
|
|
69
|
+
const openBrace = formatter.keyword('{');
|
|
70
|
+
const closeBrace = formatter.keyword('}');
|
|
71
|
+
openBrace.prepend(Formatting.oneSpace());
|
|
72
|
+
formatter.interior(openBrace, closeBrace).prepend({ options: {}, moves: [{ tabs: 2, lines: 1 }] });
|
|
73
|
+
closeBrace.prepend(Formatting.indent());
|
|
74
|
+
}
|
|
75
|
+
/** Core brace formatting: space before `{`, indent interior, `}` on new line */
|
|
76
|
+
applyBraceFormatting(node) {
|
|
77
|
+
const formatter = this.getNodeFormatter(node);
|
|
78
|
+
const openBrace = formatter.keyword('{');
|
|
79
|
+
const closeBrace = formatter.keyword('}');
|
|
80
|
+
openBrace.prepend(Formatting.oneSpace());
|
|
81
|
+
formatter.interior(openBrace, closeBrace).prepend(Formatting.indent());
|
|
82
|
+
closeBrace.prepend(Formatting.newLine());
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
//# sourceMappingURL=intelligent-system-design-language-formatter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intelligent-system-design-language-formatter.js","sourceRoot":"","sources":["../../src/language/intelligent-system-design-language-formatter.ts"],"names":[],"mappings":"AACA,OAAO,E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U,CAAC,MAAM,EAAE,CAAC,CAAC;QACvE,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,EAAE,CAAC,CAAC;IAC7C,CAAC;CACJ"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { inject } from 'langium';
|
|
2
|
+
import { createDefaultModule, createDefaultSharedModule } from 'langium/lsp';
|
|
3
|
+
import { IntelligentSystemDesignLanguageGeneratedModule, IntelligentSystemDesignLanguageGeneratedSharedModule } from './generated/module.js';
|
|
4
|
+
import { IntelligentSystemDesignLanguageValidator, registerValidationChecks } from './intelligent-system-design-language-validator.js';
|
|
5
|
+
import { IsdlScopeProvider } from './isdl-scope-provider.js';
|
|
6
|
+
import { IsdlFormatter } from './intelligent-system-design-language-formatter.js';
|
|
7
|
+
import { IsdlHoverProvider } from './isdl-hover-provider.js';
|
|
8
|
+
/**
|
|
9
|
+
* Dependency injection module that overrides Langium default services and contributes the
|
|
10
|
+
* declared custom services. The Langium defaults can be partially specified to override only
|
|
11
|
+
* selected services, while the custom services must be fully specified.
|
|
12
|
+
*/
|
|
13
|
+
export const IntelligentSystemDesignLanguageModule = {
|
|
14
|
+
validation: {
|
|
15
|
+
IntelligentSystemDesignLanguageValidator: () => new IntelligentSystemDesignLanguageValidator()
|
|
16
|
+
},
|
|
17
|
+
references: {
|
|
18
|
+
ScopeProvider: (services) => new IsdlScopeProvider(services)
|
|
19
|
+
},
|
|
20
|
+
lsp: {
|
|
21
|
+
Formatter: (_services) => new IsdlFormatter(),
|
|
22
|
+
HoverProvider: (_services) => new IsdlHoverProvider()
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
// export class IsdlScopeProvider implements ScopeProvider {
|
|
26
|
+
// private astNodeDescriptionProvider: AstNodeDescriptionProvider;
|
|
27
|
+
// constructor(services: LangiumCoreServices) {
|
|
28
|
+
// //get some helper services
|
|
29
|
+
// this.astNodeDescriptionProvider = services.workspace.AstNodeDescriptionProvider;
|
|
30
|
+
// }
|
|
31
|
+
// getScope(context: ReferenceInfo): Scope {
|
|
32
|
+
// //make sure which cross-reference you are handling right now
|
|
33
|
+
// if(isGreeting(context.container) && context.property === 'person') {
|
|
34
|
+
// //Success! We are handling the cross-reference of a greeting to a person!
|
|
35
|
+
// //get the root node of the document
|
|
36
|
+
// const model = AstUtils.getContainerOfType(context.container, isDocument)!;
|
|
37
|
+
// //select all persons from this document
|
|
38
|
+
// const persons = model.persons;
|
|
39
|
+
// //transform them into node descriptions
|
|
40
|
+
// const descriptions = persons.map(p => this.astNodeDescriptionProvider.createDescription(p, p.name));
|
|
41
|
+
// //create the scope
|
|
42
|
+
// return new MapScope(descriptions);
|
|
43
|
+
// }
|
|
44
|
+
// return EMPTY_SCOPE;
|
|
45
|
+
// }
|
|
46
|
+
// }
|
|
47
|
+
/**
|
|
48
|
+
* Create the full set of services required by Langium.
|
|
49
|
+
*
|
|
50
|
+
* First inject the shared services by merging two modules:
|
|
51
|
+
* - Langium default shared services
|
|
52
|
+
* - Services generated by langium-cli
|
|
53
|
+
*
|
|
54
|
+
* Then inject the language-specific services by merging three modules:
|
|
55
|
+
* - Langium default language-specific services
|
|
56
|
+
* - Services generated by langium-cli
|
|
57
|
+
* - Services specified in this file
|
|
58
|
+
*
|
|
59
|
+
* @param context Optional module context with the LSP connection
|
|
60
|
+
* @returns An object wrapping the shared services and the language-specific services
|
|
61
|
+
*/
|
|
62
|
+
export function createIntelligentSystemDesignLanguageServices(context) {
|
|
63
|
+
const shared = inject(createDefaultSharedModule(context), IntelligentSystemDesignLanguageGeneratedSharedModule);
|
|
64
|
+
const IntelligentSystemDesignLanguage = inject(createDefaultModule({ shared }), IntelligentSystemDesignLanguageGeneratedModule, IntelligentSystemDesignLanguageModule);
|
|
65
|
+
shared.ServiceRegistry.register(IntelligentSystemDesignLanguage);
|
|
66
|
+
registerValidationChecks(IntelligentSystemDesignLanguage);
|
|
67
|
+
return { shared, IntelligentSystemDesignLanguage };
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=intelligent-system-design-language-module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intelligent-system-design-language-module.js","sourceRoot":"","sources":["../../src/language/intelligent-system-design-language-module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAe,MAAM,EAAE,MAAM,SAAS,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,yBAAyB,EAAkH,MAAM,aAAa,CAAC;AAC7L,OAAO,EAAE,8CAA8C,EAAE,oDAAoD,EAAE,MAAM,uBAAuB,CAAC;AAC7I,OAAO,EAAE,wCAAwC,EAAE,wBAAwB,EAAE,MAAM,mDAAmD,CAAC;AACvI,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,MAAM,mDAAmD,CAAC;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAiB7D;;;;GAIG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAA2H;IACzK,UAAU,EAAE;QACR,wCAAwC,EAAE,GAAG,EAAE,CAAC,IAAI,wCAAwC,EAAE;KACjG;IACD,UAAU,EAAE;QACR,aAAa,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,IAAI,iBAAiB,CAAC,QAAQ,CAAC;KAC/D;IACD,GAAG,EAAE;QACD,SAAS,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAI,aAAa,EAAE;QAC7C,aAAa,EAAE,CAAC,SAAS,EAAE,EAAE,CAAC,IAAI,iBAAiB,EAAE;KACxD;CACJ,CAAC;AAEF,4DAA4D;AAC5D,sEAAsE;AACtE,mDAAmD;AACnD,qCAAqC;AACrC,2FAA2F;AAC3F,QAAQ;AAER,gDAAgD;AAChD,uEAAuE;AACvE,+EAA+E;AAC/E,wFAAwF;AAExF,kDAAkD;AAClD,yFAAyF;AACzF,sDAAsD;AACtD,6CAA6C;AAC7C,sDAAsD;AACtD,mHAAmH;AACnH,iCAAiC;AACjC,iDAAiD;AACjD,YAAY;AACZ,8BAA8B;AAC9B,QAAQ;AACR,IAAI;AAEJ;;;;;;;;;;;;;;GAcG;AACH,MAAM,UAAU,6CAA6C,CAAC,OAAmC;IAI7F,MAAM,MAAM,GAAG,MAAM,CACjB,yBAAyB,CAAC,OAAO,CAAC,EAClC,oDAAoD,CACvD,CAAC;IACF,MAAM,+BAA+B,GAAG,MAAM,CAC1C,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAAC,EAC/B,8CAA8C,EAC9C,qCAAqC,CACxC,CAAC;IACF,MAAM,CAAC,eAAe,CAAC,QAAQ,CAAC,+BAA+B,CAAC,CAAC;IACjE,wBAAwB,CAAC,+BAA+B,CAAC,CAAC;IAC1D,OAAO,EAAE,MAAM,EAAE,+BAA+B,EAAE,CAAC;AACvD,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as vscode from 'vscode';
|
|
2
|
+
export class IntelligentSystemDesignLanguageQuickfixes {
|
|
3
|
+
provideCodeActions(document, range, context, token) {
|
|
4
|
+
const actions = [];
|
|
5
|
+
for (const diagnostic of context.diagnostics) {
|
|
6
|
+
if (diagnostic.range) {
|
|
7
|
+
switch (diagnostic.code) {
|
|
8
|
+
case 'tracker-segments-unnecessary':
|
|
9
|
+
this.trackerSegmentsUnnecessary(document, diagnostic, actions);
|
|
10
|
+
break;
|
|
11
|
+
default:
|
|
12
|
+
// Handle other diagnostics if needed
|
|
13
|
+
break;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return actions;
|
|
18
|
+
}
|
|
19
|
+
trackerSegmentsUnnecessary(document, diagnostic, actions) {
|
|
20
|
+
const text = document.getText();
|
|
21
|
+
const endOffset = document.offsetAt(diagnostic.range.end);
|
|
22
|
+
// Look ahead for trailing comma and whitespace
|
|
23
|
+
const after = text.slice(endOffset);
|
|
24
|
+
const commaMatch = after.match(/^([\s,]+)/);
|
|
25
|
+
const fullEnd = commaMatch
|
|
26
|
+
? document.positionAt(endOffset + commaMatch[0].length)
|
|
27
|
+
: diagnostic.range.end;
|
|
28
|
+
const fullRange = new vscode.Range(diagnostic.range.start, fullEnd);
|
|
29
|
+
const fix = new vscode.CodeAction("Remove unnecessary `segments` parameter", vscode.CodeActionKind.QuickFix);
|
|
30
|
+
fix.diagnostics = [diagnostic];
|
|
31
|
+
fix.isPreferred = true;
|
|
32
|
+
fix.edit = new vscode.WorkspaceEdit();
|
|
33
|
+
fix.edit.replace(document.uri, fullRange, '');
|
|
34
|
+
actions.push(fix);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=intelligent-system-design-language-quickfixes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"intelligent-system-design-language-quickfixes.js","sourceRoot":"","sources":["../../src/language/intelligent-system-design-language-quickfixes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,QAAQ,CAAC;AAGjC,MAAM,OAAO,yCAAyC;IAElD,kBAAkB,CAAC,QAA6B,EAAE,KAAsC,EAAE,OAAiC,EAAE,KAA+B;QACxJ,MAAM,OAAO,GAAiB,EAAE,CAAC;QAEjC,KAAK,MAAM,UAAU,IAAI,OAAO,CAAC,WAAW,EAAE;YAC1C,IAAI,UAAU,CAAC,KAAK,EAAE;gBAClB,QAAQ,UAAU,CAAC,IAAI,EAAE;oBACrB,KAAK,8BAA8B;wBAC/B,IAAI,CAAC,0BAA0B,CAAC,QAAQ,EAAE,UAAU,EAAE,OAAO,CAAC,CAAC;wBAC/D,MAAM;oBACV;wBACI,qCAAqC;wBACrC,MAAM;iBACb;aACJ;SACJ;QAED,OAAO,OAAO,CAAC;IACnB,CAAC;IAEO,0BAA0B,CAAC,QAA6B,EAAE,UAA6B,EAAE,OAA4B;QACzH,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,EAAE,CAAC;QAChC,MAAM,SAAS,GAAG,QAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,KAAK,CAAC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