intelligent-system-design-language 0.3.24 → 0.3.25
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/out/cli/components/init-hook-generator.js +47 -2
- package/out/cli/components/init-hook-generator.js.map +1 -1
- package/out/cli/components/language-generator.js +17 -13
- package/out/cli/components/language-generator.js.map +1 -1
- package/out/cli/components/method-generator.js +11 -1
- package/out/cli/components/method-generator.js.map +1 -1
- package/out/cli/components/utils.js +34 -1
- package/out/cli/components/utils.js.map +1 -1
- package/out/extension/main.cjs +1687 -770
- package/out/extension/main.cjs.map +3 -3
- package/out/extension/package.json +1 -1
- package/out/language/generated/ast.js +165 -2
- package/out/language/generated/ast.js.map +1 -1
- package/out/language/generated/grammar.js +1414 -743
- package/out/language/generated/grammar.js.map +1 -1
- package/out/language/intelligent-system-design-language-validator.js +70 -3
- package/out/language/intelligent-system-design-language-validator.js.map +1 -1
- package/out/language/isdl-scope-provider.js +11 -1
- package/out/language/isdl-scope-provider.js.map +1 -1
- package/out/language/main.cjs +1687 -770
- package/out/language/main.cjs.map +3 -3
- package/out/package.json +1 -1
- package/out/test/validating/settings.test.js +94 -0
- package/out/test/validating/settings.test.js.map +1 -0
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"displayName": "ISDL - Intelligent System Design Language",
|
|
4
4
|
"description": "Intelligent System Design Language support for Visual Studio Code",
|
|
5
5
|
"publisher": "IronMooseDevelopment",
|
|
6
|
-
"version": "0.3.
|
|
6
|
+
"version": "0.3.25",
|
|
7
7
|
"author": "Iron Moose Development",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -193,6 +193,14 @@ export const SelfPropertyRefParams = 'SelfPropertyRefParams';
|
|
|
193
193
|
export function isSelfPropertyRefParams(item) {
|
|
194
194
|
return reflection.isInstance(item, SelfPropertyRefParams);
|
|
195
195
|
}
|
|
196
|
+
export const SettingField = 'SettingField';
|
|
197
|
+
export function isSettingField(item) {
|
|
198
|
+
return reflection.isInstance(item, SettingField);
|
|
199
|
+
}
|
|
200
|
+
export const SettingParam = 'SettingParam';
|
|
201
|
+
export function isSettingParam(item) {
|
|
202
|
+
return reflection.isInstance(item, SettingParam);
|
|
203
|
+
}
|
|
196
204
|
export const StandardFieldParams = 'StandardFieldParams';
|
|
197
205
|
export function isStandardFieldParams(item) {
|
|
198
206
|
return reflection.isInstance(item, StandardFieldParams);
|
|
@@ -293,6 +301,10 @@ export const BooleanParamValue = 'BooleanParamValue';
|
|
|
293
301
|
export function isBooleanParamValue(item) {
|
|
294
302
|
return reflection.isInstance(item, BooleanParamValue);
|
|
295
303
|
}
|
|
304
|
+
export const BooleanSetting = 'BooleanSetting';
|
|
305
|
+
export function isBooleanSetting(item) {
|
|
306
|
+
return reflection.isInstance(item, BooleanSetting);
|
|
307
|
+
}
|
|
296
308
|
export const ChatBlock = 'ChatBlock';
|
|
297
309
|
export function isChatBlock(item) {
|
|
298
310
|
return reflection.isInstance(item, ChatBlock);
|
|
@@ -685,6 +697,10 @@ export const NumberRange = 'NumberRange';
|
|
|
685
697
|
export function isNumberRange(item) {
|
|
686
698
|
return reflection.isInstance(item, NumberRange);
|
|
687
699
|
}
|
|
700
|
+
export const NumberSetting = 'NumberSetting';
|
|
701
|
+
export function isNumberSetting(item) {
|
|
702
|
+
return reflection.isInstance(item, NumberSetting);
|
|
703
|
+
}
|
|
688
704
|
export const Page = 'Page';
|
|
689
705
|
export function isPage(item) {
|
|
690
706
|
return reflection.isInstance(item, Page);
|
|
@@ -821,6 +837,26 @@ export const SelfPropertyRefExp = 'SelfPropertyRefExp';
|
|
|
821
837
|
export function isSelfPropertyRefExp(item) {
|
|
822
838
|
return reflection.isInstance(item, SelfPropertyRefExp);
|
|
823
839
|
}
|
|
840
|
+
export const SettingChoices = 'SettingChoices';
|
|
841
|
+
export function isSettingChoices(item) {
|
|
842
|
+
return reflection.isInstance(item, SettingChoices);
|
|
843
|
+
}
|
|
844
|
+
export const SettingHint = 'SettingHint';
|
|
845
|
+
export function isSettingHint(item) {
|
|
846
|
+
return reflection.isInstance(item, SettingHint);
|
|
847
|
+
}
|
|
848
|
+
export const SettingInitial = 'SettingInitial';
|
|
849
|
+
export function isSettingInitial(item) {
|
|
850
|
+
return reflection.isInstance(item, SettingInitial);
|
|
851
|
+
}
|
|
852
|
+
export const Settings = 'Settings';
|
|
853
|
+
export function isSettings(item) {
|
|
854
|
+
return reflection.isInstance(item, Settings);
|
|
855
|
+
}
|
|
856
|
+
export const SettingScope = 'SettingScope';
|
|
857
|
+
export function isSettingScope(item) {
|
|
858
|
+
return reflection.isInstance(item, SettingScope);
|
|
859
|
+
}
|
|
824
860
|
export const ShorthandComparisonExpression = 'ShorthandComparisonExpression';
|
|
825
861
|
export function isShorthandComparisonExpression(item) {
|
|
826
862
|
return reflection.isInstance(item, ShorthandComparisonExpression);
|
|
@@ -849,6 +885,10 @@ export const StringChoiceField = 'StringChoiceField';
|
|
|
849
885
|
export function isStringChoiceField(item) {
|
|
850
886
|
return reflection.isInstance(item, StringChoiceField);
|
|
851
887
|
}
|
|
888
|
+
export const StringChoiceSetting = 'StringChoiceSetting';
|
|
889
|
+
export function isStringChoiceSetting(item) {
|
|
890
|
+
return reflection.isInstance(item, StringChoiceSetting);
|
|
891
|
+
}
|
|
852
892
|
export const StringChoicesField = 'StringChoicesField';
|
|
853
893
|
export function isStringChoicesField(item) {
|
|
854
894
|
return reflection.isInstance(item, StringChoicesField);
|
|
@@ -881,6 +921,10 @@ export const StringParamValue = 'StringParamValue';
|
|
|
881
921
|
export function isStringParamValue(item) {
|
|
882
922
|
return reflection.isInstance(item, StringParamValue);
|
|
883
923
|
}
|
|
924
|
+
export const StringSetting = 'StringSetting';
|
|
925
|
+
export function isStringSetting(item) {
|
|
926
|
+
return reflection.isInstance(item, StringSetting);
|
|
927
|
+
}
|
|
884
928
|
export const SuccessParam = 'SuccessParam';
|
|
885
929
|
export function isSuccessParam(item) {
|
|
886
930
|
return reflection.isInstance(item, SuccessParam);
|
|
@@ -889,6 +933,14 @@ export const SummaryParam = 'SummaryParam';
|
|
|
889
933
|
export function isSummaryParam(item) {
|
|
890
934
|
return reflection.isInstance(item, SummaryParam);
|
|
891
935
|
}
|
|
936
|
+
export const SystemSettingAccess = 'SystemSettingAccess';
|
|
937
|
+
export function isSystemSettingAccess(item) {
|
|
938
|
+
return reflection.isInstance(item, SystemSettingAccess);
|
|
939
|
+
}
|
|
940
|
+
export const SystemSettingAssignment = 'SystemSettingAssignment';
|
|
941
|
+
export function isSystemSettingAssignment(item) {
|
|
942
|
+
return reflection.isInstance(item, SystemSettingAssignment);
|
|
943
|
+
}
|
|
892
944
|
export const TableField = 'TableField';
|
|
893
945
|
export function isTableField(item) {
|
|
894
946
|
return reflection.isInstance(item, TableField);
|
|
@@ -1011,7 +1063,7 @@ export function isTargetAccess(item) {
|
|
|
1011
1063
|
}
|
|
1012
1064
|
export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstReflection {
|
|
1013
1065
|
getAllTypes() {
|
|
1014
|
-
return ['Access', 'Action', 'ActionParam', 'Actor', 'ArrayExpression', 'Assignment', 'AttributeExp', 'AttributeFunctionParam', 'AttributeParamMod', 'AttributeParameter', 'AttributeRollParam', 'AttributeStyleParam', 'BackgroundParam', 'BasicFields', 'BinaryExpression', 'BooleanExp', 'BooleanParamValue', 'BooleanParameter', 'ChatBlock', 'ChatBlockExpression', 'ChatCard', 'ChoiceCustomProperty', 'ChoiceProperty', 'ChoiceStringValue', 'ClassExpression', 'ColorParam', 'Column', 'Combat', 'CombatMethods', 'CombatProperty', 'ComparisonExpression', 'ComplexFields', 'Config', 'ConfigExpression', 'CritParam', 'DamageBonusesField', 'DamageResistancesField', 'DamageRoll', 'DamageRollParam', 'DamageTrackExp', 'DamageTrackParams', 'DamageTrackTypesParam', 'DamageTypeChoiceField', 'DateExp', 'DateTimeExp', 'DateTimeFields', 'DiceField', 'DiceFields', 'DieChoicesParam', 'DieField', 'DieInitialParam', 'DieNoneParam', 'DieParams', 'DieValueParam', 'Document', 'DocumentChoiceExp', 'DocumentChoiceParms', 'DocumentChoicesExp', 'DocumentCreatableParam', 'DocumentDefaultParam', 'DocumentDescriptionParam', 'DocumentFields', 'DocumentParam', 'DocumentSvgParam', 'Each', 'EachAccess', 'ElseIf', 'Entry', 'Expr', 'Expression', 'ExpressionAssignment', 'FailureParam', 'FleetingAccess', 'FumbleParam', 'FunctionCall', 'FunctionDefinition', 'FunctionParam', 'GlobalParam', 'Group', 'HeightParam', 'HookHandler', 'HtmlExp', 'IconParam', 'IfStatement', 'ImageParam', 'IncrementDecrementAssignment', 'InitiativeProperty', 'InventoryColumnsParam', 'InventoryEmptySlotsParam', 'InventoryField', 'InventoryMoneyParam', 'InventoryParams', 'InventoryQuantityParam', 'InventoryRowsParam', 'InventorySlotSizeParam', 'InventorySlotsParam', 'InventorySortParam', 'InventorySumMaxParam', 'InventorySumMaxValues', 'InventorySumParam', 'InventorySumProperties', 'InventorySummaryParam', 'Item', 'ItemAccess', 'JS', 'Keyword', 'KeywordParam', 'Keywords', 'LabelParam', 'Layout', 'Literal', 'LocationParam', 'LogExpression', 'MacroExecute', 'MacroField', 'MathEmptyExpression', 'MathExpression', 'MathParamExpression', 'MathSingleExpression', 'MeasuredTemplateField', 'MethodBlock', 'MethodBlockExpression', 'MethodContainer', 'MethodParam', 'MoneyDenomination', 'MoneyDenominationParam', 'MoneyDenominationValueParam', 'MoneyDisplayParam', 'MoneyField', 'MoneyFormatParam', 'MoneyParameter', 'MoneyPrecisionParam', 'NegExpression', 'NumberExp', 'NumberFieldParams', 'NumberParamCalculator', 'NumberParamInitial', 'NumberParamMax', 'NumberParamMin', 'NumberParamValue', 'NumberParameter', 'NumberRange', 'Page', 'PaperDollDocumentReference', 'PaperDollElement', 'PaperDollExp', 'PaperDollParameter', 'Parameter', 'ParentAccess', 'ParentAssignment', 'ParentExpressionAssignment', 'ParentIncrementDecrementAssignment', 'ParentPropertyRefChoice', 'ParentPropertyRefChoiceParam', 'ParentPropertyRefExp', 'ParentPropertyRefParams', 'ParentQuickModifyAssignment', 'ParentTypeCheckExpression', 'PinnedField', 'PlayAudio', 'PlayAudioFile', 'PlayAudioParams', 'PlayAudioVolume', 'PrimitiveExpression', 'Prompt', 'PromptInputAccess', 'PromptParams', 'Property', 'QuickModifyAssignment', 'Ref', 'ReferenceFields', 'ResourceExp', 'ResourceParameter', 'ReturnExpression', 'Roll', 'RollParam', 'RollParameter', 'RollPredicateArg', 'RollResultAccess', 'RollVisualizerField', 'RollVisualizerParameter', 'RollVisualizerValueParam', 'Row', 'Section', 'SegmentsParameter', 'SelfMethod', 'SelfPropertyRefChoice', 'SelfPropertyRefChoiceParam', 'SelfPropertyRefExp', 'SelfPropertyRefParams', 'ShorthandComparisonExpression', 'SingleDocumentExp', 'SizeParam', 'StandardFieldParams', 'StatusParamWhen', 'StatusProperty', 'StatusPropertyParameter', 'StringChoice', 'StringChoiceField', 'StringChoicesField', 'StringChoicesParamChoices', 'StringChoicesParamInitial', 'StringChoicesParamMax', 'StringChoicesParameter', 'StringExp', 'StringExtendedChoice', 'StringParamChoices', 'StringParamValue', 'StringParameter', 'SuccessParam', 'SummaryParam', 'TableField', 'TableFieldsParam', 'TableImageActionParam', 'TableImageParam', 'TableParams', 'TargetAccess', 'TargetAssignment', 'TargetExpressionAssignment', 'TargetIncrementDecrementAssignment', 'TargetParam', 'TargetQuickModifyAssignment', 'TargetTypeCheckExpression', 'TimeExp', 'TimeLimitParam', 'TrackerExp', 'TrackerParameter', 'TrackerStyleParameter', 'TypeParam', 'Update', 'UpdateParent', 'UpdateSelf', 'User', 'UserProperty', 'VariableAccess', 'VariableAssignment', 'VariableExpression', 'VariableExpressionAssignment', 'VariableIncrementDecrementAssignment', 'VariableQuickModifyAssignment', 'VisibilityParam', 'VisibilityValue', 'Wait', 'WhenExpressions', 'WhereParam', 'WidthParam', 'WipFields'];
|
|
1066
|
+
return ['Access', 'Action', 'ActionParam', 'Actor', 'ArrayExpression', 'Assignment', 'AttributeExp', 'AttributeFunctionParam', 'AttributeParamMod', 'AttributeParameter', 'AttributeRollParam', 'AttributeStyleParam', 'BackgroundParam', 'BasicFields', 'BinaryExpression', 'BooleanExp', 'BooleanParamValue', 'BooleanParameter', 'BooleanSetting', 'ChatBlock', 'ChatBlockExpression', 'ChatCard', 'ChoiceCustomProperty', 'ChoiceProperty', 'ChoiceStringValue', 'ClassExpression', 'ColorParam', 'Column', 'Combat', 'CombatMethods', 'CombatProperty', 'ComparisonExpression', 'ComplexFields', 'Config', 'ConfigExpression', 'CritParam', 'DamageBonusesField', 'DamageResistancesField', 'DamageRoll', 'DamageRollParam', 'DamageTrackExp', 'DamageTrackParams', 'DamageTrackTypesParam', 'DamageTypeChoiceField', 'DateExp', 'DateTimeExp', 'DateTimeFields', 'DiceField', 'DiceFields', 'DieChoicesParam', 'DieField', 'DieInitialParam', 'DieNoneParam', 'DieParams', 'DieValueParam', 'Document', 'DocumentChoiceExp', 'DocumentChoiceParms', 'DocumentChoicesExp', 'DocumentCreatableParam', 'DocumentDefaultParam', 'DocumentDescriptionParam', 'DocumentFields', 'DocumentParam', 'DocumentSvgParam', 'Each', 'EachAccess', 'ElseIf', 'Entry', 'Expr', 'Expression', 'ExpressionAssignment', 'FailureParam', 'FleetingAccess', 'FumbleParam', 'FunctionCall', 'FunctionDefinition', 'FunctionParam', 'GlobalParam', 'Group', 'HeightParam', 'HookHandler', 'HtmlExp', 'IconParam', 'IfStatement', 'ImageParam', 'IncrementDecrementAssignment', 'InitiativeProperty', 'InventoryColumnsParam', 'InventoryEmptySlotsParam', 'InventoryField', 'InventoryMoneyParam', 'InventoryParams', 'InventoryQuantityParam', 'InventoryRowsParam', 'InventorySlotSizeParam', 'InventorySlotsParam', 'InventorySortParam', 'InventorySumMaxParam', 'InventorySumMaxValues', 'InventorySumParam', 'InventorySumProperties', 'InventorySummaryParam', 'Item', 'ItemAccess', 'JS', 'Keyword', 'KeywordParam', 'Keywords', 'LabelParam', 'Layout', 'Literal', 'LocationParam', 'LogExpression', 'MacroExecute', 'MacroField', 'MathEmptyExpression', 'MathExpression', 'MathParamExpression', 'MathSingleExpression', 'MeasuredTemplateField', 'MethodBlock', 'MethodBlockExpression', 'MethodContainer', 'MethodParam', 'MoneyDenomination', 'MoneyDenominationParam', 'MoneyDenominationValueParam', 'MoneyDisplayParam', 'MoneyField', 'MoneyFormatParam', 'MoneyParameter', 'MoneyPrecisionParam', 'NegExpression', 'NumberExp', 'NumberFieldParams', 'NumberParamCalculator', 'NumberParamInitial', 'NumberParamMax', 'NumberParamMin', 'NumberParamValue', 'NumberParameter', 'NumberRange', 'NumberSetting', 'Page', 'PaperDollDocumentReference', 'PaperDollElement', 'PaperDollExp', 'PaperDollParameter', 'Parameter', 'ParentAccess', 'ParentAssignment', 'ParentExpressionAssignment', 'ParentIncrementDecrementAssignment', 'ParentPropertyRefChoice', 'ParentPropertyRefChoiceParam', 'ParentPropertyRefExp', 'ParentPropertyRefParams', 'ParentQuickModifyAssignment', 'ParentTypeCheckExpression', 'PinnedField', 'PlayAudio', 'PlayAudioFile', 'PlayAudioParams', 'PlayAudioVolume', 'PrimitiveExpression', 'Prompt', 'PromptInputAccess', 'PromptParams', 'Property', 'QuickModifyAssignment', 'Ref', 'ReferenceFields', 'ResourceExp', 'ResourceParameter', 'ReturnExpression', 'Roll', 'RollParam', 'RollParameter', 'RollPredicateArg', 'RollResultAccess', 'RollVisualizerField', 'RollVisualizerParameter', 'RollVisualizerValueParam', 'Row', 'Section', 'SegmentsParameter', 'SelfMethod', 'SelfPropertyRefChoice', 'SelfPropertyRefChoiceParam', 'SelfPropertyRefExp', 'SelfPropertyRefParams', 'SettingChoices', 'SettingField', 'SettingHint', 'SettingInitial', 'SettingParam', 'SettingScope', 'Settings', 'ShorthandComparisonExpression', 'SingleDocumentExp', 'SizeParam', 'StandardFieldParams', 'StatusParamWhen', 'StatusProperty', 'StatusPropertyParameter', 'StringChoice', 'StringChoiceField', 'StringChoiceSetting', 'StringChoicesField', 'StringChoicesParamChoices', 'StringChoicesParamInitial', 'StringChoicesParamMax', 'StringChoicesParameter', 'StringExp', 'StringExtendedChoice', 'StringParamChoices', 'StringParamValue', 'StringParameter', 'StringSetting', 'SuccessParam', 'SummaryParam', 'SystemSettingAccess', 'SystemSettingAssignment', 'TableField', 'TableFieldsParam', 'TableImageActionParam', 'TableImageParam', 'TableParams', 'TargetAccess', 'TargetAssignment', 'TargetExpressionAssignment', 'TargetIncrementDecrementAssignment', 'TargetParam', 'TargetQuickModifyAssignment', 'TargetTypeCheckExpression', 'TimeExp', 'TimeLimitParam', 'TrackerExp', 'TrackerParameter', 'TrackerStyleParameter', 'TypeParam', 'Update', 'UpdateParent', 'UpdateSelf', 'User', 'UserProperty', 'VariableAccess', 'VariableAssignment', 'VariableExpression', 'VariableExpressionAssignment', 'VariableIncrementDecrementAssignment', 'VariableQuickModifyAssignment', 'VisibilityParam', 'VisibilityValue', 'Wait', 'WhenExpressions', 'WhereParam', 'WidthParam', 'WipFields'];
|
|
1015
1067
|
}
|
|
1016
1068
|
computeIsSubtype(subtype, supertype) {
|
|
1017
1069
|
switch (subtype) {
|
|
@@ -1042,6 +1094,7 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
1042
1094
|
case Ref:
|
|
1043
1095
|
case Roll:
|
|
1044
1096
|
case RollResultAccess:
|
|
1097
|
+
case SystemSettingAccess:
|
|
1045
1098
|
case VisibilityValue: {
|
|
1046
1099
|
return this.isSubtype(PrimitiveExpression, supertype);
|
|
1047
1100
|
}
|
|
@@ -1056,6 +1109,7 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
1056
1109
|
case PlayAudio:
|
|
1057
1110
|
case ReturnExpression:
|
|
1058
1111
|
case SelfMethod:
|
|
1112
|
+
case SystemSettingAssignment:
|
|
1059
1113
|
case TargetAssignment:
|
|
1060
1114
|
case Update:
|
|
1061
1115
|
case User:
|
|
@@ -1110,6 +1164,12 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
1110
1164
|
case BooleanParamValue: {
|
|
1111
1165
|
return this.isSubtype(BooleanParameter, supertype);
|
|
1112
1166
|
}
|
|
1167
|
+
case BooleanSetting:
|
|
1168
|
+
case NumberSetting:
|
|
1169
|
+
case StringChoiceSetting:
|
|
1170
|
+
case StringSetting: {
|
|
1171
|
+
return this.isSubtype(SettingField, supertype);
|
|
1172
|
+
}
|
|
1113
1173
|
case ChoiceCustomProperty:
|
|
1114
1174
|
case WhenExpressions: {
|
|
1115
1175
|
return this.isSubtype(ChoiceProperty, supertype);
|
|
@@ -1225,7 +1285,7 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
1225
1285
|
return this.isSubtype(InventoryParams, supertype);
|
|
1226
1286
|
}
|
|
1227
1287
|
case LabelParam: {
|
|
1228
|
-
return this.isSubtype(ChoiceProperty, supertype) || this.isSubtype(KeywordParam, supertype) || this.isSubtype(PromptParams, supertype) || this.isSubtype(StandardFieldParams, supertype);
|
|
1288
|
+
return this.isSubtype(ChoiceProperty, supertype) || this.isSubtype(KeywordParam, supertype) || this.isSubtype(PromptParams, supertype) || this.isSubtype(SettingParam, supertype) || this.isSubtype(StandardFieldParams, supertype);
|
|
1229
1289
|
}
|
|
1230
1290
|
case LocationParam:
|
|
1231
1291
|
case TargetParam:
|
|
@@ -1296,6 +1356,11 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
1296
1356
|
case SelfPropertyRefChoiceParam: {
|
|
1297
1357
|
return this.isSubtype(SelfPropertyRefParams, supertype);
|
|
1298
1358
|
}
|
|
1359
|
+
case SettingChoices:
|
|
1360
|
+
case SettingHint:
|
|
1361
|
+
case SettingInitial: {
|
|
1362
|
+
return this.isSubtype(SettingParam, supertype);
|
|
1363
|
+
}
|
|
1299
1364
|
case StandardFieldParams: {
|
|
1300
1365
|
return this.isSubtype(ActionParam, supertype) || this.isSubtype(AttributeParameter, supertype) || this.isSubtype(BooleanParameter, supertype) || this.isSubtype(DamageTrackParams, supertype) || this.isSubtype(DieParams, supertype) || this.isSubtype(DocumentChoiceParms, supertype) || this.isSubtype(InventoryParams, supertype) || this.isSubtype(MoneyParameter, supertype) || this.isSubtype(NumberParameter, supertype) || this.isSubtype(PaperDollParameter, supertype) || this.isSubtype(ParentPropertyRefParams, supertype) || this.isSubtype(ResourceParameter, supertype) || this.isSubtype(RollVisualizerParameter, supertype) || this.isSubtype(SelfPropertyRefParams, supertype) || this.isSubtype(StringChoicesParameter, supertype) || this.isSubtype(StringParameter, supertype) || this.isSubtype(TableParams, supertype) || this.isSubtype(TrackerParameter, supertype);
|
|
1301
1366
|
}
|
|
@@ -1420,6 +1485,10 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
1420
1485
|
case 'VariableQuickModifyAssignment:variable': {
|
|
1421
1486
|
return VariableAccess;
|
|
1422
1487
|
}
|
|
1488
|
+
case 'SystemSettingAccess:setting':
|
|
1489
|
+
case 'SystemSettingAssignment:setting': {
|
|
1490
|
+
return SettingField;
|
|
1491
|
+
}
|
|
1423
1492
|
case 'TableImageActionParam:action': {
|
|
1424
1493
|
return Action;
|
|
1425
1494
|
}
|
|
@@ -1540,6 +1609,15 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
1540
1609
|
]
|
|
1541
1610
|
};
|
|
1542
1611
|
}
|
|
1612
|
+
case 'BooleanSetting': {
|
|
1613
|
+
return {
|
|
1614
|
+
name: 'BooleanSetting',
|
|
1615
|
+
properties: [
|
|
1616
|
+
{ name: 'name' },
|
|
1617
|
+
{ name: 'params', defaultValue: [] }
|
|
1618
|
+
]
|
|
1619
|
+
};
|
|
1620
|
+
}
|
|
1543
1621
|
case 'ChatBlock': {
|
|
1544
1622
|
return {
|
|
1545
1623
|
name: 'ChatBlock',
|
|
@@ -2405,6 +2483,15 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
2405
2483
|
]
|
|
2406
2484
|
};
|
|
2407
2485
|
}
|
|
2486
|
+
case 'NumberSetting': {
|
|
2487
|
+
return {
|
|
2488
|
+
name: 'NumberSetting',
|
|
2489
|
+
properties: [
|
|
2490
|
+
{ name: 'name' },
|
|
2491
|
+
{ name: 'params', defaultValue: [] }
|
|
2492
|
+
]
|
|
2493
|
+
};
|
|
2494
|
+
}
|
|
2408
2495
|
case 'Page': {
|
|
2409
2496
|
return {
|
|
2410
2497
|
name: 'Page',
|
|
@@ -2723,6 +2810,47 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
2723
2810
|
]
|
|
2724
2811
|
};
|
|
2725
2812
|
}
|
|
2813
|
+
case 'SettingChoices': {
|
|
2814
|
+
return {
|
|
2815
|
+
name: 'SettingChoices',
|
|
2816
|
+
properties: [
|
|
2817
|
+
{ name: 'choices' }
|
|
2818
|
+
]
|
|
2819
|
+
};
|
|
2820
|
+
}
|
|
2821
|
+
case 'SettingHint': {
|
|
2822
|
+
return {
|
|
2823
|
+
name: 'SettingHint',
|
|
2824
|
+
properties: [
|
|
2825
|
+
{ name: 'value' }
|
|
2826
|
+
]
|
|
2827
|
+
};
|
|
2828
|
+
}
|
|
2829
|
+
case 'SettingInitial': {
|
|
2830
|
+
return {
|
|
2831
|
+
name: 'SettingInitial',
|
|
2832
|
+
properties: [
|
|
2833
|
+
{ name: 'value', defaultValue: false }
|
|
2834
|
+
]
|
|
2835
|
+
};
|
|
2836
|
+
}
|
|
2837
|
+
case 'Settings': {
|
|
2838
|
+
return {
|
|
2839
|
+
name: 'Settings',
|
|
2840
|
+
properties: [
|
|
2841
|
+
{ name: 'groups', defaultValue: [] }
|
|
2842
|
+
]
|
|
2843
|
+
};
|
|
2844
|
+
}
|
|
2845
|
+
case 'SettingScope': {
|
|
2846
|
+
return {
|
|
2847
|
+
name: 'SettingScope',
|
|
2848
|
+
properties: [
|
|
2849
|
+
{ name: 'scope' },
|
|
2850
|
+
{ name: 'settings', defaultValue: [] }
|
|
2851
|
+
]
|
|
2852
|
+
};
|
|
2853
|
+
}
|
|
2726
2854
|
case 'ShorthandComparisonExpression': {
|
|
2727
2855
|
return {
|
|
2728
2856
|
name: 'ShorthandComparisonExpression',
|
|
@@ -2787,6 +2915,15 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
2787
2915
|
]
|
|
2788
2916
|
};
|
|
2789
2917
|
}
|
|
2918
|
+
case 'StringChoiceSetting': {
|
|
2919
|
+
return {
|
|
2920
|
+
name: 'StringChoiceSetting',
|
|
2921
|
+
properties: [
|
|
2922
|
+
{ name: 'name' },
|
|
2923
|
+
{ name: 'params', defaultValue: [] }
|
|
2924
|
+
]
|
|
2925
|
+
};
|
|
2926
|
+
}
|
|
2790
2927
|
case 'StringChoicesField': {
|
|
2791
2928
|
return {
|
|
2792
2929
|
name: 'StringChoicesField',
|
|
@@ -2855,6 +2992,15 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
2855
2992
|
]
|
|
2856
2993
|
};
|
|
2857
2994
|
}
|
|
2995
|
+
case 'StringSetting': {
|
|
2996
|
+
return {
|
|
2997
|
+
name: 'StringSetting',
|
|
2998
|
+
properties: [
|
|
2999
|
+
{ name: 'name' },
|
|
3000
|
+
{ name: 'params', defaultValue: [] }
|
|
3001
|
+
]
|
|
3002
|
+
};
|
|
3003
|
+
}
|
|
2858
3004
|
case 'SuccessParam': {
|
|
2859
3005
|
return {
|
|
2860
3006
|
name: 'SuccessParam',
|
|
@@ -2872,6 +3018,23 @@ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstRef
|
|
|
2872
3018
|
]
|
|
2873
3019
|
};
|
|
2874
3020
|
}
|
|
3021
|
+
case 'SystemSettingAccess': {
|
|
3022
|
+
return {
|
|
3023
|
+
name: 'SystemSettingAccess',
|
|
3024
|
+
properties: [
|
|
3025
|
+
{ name: 'setting' }
|
|
3026
|
+
]
|
|
3027
|
+
};
|
|
3028
|
+
}
|
|
3029
|
+
case 'SystemSettingAssignment': {
|
|
3030
|
+
return {
|
|
3031
|
+
name: 'SystemSettingAssignment',
|
|
3032
|
+
properties: [
|
|
3033
|
+
{ name: 'exp' },
|
|
3034
|
+
{ name: 'setting' }
|
|
3035
|
+
]
|
|
3036
|
+
};
|
|
3037
|
+
}
|
|
2875
3038
|
case 'TableField': {
|
|
2876
3039
|
return {
|
|
2877
3040
|
name: 'TableField',
|