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.
Files changed (209) hide show
  1. package/.claude/agents/langium-language-designer.md +38 -0
  2. package/.claude/agents/typescript-vscode-expert.md +29 -0
  3. package/.claude/agents/ui-ux-designer.md +36 -0
  4. package/.claude/settings.local.json +33 -0
  5. package/.idea/inspectionProfiles/Project_Default.xml +7 -0
  6. package/.idea/isdl.iml +14 -0
  7. package/.idea/modules.xml +9 -0
  8. package/.idea/vcs.xml +7 -0
  9. package/.idea/watcherTasks.xml +4 -0
  10. package/.vscodeignore +18 -0
  11. package/LICENSE +674 -0
  12. package/README.md +86 -0
  13. package/bin/cli.js +4 -0
  14. package/bin/lsp.js +8 -0
  15. package/isdl.png +0 -0
  16. package/out/_backgrounds.scss +91 -0
  17. package/out/_handlebars.scss +505 -0
  18. package/out/_isdlStyles.scss +1357 -0
  19. package/out/_vuetifyOverrides.scss +425 -0
  20. package/out/_vuetifyStyles.scss +31957 -0
  21. package/out/cli/cli-util.js +39 -0
  22. package/out/cli/cli-util.js.map +1 -0
  23. package/out/cli/components/_backgrounds.scss +91 -0
  24. package/out/cli/components/_handlebars.scss +505 -0
  25. package/out/cli/components/_isdlStyles.scss +1357 -0
  26. package/out/cli/components/_vuetifyOverrides.scss +425 -0
  27. package/out/cli/components/_vuetifyStyles.scss +31957 -0
  28. package/out/cli/components/active-effect-sheet-generator.js +643 -0
  29. package/out/cli/components/active-effect-sheet-generator.js.map +1 -0
  30. package/out/cli/components/base-actor-sheet-generator.js +125 -0
  31. package/out/cli/components/base-actor-sheet-generator.js.map +1 -0
  32. package/out/cli/components/base-sheet-generator.js +525 -0
  33. package/out/cli/components/base-sheet-generator.js.map +1 -0
  34. package/out/cli/components/chat-card-generator.js +683 -0
  35. package/out/cli/components/chat-card-generator.js.map +1 -0
  36. package/out/cli/components/css-generator.js +58 -0
  37. package/out/cli/components/css-generator.js.map +1 -0
  38. package/out/cli/components/damage-roll-generator.js +173 -0
  39. package/out/cli/components/damage-roll-generator.js.map +1 -0
  40. package/out/cli/components/datamodel-generator.js +672 -0
  41. package/out/cli/components/datamodel-generator.js.map +1 -0
  42. package/out/cli/components/derived-data-generator.js +1340 -0
  43. package/out/cli/components/derived-data-generator.js.map +1 -0
  44. package/out/cli/components/hotbar-drop-hook-generator.js +95 -0
  45. package/out/cli/components/hotbar-drop-hook-generator.js.map +1 -0
  46. package/out/cli/components/init-hook-generator.js +597 -0
  47. package/out/cli/components/init-hook-generator.js.map +1 -0
  48. package/out/cli/components/keywords-generator.js +220 -0
  49. package/out/cli/components/keywords-generator.js.map +1 -0
  50. package/out/cli/components/language-generator.js +110 -0
  51. package/out/cli/components/language-generator.js.map +1 -0
  52. package/out/cli/components/measured-template-preview.js +234 -0
  53. package/out/cli/components/measured-template-preview.js.map +1 -0
  54. package/out/cli/components/method-generator.js +1812 -0
  55. package/out/cli/components/method-generator.js.map +1 -0
  56. package/out/cli/components/ready-hook-generator.js +448 -0
  57. package/out/cli/components/ready-hook-generator.js.map +1 -0
  58. package/out/cli/components/token-generator.js +138 -0
  59. package/out/cli/components/token-generator.js.map +1 -0
  60. package/out/cli/components/utils.js +176 -0
  61. package/out/cli/components/utils.js.map +1 -0
  62. package/out/cli/components/vue/base-components/vue-attribute.js +148 -0
  63. package/out/cli/components/vue/base-components/vue-attribute.js.map +1 -0
  64. package/out/cli/components/vue/base-components/vue-boolean.js +77 -0
  65. package/out/cli/components/vue/base-components/vue-boolean.js.map +1 -0
  66. package/out/cli/components/vue/base-components/vue-calculator.js +106 -0
  67. package/out/cli/components/vue/base-components/vue-calculator.js.map +1 -0
  68. package/out/cli/components/vue/base-components/vue-damage-application.js +369 -0
  69. package/out/cli/components/vue/base-components/vue-damage-application.js.map +1 -0
  70. package/out/cli/components/vue/base-components/vue-damage-bonuses.js +225 -0
  71. package/out/cli/components/vue/base-components/vue-damage-bonuses.js.map +1 -0
  72. package/out/cli/components/vue/base-components/vue-damage-resistances.js +256 -0
  73. package/out/cli/components/vue/base-components/vue-damage-resistances.js.map +1 -0
  74. package/out/cli/components/vue/base-components/vue-damage-track.js +134 -0
  75. package/out/cli/components/vue/base-components/vue-damage-track.js.map +1 -0
  76. package/out/cli/components/vue/base-components/vue-date-time.js +55 -0
  77. package/out/cli/components/vue/base-components/vue-date-time.js.map +1 -0
  78. package/out/cli/components/vue/base-components/vue-dice.js +111 -0
  79. package/out/cli/components/vue/base-components/vue-dice.js.map +1 -0
  80. package/out/cli/components/vue/base-components/vue-die.js +86 -0
  81. package/out/cli/components/vue/base-components/vue-die.js.map +1 -0
  82. package/out/cli/components/vue/base-components/vue-document-choice.js +172 -0
  83. package/out/cli/components/vue/base-components/vue-document-choice.js.map +1 -0
  84. package/out/cli/components/vue/base-components/vue-document-choices.js +203 -0
  85. package/out/cli/components/vue/base-components/vue-document-choices.js.map +1 -0
  86. package/out/cli/components/vue/base-components/vue-document-link.js +73 -0
  87. package/out/cli/components/vue/base-components/vue-document-link.js.map +1 -0
  88. package/out/cli/components/vue/base-components/vue-extended-choice.js +101 -0
  89. package/out/cli/components/vue/base-components/vue-extended-choice.js.map +1 -0
  90. package/out/cli/components/vue/base-components/vue-inventory.js +532 -0
  91. package/out/cli/components/vue/base-components/vue-inventory.js.map +1 -0
  92. package/out/cli/components/vue/base-components/vue-macro-choice.js +150 -0
  93. package/out/cli/components/vue/base-components/vue-macro-choice.js.map +1 -0
  94. package/out/cli/components/vue/base-components/vue-measured-template.js +543 -0
  95. package/out/cli/components/vue/base-components/vue-measured-template.js.map +1 -0
  96. package/out/cli/components/vue/base-components/vue-money.js +496 -0
  97. package/out/cli/components/vue/base-components/vue-money.js.map +1 -0
  98. package/out/cli/components/vue/base-components/vue-number.js +184 -0
  99. package/out/cli/components/vue/base-components/vue-number.js.map +1 -0
  100. package/out/cli/components/vue/base-components/vue-paperdoll.js +56 -0
  101. package/out/cli/components/vue/base-components/vue-paperdoll.js.map +1 -0
  102. package/out/cli/components/vue/base-components/vue-parent-property-reference.js +89 -0
  103. package/out/cli/components/vue/base-components/vue-parent-property-reference.js.map +1 -0
  104. package/out/cli/components/vue/base-components/vue-prosemirror.js +31 -0
  105. package/out/cli/components/vue/base-components/vue-prosemirror.js.map +1 -0
  106. package/out/cli/components/vue/base-components/vue-resource.js +149 -0
  107. package/out/cli/components/vue/base-components/vue-resource.js.map +1 -0
  108. package/out/cli/components/vue/base-components/vue-roll-visualizer.js +121 -0
  109. package/out/cli/components/vue/base-components/vue-roll-visualizer.js.map +1 -0
  110. package/out/cli/components/vue/base-components/vue-self-property-reference.js +75 -0
  111. package/out/cli/components/vue/base-components/vue-self-property-reference.js.map +1 -0
  112. package/out/cli/components/vue/base-components/vue-string-choice.js +111 -0
  113. package/out/cli/components/vue/base-components/vue-string-choice.js.map +1 -0
  114. package/out/cli/components/vue/base-components/vue-string-choices.js +216 -0
  115. package/out/cli/components/vue/base-components/vue-string-choices.js.map +1 -0
  116. package/out/cli/components/vue/base-components/vue-string.js +73 -0
  117. package/out/cli/components/vue/base-components/vue-string.js.map +1 -0
  118. package/out/cli/components/vue/base-components/vue-text-field.js +66 -0
  119. package/out/cli/components/vue/base-components/vue-text-field.js.map +1 -0
  120. package/out/cli/components/vue/base-components/vue-tracker.js +444 -0
  121. package/out/cli/components/vue/base-components/vue-tracker.js.map +1 -0
  122. package/out/cli/components/vue/vue-action-component-generator.js +88 -0
  123. package/out/cli/components/vue/vue-action-component-generator.js.map +1 -0
  124. package/out/cli/components/vue/vue-active-effect-sheet-generator.js +1016 -0
  125. package/out/cli/components/vue/vue-active-effect-sheet-generator.js.map +1 -0
  126. package/out/cli/components/vue/vue-base-components-generator.js +59 -0
  127. package/out/cli/components/vue/vue-base-components-generator.js.map +1 -0
  128. package/out/cli/components/vue/vue-datatable-component-generator.js +307 -0
  129. package/out/cli/components/vue/vue-datatable-component-generator.js.map +1 -0
  130. package/out/cli/components/vue/vue-datatable-sheet-class-generator.js +342 -0
  131. package/out/cli/components/vue/vue-datatable-sheet-class-generator.js.map +1 -0
  132. package/out/cli/components/vue/vue-datatable2-component-generator.js +939 -0
  133. package/out/cli/components/vue/vue-datatable2-component-generator.js.map +1 -0
  134. package/out/cli/components/vue/vue-document-creation-app.js +140 -0
  135. package/out/cli/components/vue/vue-document-creation-app.js.map +1 -0
  136. package/out/cli/components/vue/vue-document-creation-sheet.js +105 -0
  137. package/out/cli/components/vue/vue-document-creation-sheet.js.map +1 -0
  138. package/out/cli/components/vue/vue-generator.js +240 -0
  139. package/out/cli/components/vue/vue-generator.js.map +1 -0
  140. package/out/cli/components/vue/vue-mixin.js +338 -0
  141. package/out/cli/components/vue/vue-mixin.js.map +1 -0
  142. package/out/cli/components/vue/vue-pinned-datatable-component-generator.js +306 -0
  143. package/out/cli/components/vue/vue-pinned-datatable-component-generator.js.map +1 -0
  144. package/out/cli/components/vue/vue-prompt-generator.js +201 -0
  145. package/out/cli/components/vue/vue-prompt-generator.js.map +1 -0
  146. package/out/cli/components/vue/vue-prompt-sheet-class-generator.js +252 -0
  147. package/out/cli/components/vue/vue-prompt-sheet-class-generator.js.map +1 -0
  148. package/out/cli/components/vue/vue-sheet-application-generator.js +2008 -0
  149. package/out/cli/components/vue/vue-sheet-application-generator.js.map +1 -0
  150. package/out/cli/components/vue/vue-sheet-class-generator.js +484 -0
  151. package/out/cli/components/vue/vue-sheet-class-generator.js.map +1 -0
  152. package/out/cli/generator.js +659 -0
  153. package/out/cli/generator.js.map +1 -0
  154. package/out/cli/main.js +43 -0
  155. package/out/cli/main.js.map +1 -0
  156. package/out/datatables.min.css +54 -0
  157. package/out/datatables.min.js +178 -0
  158. package/out/extension/github/githubAuthProvider.js +345 -0
  159. package/out/extension/github/githubAuthProvider.js.map +1 -0
  160. package/out/extension/github/githubConfig.js +132 -0
  161. package/out/extension/github/githubConfig.js.map +1 -0
  162. package/out/extension/github/githubGistActions.js +251 -0
  163. package/out/extension/github/githubGistActions.js.map +1 -0
  164. package/out/extension/github/githubGistManager.js +255 -0
  165. package/out/extension/github/githubGistManager.js.map +1 -0
  166. package/out/extension/github/githubManager.js +1735 -0
  167. package/out/extension/github/githubManager.js.map +1 -0
  168. package/out/extension/github/githubQuickActions.js +659 -0
  169. package/out/extension/github/githubQuickActions.js.map +1 -0
  170. package/out/extension/github/githubTreeProvider.js +181 -0
  171. package/out/extension/github/githubTreeProvider.js.map +1 -0
  172. package/out/extension/github/system-workflow.yml +48 -0
  173. package/out/extension/main.cjs +70315 -0
  174. package/out/extension/main.cjs.map +7 -0
  175. package/out/extension/main.js +237 -0
  176. package/out/extension/main.js.map +1 -0
  177. package/out/extension/package.json +426 -0
  178. package/out/isdl.png +0 -0
  179. package/out/language/generated/ast.js +2992 -0
  180. package/out/language/generated/ast.js.map +1 -0
  181. package/out/language/generated/grammar.js +13970 -0
  182. package/out/language/generated/grammar.js.map +1 -0
  183. package/out/language/generated/module.js +20 -0
  184. package/out/language/generated/module.js.map +1 -0
  185. package/out/language/intelligent-system-design-language-formatter.js +85 -0
  186. package/out/language/intelligent-system-design-language-formatter.js.map +1 -0
  187. package/out/language/intelligent-system-design-language-module.js +69 -0
  188. package/out/language/intelligent-system-design-language-module.js.map +1 -0
  189. package/out/language/intelligent-system-design-language-quickfixes.js +37 -0
  190. package/out/language/intelligent-system-design-language-quickfixes.js.map +1 -0
  191. package/out/language/intelligent-system-design-language-validator.js +515 -0
  192. package/out/language/intelligent-system-design-language-validator.js.map +1 -0
  193. package/out/language/isdl-hover-provider.js +77 -0
  194. package/out/language/isdl-hover-provider.js.map +1 -0
  195. package/out/language/isdl-scope-provider.js +149 -0
  196. package/out/language/isdl-scope-provider.js.map +1 -0
  197. package/out/language/main.cjs +47655 -0
  198. package/out/language/main.cjs.map +7 -0
  199. package/out/language/main.js +11 -0
  200. package/out/language/main.js.map +1 -0
  201. package/out/missing-character.png +0 -0
  202. package/out/package.json +426 -0
  203. package/out/paperdoll_default.png +0 -0
  204. package/out/progressbar.min.js +7 -0
  205. package/out/styles.scss +722 -0
  206. package/out/test/formatting/formatter.test.js +46 -0
  207. package/out/test/formatting/formatter.test.js.map +1 -0
  208. package/out/vuetify.esm.js +30279 -0
  209. package/package.json +426 -0
@@ -0,0 +1,2992 @@
1
+ /******************************************************************************
2
+ * This file was generated by langium-cli 3.0.3.
3
+ * DO NOT EDIT MANUALLY!
4
+ ******************************************************************************/
5
+ import { AbstractAstReflection } from 'langium';
6
+ export const IntelligentSystemDesignLanguageTerminals = {
7
+ WS: /\s+/,
8
+ NOTHING: /nothing/,
9
+ BACKGROUND: /(((((((((((((topography|hideout)|graphpaper)|texture)|squares)|dominoes)|temple)|food)|anchors)|bubbles)|diamonds)|circuitboard)|bricks)|signal)/,
10
+ BOOLEAN: /(true|false)/,
11
+ DICE: /(\d+)?d(\d+)(\w+)?/,
12
+ ID: /[_a-zA-Z][\w_]*/,
13
+ PX: /(-)?[0-9]+px/,
14
+ INT: /(-)?[0-9]+(\.[0-9]+)?/,
15
+ STRING: /"(\\.|[^"\\])*"|'(\\.|[^'\\])*'/,
16
+ JS_LINE: /\@js\{.+\}/,
17
+ HEX_COLOR: /#[0-9a-fA-F]{6}/,
18
+ ML_COMMENT: /\/\*[\s\S]*?\*\//,
19
+ SL_COMMENT: /\/\/[^\n\r]*/,
20
+ };
21
+ export const ActionParam = 'ActionParam';
22
+ export function isActionParam(item) {
23
+ return reflection.isInstance(item, ActionParam);
24
+ }
25
+ export const Assignment = 'Assignment';
26
+ export function isAssignment(item) {
27
+ return reflection.isInstance(item, Assignment);
28
+ }
29
+ export const AttributeParameter = 'AttributeParameter';
30
+ export function isAttributeParameter(item) {
31
+ return reflection.isInstance(item, AttributeParameter);
32
+ }
33
+ export const BasicFields = 'BasicFields';
34
+ export function isBasicFields(item) {
35
+ return reflection.isInstance(item, BasicFields);
36
+ }
37
+ export const BooleanParameter = 'BooleanParameter';
38
+ export function isBooleanParameter(item) {
39
+ return reflection.isInstance(item, BooleanParameter);
40
+ }
41
+ export const ChoiceProperty = 'ChoiceProperty';
42
+ export function isChoiceProperty(item) {
43
+ return reflection.isInstance(item, ChoiceProperty);
44
+ }
45
+ export const ClassExpression = 'ClassExpression';
46
+ export function isClassExpression(item) {
47
+ return reflection.isInstance(item, ClassExpression);
48
+ }
49
+ export const Combat = 'Combat';
50
+ export function isCombat(item) {
51
+ return reflection.isInstance(item, Combat);
52
+ }
53
+ export const ComplexFields = 'ComplexFields';
54
+ export function isComplexFields(item) {
55
+ return reflection.isInstance(item, ComplexFields);
56
+ }
57
+ export const DamageRollParam = 'DamageRollParam';
58
+ export function isDamageRollParam(item) {
59
+ return reflection.isInstance(item, DamageRollParam);
60
+ }
61
+ export const DamageTrackParams = 'DamageTrackParams';
62
+ export function isDamageTrackParams(item) {
63
+ return reflection.isInstance(item, DamageTrackParams);
64
+ }
65
+ export const DateTimeFields = 'DateTimeFields';
66
+ export function isDateTimeFields(item) {
67
+ return reflection.isInstance(item, DateTimeFields);
68
+ }
69
+ export const DiceFields = 'DiceFields';
70
+ export function isDiceFields(item) {
71
+ return reflection.isInstance(item, DiceFields);
72
+ }
73
+ export const DieParams = 'DieParams';
74
+ export function isDieParams(item) {
75
+ return reflection.isInstance(item, DieParams);
76
+ }
77
+ export const Document = 'Document';
78
+ export function isDocument(item) {
79
+ return reflection.isInstance(item, Document);
80
+ }
81
+ export const DocumentChoiceParms = 'DocumentChoiceParms';
82
+ export function isDocumentChoiceParms(item) {
83
+ return reflection.isInstance(item, DocumentChoiceParms);
84
+ }
85
+ export const DocumentFields = 'DocumentFields';
86
+ export function isDocumentFields(item) {
87
+ return reflection.isInstance(item, DocumentFields);
88
+ }
89
+ export const DocumentParam = 'DocumentParam';
90
+ export function isDocumentParam(item) {
91
+ return reflection.isInstance(item, DocumentParam);
92
+ }
93
+ export const Expr = 'Expr';
94
+ export function isExpr(item) {
95
+ return reflection.isInstance(item, Expr);
96
+ }
97
+ export const Expression = 'Expression';
98
+ export function isExpression(item) {
99
+ return reflection.isInstance(item, Expression);
100
+ }
101
+ export const InventoryParams = 'InventoryParams';
102
+ export function isInventoryParams(item) {
103
+ return reflection.isInstance(item, InventoryParams);
104
+ }
105
+ export const KeywordParam = 'KeywordParam';
106
+ export function isKeywordParam(item) {
107
+ return reflection.isInstance(item, KeywordParam);
108
+ }
109
+ export const Layout = 'Layout';
110
+ export function isLayout(item) {
111
+ return reflection.isInstance(item, Layout);
112
+ }
113
+ export const MathExpression = 'MathExpression';
114
+ export function isMathExpression(item) {
115
+ return reflection.isInstance(item, MathExpression);
116
+ }
117
+ export const MethodBlockExpression = 'MethodBlockExpression';
118
+ export function isMethodBlockExpression(item) {
119
+ return reflection.isInstance(item, MethodBlockExpression);
120
+ }
121
+ export const MethodContainer = 'MethodContainer';
122
+ export function isMethodContainer(item) {
123
+ return reflection.isInstance(item, MethodContainer);
124
+ }
125
+ export const MoneyDenominationParam = 'MoneyDenominationParam';
126
+ export function isMoneyDenominationParam(item) {
127
+ return reflection.isInstance(item, MoneyDenominationParam);
128
+ }
129
+ export const MoneyParameter = 'MoneyParameter';
130
+ export function isMoneyParameter(item) {
131
+ return reflection.isInstance(item, MoneyParameter);
132
+ }
133
+ export const NumberFieldParams = 'NumberFieldParams';
134
+ export function isNumberFieldParams(item) {
135
+ return reflection.isInstance(item, NumberFieldParams);
136
+ }
137
+ export const NumberParameter = 'NumberParameter';
138
+ export function isNumberParameter(item) {
139
+ return reflection.isInstance(item, NumberParameter);
140
+ }
141
+ export const PaperDollElement = 'PaperDollElement';
142
+ export function isPaperDollElement(item) {
143
+ return reflection.isInstance(item, PaperDollElement);
144
+ }
145
+ export const PaperDollParameter = 'PaperDollParameter';
146
+ export function isPaperDollParameter(item) {
147
+ return reflection.isInstance(item, PaperDollParameter);
148
+ }
149
+ export const ParentAssignment = 'ParentAssignment';
150
+ export function isParentAssignment(item) {
151
+ return reflection.isInstance(item, ParentAssignment);
152
+ }
153
+ export const ParentPropertyRefParams = 'ParentPropertyRefParams';
154
+ export function isParentPropertyRefParams(item) {
155
+ return reflection.isInstance(item, ParentPropertyRefParams);
156
+ }
157
+ export const PlayAudioParams = 'PlayAudioParams';
158
+ export function isPlayAudioParams(item) {
159
+ return reflection.isInstance(item, PlayAudioParams);
160
+ }
161
+ export const PrimitiveExpression = 'PrimitiveExpression';
162
+ export function isPrimitiveExpression(item) {
163
+ return reflection.isInstance(item, PrimitiveExpression);
164
+ }
165
+ export const PromptParams = 'PromptParams';
166
+ export function isPromptParams(item) {
167
+ return reflection.isInstance(item, PromptParams);
168
+ }
169
+ export const Property = 'Property';
170
+ export function isProperty(item) {
171
+ return reflection.isInstance(item, Property);
172
+ }
173
+ export const ReferenceFields = 'ReferenceFields';
174
+ export function isReferenceFields(item) {
175
+ return reflection.isInstance(item, ReferenceFields);
176
+ }
177
+ export const ResourceParameter = 'ResourceParameter';
178
+ export function isResourceParameter(item) {
179
+ return reflection.isInstance(item, ResourceParameter);
180
+ }
181
+ export const SelfPropertyRefParams = 'SelfPropertyRefParams';
182
+ export function isSelfPropertyRefParams(item) {
183
+ return reflection.isInstance(item, SelfPropertyRefParams);
184
+ }
185
+ export const StandardFieldParams = 'StandardFieldParams';
186
+ export function isStandardFieldParams(item) {
187
+ return reflection.isInstance(item, StandardFieldParams);
188
+ }
189
+ export const StatusPropertyParameter = 'StatusPropertyParameter';
190
+ export function isStatusPropertyParameter(item) {
191
+ return reflection.isInstance(item, StatusPropertyParameter);
192
+ }
193
+ export const StringChoicesParameter = 'StringChoicesParameter';
194
+ export function isStringChoicesParameter(item) {
195
+ return reflection.isInstance(item, StringChoicesParameter);
196
+ }
197
+ export const StringParameter = 'StringParameter';
198
+ export function isStringParameter(item) {
199
+ return reflection.isInstance(item, StringParameter);
200
+ }
201
+ export const TableParams = 'TableParams';
202
+ export function isTableParams(item) {
203
+ return reflection.isInstance(item, TableParams);
204
+ }
205
+ export const TargetAssignment = 'TargetAssignment';
206
+ export function isTargetAssignment(item) {
207
+ return reflection.isInstance(item, TargetAssignment);
208
+ }
209
+ export const TrackerParameter = 'TrackerParameter';
210
+ export function isTrackerParameter(item) {
211
+ return reflection.isInstance(item, TrackerParameter);
212
+ }
213
+ export const Update = 'Update';
214
+ export function isUpdate(item) {
215
+ return reflection.isInstance(item, Update);
216
+ }
217
+ export const User = 'User';
218
+ export function isUser(item) {
219
+ return reflection.isInstance(item, User);
220
+ }
221
+ export const VariableAccess = 'VariableAccess';
222
+ export function isVariableAccess(item) {
223
+ return reflection.isInstance(item, VariableAccess);
224
+ }
225
+ export const VariableAssignment = 'VariableAssignment';
226
+ export function isVariableAssignment(item) {
227
+ return reflection.isInstance(item, VariableAssignment);
228
+ }
229
+ export const WhenExpressions = 'WhenExpressions';
230
+ export function isWhenExpressions(item) {
231
+ return reflection.isInstance(item, WhenExpressions);
232
+ }
233
+ export const WipFields = 'WipFields';
234
+ export function isWipFields(item) {
235
+ return reflection.isInstance(item, WipFields);
236
+ }
237
+ export const Action = 'Action';
238
+ export function isAction(item) {
239
+ return reflection.isInstance(item, Action);
240
+ }
241
+ export const Actor = 'Actor';
242
+ export function isActor(item) {
243
+ return reflection.isInstance(item, Actor);
244
+ }
245
+ export const ArrayExpression = 'ArrayExpression';
246
+ export function isArrayExpression(item) {
247
+ return reflection.isInstance(item, ArrayExpression);
248
+ }
249
+ export const AttributeExp = 'AttributeExp';
250
+ export function isAttributeExp(item) {
251
+ return reflection.isInstance(item, AttributeExp);
252
+ }
253
+ export const AttributeParamMod = 'AttributeParamMod';
254
+ export function isAttributeParamMod(item) {
255
+ return reflection.isInstance(item, AttributeParamMod);
256
+ }
257
+ export const AttributeRollParam = 'AttributeRollParam';
258
+ export function isAttributeRollParam(item) {
259
+ return reflection.isInstance(item, AttributeRollParam);
260
+ }
261
+ export const AttributeStyleParam = 'AttributeStyleParam';
262
+ export function isAttributeStyleParam(item) {
263
+ return reflection.isInstance(item, AttributeStyleParam);
264
+ }
265
+ export const BackgroundParam = 'BackgroundParam';
266
+ export function isBackgroundParam(item) {
267
+ return reflection.isInstance(item, BackgroundParam);
268
+ }
269
+ export const BinaryExpression = 'BinaryExpression';
270
+ export function isBinaryExpression(item) {
271
+ return reflection.isInstance(item, BinaryExpression);
272
+ }
273
+ export const BooleanExp = 'BooleanExp';
274
+ export function isBooleanExp(item) {
275
+ return reflection.isInstance(item, BooleanExp);
276
+ }
277
+ export const BooleanParamValue = 'BooleanParamValue';
278
+ export function isBooleanParamValue(item) {
279
+ return reflection.isInstance(item, BooleanParamValue);
280
+ }
281
+ export const ChatBlock = 'ChatBlock';
282
+ export function isChatBlock(item) {
283
+ return reflection.isInstance(item, ChatBlock);
284
+ }
285
+ export const ChatBlockExpression = 'ChatBlockExpression';
286
+ export function isChatBlockExpression(item) {
287
+ return reflection.isInstance(item, ChatBlockExpression);
288
+ }
289
+ export const ChatCard = 'ChatCard';
290
+ export function isChatCard(item) {
291
+ return reflection.isInstance(item, ChatCard);
292
+ }
293
+ export const ChoiceCustomProperty = 'ChoiceCustomProperty';
294
+ export function isChoiceCustomProperty(item) {
295
+ return reflection.isInstance(item, ChoiceCustomProperty);
296
+ }
297
+ export const ChoiceStringValue = 'ChoiceStringValue';
298
+ export function isChoiceStringValue(item) {
299
+ return reflection.isInstance(item, ChoiceStringValue);
300
+ }
301
+ export const ColorParam = 'ColorParam';
302
+ export function isColorParam(item) {
303
+ return reflection.isInstance(item, ColorParam);
304
+ }
305
+ export const Column = 'Column';
306
+ export function isColumn(item) {
307
+ return reflection.isInstance(item, Column);
308
+ }
309
+ export const CombatMethods = 'CombatMethods';
310
+ export function isCombatMethods(item) {
311
+ return reflection.isInstance(item, CombatMethods);
312
+ }
313
+ export const CombatProperty = 'CombatProperty';
314
+ export function isCombatProperty(item) {
315
+ return reflection.isInstance(item, CombatProperty);
316
+ }
317
+ export const ComparisonExpression = 'ComparisonExpression';
318
+ export function isComparisonExpression(item) {
319
+ return reflection.isInstance(item, ComparisonExpression);
320
+ }
321
+ export const Config = 'Config';
322
+ export function isConfig(item) {
323
+ return reflection.isInstance(item, Config);
324
+ }
325
+ export const ConfigExpression = 'ConfigExpression';
326
+ export function isConfigExpression(item) {
327
+ return reflection.isInstance(item, ConfigExpression);
328
+ }
329
+ export const DamageBonusesField = 'DamageBonusesField';
330
+ export function isDamageBonusesField(item) {
331
+ return reflection.isInstance(item, DamageBonusesField);
332
+ }
333
+ export const DamageResistancesField = 'DamageResistancesField';
334
+ export function isDamageResistancesField(item) {
335
+ return reflection.isInstance(item, DamageResistancesField);
336
+ }
337
+ export const DamageRoll = 'DamageRoll';
338
+ export function isDamageRoll(item) {
339
+ return reflection.isInstance(item, DamageRoll);
340
+ }
341
+ export const DamageTrackExp = 'DamageTrackExp';
342
+ export function isDamageTrackExp(item) {
343
+ return reflection.isInstance(item, DamageTrackExp);
344
+ }
345
+ export const DamageTrackTypesParam = 'DamageTrackTypesParam';
346
+ export function isDamageTrackTypesParam(item) {
347
+ return reflection.isInstance(item, DamageTrackTypesParam);
348
+ }
349
+ export const DamageTypeChoiceField = 'DamageTypeChoiceField';
350
+ export function isDamageTypeChoiceField(item) {
351
+ return reflection.isInstance(item, DamageTypeChoiceField);
352
+ }
353
+ export const DateExp = 'DateExp';
354
+ export function isDateExp(item) {
355
+ return reflection.isInstance(item, DateExp);
356
+ }
357
+ export const DateTimeExp = 'DateTimeExp';
358
+ export function isDateTimeExp(item) {
359
+ return reflection.isInstance(item, DateTimeExp);
360
+ }
361
+ export const DiceField = 'DiceField';
362
+ export function isDiceField(item) {
363
+ return reflection.isInstance(item, DiceField);
364
+ }
365
+ export const DieChoicesParam = 'DieChoicesParam';
366
+ export function isDieChoicesParam(item) {
367
+ return reflection.isInstance(item, DieChoicesParam);
368
+ }
369
+ export const DieField = 'DieField';
370
+ export function isDieField(item) {
371
+ return reflection.isInstance(item, DieField);
372
+ }
373
+ export const DieInitialParam = 'DieInitialParam';
374
+ export function isDieInitialParam(item) {
375
+ return reflection.isInstance(item, DieInitialParam);
376
+ }
377
+ export const DieNoneParam = 'DieNoneParam';
378
+ export function isDieNoneParam(item) {
379
+ return reflection.isInstance(item, DieNoneParam);
380
+ }
381
+ export const DieValueParam = 'DieValueParam';
382
+ export function isDieValueParam(item) {
383
+ return reflection.isInstance(item, DieValueParam);
384
+ }
385
+ export const DocumentChoiceExp = 'DocumentChoiceExp';
386
+ export function isDocumentChoiceExp(item) {
387
+ return reflection.isInstance(item, DocumentChoiceExp);
388
+ }
389
+ export const DocumentChoicesExp = 'DocumentChoicesExp';
390
+ export function isDocumentChoicesExp(item) {
391
+ return reflection.isInstance(item, DocumentChoicesExp);
392
+ }
393
+ export const DocumentCreatableParam = 'DocumentCreatableParam';
394
+ export function isDocumentCreatableParam(item) {
395
+ return reflection.isInstance(item, DocumentCreatableParam);
396
+ }
397
+ export const DocumentDefaultParam = 'DocumentDefaultParam';
398
+ export function isDocumentDefaultParam(item) {
399
+ return reflection.isInstance(item, DocumentDefaultParam);
400
+ }
401
+ export const DocumentDescriptionParam = 'DocumentDescriptionParam';
402
+ export function isDocumentDescriptionParam(item) {
403
+ return reflection.isInstance(item, DocumentDescriptionParam);
404
+ }
405
+ export const DocumentSvgParam = 'DocumentSvgParam';
406
+ export function isDocumentSvgParam(item) {
407
+ return reflection.isInstance(item, DocumentSvgParam);
408
+ }
409
+ export const Each = 'Each';
410
+ export function isEach(item) {
411
+ return reflection.isInstance(item, Each);
412
+ }
413
+ export const EachAccess = 'EachAccess';
414
+ export function isEachAccess(item) {
415
+ return reflection.isInstance(item, EachAccess);
416
+ }
417
+ export const ElseIf = 'ElseIf';
418
+ export function isElseIf(item) {
419
+ return reflection.isInstance(item, ElseIf);
420
+ }
421
+ export const Entry = 'Entry';
422
+ export function isEntry(item) {
423
+ return reflection.isInstance(item, Entry);
424
+ }
425
+ export const ExpressionAssignment = 'ExpressionAssignment';
426
+ export function isExpressionAssignment(item) {
427
+ return reflection.isInstance(item, ExpressionAssignment);
428
+ }
429
+ export const FunctionCall = 'FunctionCall';
430
+ export function isFunctionCall(item) {
431
+ return reflection.isInstance(item, FunctionCall);
432
+ }
433
+ export const FunctionDefinition = 'FunctionDefinition';
434
+ export function isFunctionDefinition(item) {
435
+ return reflection.isInstance(item, FunctionDefinition);
436
+ }
437
+ export const FunctionParam = 'FunctionParam';
438
+ export function isFunctionParam(item) {
439
+ return reflection.isInstance(item, FunctionParam);
440
+ }
441
+ export const GlobalParam = 'GlobalParam';
442
+ export function isGlobalParam(item) {
443
+ return reflection.isInstance(item, GlobalParam);
444
+ }
445
+ export const Group = 'Group';
446
+ export function isGroup(item) {
447
+ return reflection.isInstance(item, Group);
448
+ }
449
+ export const HeightParam = 'HeightParam';
450
+ export function isHeightParam(item) {
451
+ return reflection.isInstance(item, HeightParam);
452
+ }
453
+ export const HookHandler = 'HookHandler';
454
+ export function isHookHandler(item) {
455
+ return reflection.isInstance(item, HookHandler);
456
+ }
457
+ export const HtmlExp = 'HtmlExp';
458
+ export function isHtmlExp(item) {
459
+ return reflection.isInstance(item, HtmlExp);
460
+ }
461
+ export const IconParam = 'IconParam';
462
+ export function isIconParam(item) {
463
+ return reflection.isInstance(item, IconParam);
464
+ }
465
+ export const IfStatement = 'IfStatement';
466
+ export function isIfStatement(item) {
467
+ return reflection.isInstance(item, IfStatement);
468
+ }
469
+ export const ImageParam = 'ImageParam';
470
+ export function isImageParam(item) {
471
+ return reflection.isInstance(item, ImageParam);
472
+ }
473
+ export const IncrementDecrementAssignment = 'IncrementDecrementAssignment';
474
+ export function isIncrementDecrementAssignment(item) {
475
+ return reflection.isInstance(item, IncrementDecrementAssignment);
476
+ }
477
+ export const InitiativeProperty = 'InitiativeProperty';
478
+ export function isInitiativeProperty(item) {
479
+ return reflection.isInstance(item, InitiativeProperty);
480
+ }
481
+ export const InventoryColumnsParam = 'InventoryColumnsParam';
482
+ export function isInventoryColumnsParam(item) {
483
+ return reflection.isInstance(item, InventoryColumnsParam);
484
+ }
485
+ export const InventoryEmptySlotsParam = 'InventoryEmptySlotsParam';
486
+ export function isInventoryEmptySlotsParam(item) {
487
+ return reflection.isInstance(item, InventoryEmptySlotsParam);
488
+ }
489
+ export const InventoryField = 'InventoryField';
490
+ export function isInventoryField(item) {
491
+ return reflection.isInstance(item, InventoryField);
492
+ }
493
+ export const InventoryMoneyParam = 'InventoryMoneyParam';
494
+ export function isInventoryMoneyParam(item) {
495
+ return reflection.isInstance(item, InventoryMoneyParam);
496
+ }
497
+ export const InventoryQuantityParam = 'InventoryQuantityParam';
498
+ export function isInventoryQuantityParam(item) {
499
+ return reflection.isInstance(item, InventoryQuantityParam);
500
+ }
501
+ export const InventoryRowsParam = 'InventoryRowsParam';
502
+ export function isInventoryRowsParam(item) {
503
+ return reflection.isInstance(item, InventoryRowsParam);
504
+ }
505
+ export const InventorySlotSizeParam = 'InventorySlotSizeParam';
506
+ export function isInventorySlotSizeParam(item) {
507
+ return reflection.isInstance(item, InventorySlotSizeParam);
508
+ }
509
+ export const InventorySlotsParam = 'InventorySlotsParam';
510
+ export function isInventorySlotsParam(item) {
511
+ return reflection.isInstance(item, InventorySlotsParam);
512
+ }
513
+ export const InventorySortParam = 'InventorySortParam';
514
+ export function isInventorySortParam(item) {
515
+ return reflection.isInstance(item, InventorySortParam);
516
+ }
517
+ export const InventorySummaryParam = 'InventorySummaryParam';
518
+ export function isInventorySummaryParam(item) {
519
+ return reflection.isInstance(item, InventorySummaryParam);
520
+ }
521
+ export const InventorySumMaxParam = 'InventorySumMaxParam';
522
+ export function isInventorySumMaxParam(item) {
523
+ return reflection.isInstance(item, InventorySumMaxParam);
524
+ }
525
+ export const InventorySumMaxValues = 'InventorySumMaxValues';
526
+ export function isInventorySumMaxValues(item) {
527
+ return reflection.isInstance(item, InventorySumMaxValues);
528
+ }
529
+ export const InventorySumParam = 'InventorySumParam';
530
+ export function isInventorySumParam(item) {
531
+ return reflection.isInstance(item, InventorySumParam);
532
+ }
533
+ export const InventorySumProperties = 'InventorySumProperties';
534
+ export function isInventorySumProperties(item) {
535
+ return reflection.isInstance(item, InventorySumProperties);
536
+ }
537
+ export const Item = 'Item';
538
+ export function isItem(item) {
539
+ return reflection.isInstance(item, Item);
540
+ }
541
+ export const ItemAccess = 'ItemAccess';
542
+ export function isItemAccess(item) {
543
+ return reflection.isInstance(item, ItemAccess);
544
+ }
545
+ export const JS = 'JS';
546
+ export function isJS(item) {
547
+ return reflection.isInstance(item, JS);
548
+ }
549
+ export const Keyword = 'Keyword';
550
+ export function isKeyword(item) {
551
+ return reflection.isInstance(item, Keyword);
552
+ }
553
+ export const Keywords = 'Keywords';
554
+ export function isKeywords(item) {
555
+ return reflection.isInstance(item, Keywords);
556
+ }
557
+ export const LabelParam = 'LabelParam';
558
+ export function isLabelParam(item) {
559
+ return reflection.isInstance(item, LabelParam);
560
+ }
561
+ export const Literal = 'Literal';
562
+ export function isLiteral(item) {
563
+ return reflection.isInstance(item, Literal);
564
+ }
565
+ export const LocationParam = 'LocationParam';
566
+ export function isLocationParam(item) {
567
+ return reflection.isInstance(item, LocationParam);
568
+ }
569
+ export const LogExpression = 'LogExpression';
570
+ export function isLogExpression(item) {
571
+ return reflection.isInstance(item, LogExpression);
572
+ }
573
+ export const MacroExecute = 'MacroExecute';
574
+ export function isMacroExecute(item) {
575
+ return reflection.isInstance(item, MacroExecute);
576
+ }
577
+ export const MacroField = 'MacroField';
578
+ export function isMacroField(item) {
579
+ return reflection.isInstance(item, MacroField);
580
+ }
581
+ export const MathEmptyExpression = 'MathEmptyExpression';
582
+ export function isMathEmptyExpression(item) {
583
+ return reflection.isInstance(item, MathEmptyExpression);
584
+ }
585
+ export const MathParamExpression = 'MathParamExpression';
586
+ export function isMathParamExpression(item) {
587
+ return reflection.isInstance(item, MathParamExpression);
588
+ }
589
+ export const MathSingleExpression = 'MathSingleExpression';
590
+ export function isMathSingleExpression(item) {
591
+ return reflection.isInstance(item, MathSingleExpression);
592
+ }
593
+ export const MeasuredTemplateField = 'MeasuredTemplateField';
594
+ export function isMeasuredTemplateField(item) {
595
+ return reflection.isInstance(item, MeasuredTemplateField);
596
+ }
597
+ export const MethodBlock = 'MethodBlock';
598
+ export function isMethodBlock(item) {
599
+ return reflection.isInstance(item, MethodBlock);
600
+ }
601
+ export const MethodParam = 'MethodParam';
602
+ export function isMethodParam(item) {
603
+ return reflection.isInstance(item, MethodParam);
604
+ }
605
+ export const MoneyDenomination = 'MoneyDenomination';
606
+ export function isMoneyDenomination(item) {
607
+ return reflection.isInstance(item, MoneyDenomination);
608
+ }
609
+ export const MoneyDenominationValueParam = 'MoneyDenominationValueParam';
610
+ export function isMoneyDenominationValueParam(item) {
611
+ return reflection.isInstance(item, MoneyDenominationValueParam);
612
+ }
613
+ export const MoneyDisplayParam = 'MoneyDisplayParam';
614
+ export function isMoneyDisplayParam(item) {
615
+ return reflection.isInstance(item, MoneyDisplayParam);
616
+ }
617
+ export const MoneyField = 'MoneyField';
618
+ export function isMoneyField(item) {
619
+ return reflection.isInstance(item, MoneyField);
620
+ }
621
+ export const MoneyFormatParam = 'MoneyFormatParam';
622
+ export function isMoneyFormatParam(item) {
623
+ return reflection.isInstance(item, MoneyFormatParam);
624
+ }
625
+ export const MoneyPrecisionParam = 'MoneyPrecisionParam';
626
+ export function isMoneyPrecisionParam(item) {
627
+ return reflection.isInstance(item, MoneyPrecisionParam);
628
+ }
629
+ export const NegExpression = 'NegExpression';
630
+ export function isNegExpression(item) {
631
+ return reflection.isInstance(item, NegExpression);
632
+ }
633
+ export const NumberExp = 'NumberExp';
634
+ export function isNumberExp(item) {
635
+ return reflection.isInstance(item, NumberExp);
636
+ }
637
+ export const NumberParamCalculator = 'NumberParamCalculator';
638
+ export function isNumberParamCalculator(item) {
639
+ return reflection.isInstance(item, NumberParamCalculator);
640
+ }
641
+ export const NumberParamInitial = 'NumberParamInitial';
642
+ export function isNumberParamInitial(item) {
643
+ return reflection.isInstance(item, NumberParamInitial);
644
+ }
645
+ export const NumberParamMax = 'NumberParamMax';
646
+ export function isNumberParamMax(item) {
647
+ return reflection.isInstance(item, NumberParamMax);
648
+ }
649
+ export const NumberParamMin = 'NumberParamMin';
650
+ export function isNumberParamMin(item) {
651
+ return reflection.isInstance(item, NumberParamMin);
652
+ }
653
+ export const NumberParamValue = 'NumberParamValue';
654
+ export function isNumberParamValue(item) {
655
+ return reflection.isInstance(item, NumberParamValue);
656
+ }
657
+ export const NumberRange = 'NumberRange';
658
+ export function isNumberRange(item) {
659
+ return reflection.isInstance(item, NumberRange);
660
+ }
661
+ export const Page = 'Page';
662
+ export function isPage(item) {
663
+ return reflection.isInstance(item, Page);
664
+ }
665
+ export const PaperDollDocumentReference = 'PaperDollDocumentReference';
666
+ export function isPaperDollDocumentReference(item) {
667
+ return reflection.isInstance(item, PaperDollDocumentReference);
668
+ }
669
+ export const PaperDollExp = 'PaperDollExp';
670
+ export function isPaperDollExp(item) {
671
+ return reflection.isInstance(item, PaperDollExp);
672
+ }
673
+ export const Parameter = 'Parameter';
674
+ export function isParameter(item) {
675
+ return reflection.isInstance(item, Parameter);
676
+ }
677
+ export const ParentExpressionAssignment = 'ParentExpressionAssignment';
678
+ export function isParentExpressionAssignment(item) {
679
+ return reflection.isInstance(item, ParentExpressionAssignment);
680
+ }
681
+ export const ParentIncrementDecrementAssignment = 'ParentIncrementDecrementAssignment';
682
+ export function isParentIncrementDecrementAssignment(item) {
683
+ return reflection.isInstance(item, ParentIncrementDecrementAssignment);
684
+ }
685
+ export const ParentPropertyRefChoice = 'ParentPropertyRefChoice';
686
+ export function isParentPropertyRefChoice(item) {
687
+ return reflection.isInstance(item, ParentPropertyRefChoice);
688
+ }
689
+ export const ParentPropertyRefChoiceParam = 'ParentPropertyRefChoiceParam';
690
+ export function isParentPropertyRefChoiceParam(item) {
691
+ return reflection.isInstance(item, ParentPropertyRefChoiceParam);
692
+ }
693
+ export const ParentPropertyRefExp = 'ParentPropertyRefExp';
694
+ export function isParentPropertyRefExp(item) {
695
+ return reflection.isInstance(item, ParentPropertyRefExp);
696
+ }
697
+ export const ParentQuickModifyAssignment = 'ParentQuickModifyAssignment';
698
+ export function isParentQuickModifyAssignment(item) {
699
+ return reflection.isInstance(item, ParentQuickModifyAssignment);
700
+ }
701
+ export const ParentTypeCheckExpression = 'ParentTypeCheckExpression';
702
+ export function isParentTypeCheckExpression(item) {
703
+ return reflection.isInstance(item, ParentTypeCheckExpression);
704
+ }
705
+ export const PinnedField = 'PinnedField';
706
+ export function isPinnedField(item) {
707
+ return reflection.isInstance(item, PinnedField);
708
+ }
709
+ export const PlayAudio = 'PlayAudio';
710
+ export function isPlayAudio(item) {
711
+ return reflection.isInstance(item, PlayAudio);
712
+ }
713
+ export const PlayAudioFile = 'PlayAudioFile';
714
+ export function isPlayAudioFile(item) {
715
+ return reflection.isInstance(item, PlayAudioFile);
716
+ }
717
+ export const PlayAudioVolume = 'PlayAudioVolume';
718
+ export function isPlayAudioVolume(item) {
719
+ return reflection.isInstance(item, PlayAudioVolume);
720
+ }
721
+ export const Prompt = 'Prompt';
722
+ export function isPrompt(item) {
723
+ return reflection.isInstance(item, Prompt);
724
+ }
725
+ export const QuickModifyAssignment = 'QuickModifyAssignment';
726
+ export function isQuickModifyAssignment(item) {
727
+ return reflection.isInstance(item, QuickModifyAssignment);
728
+ }
729
+ export const Ref = 'Ref';
730
+ export function isRef(item) {
731
+ return reflection.isInstance(item, Ref);
732
+ }
733
+ export const ResourceExp = 'ResourceExp';
734
+ export function isResourceExp(item) {
735
+ return reflection.isInstance(item, ResourceExp);
736
+ }
737
+ export const ReturnExpression = 'ReturnExpression';
738
+ export function isReturnExpression(item) {
739
+ return reflection.isInstance(item, ReturnExpression);
740
+ }
741
+ export const Roll = 'Roll';
742
+ export function isRoll(item) {
743
+ return reflection.isInstance(item, Roll);
744
+ }
745
+ export const RollParam = 'RollParam';
746
+ export function isRollParam(item) {
747
+ return reflection.isInstance(item, RollParam);
748
+ }
749
+ export const Row = 'Row';
750
+ export function isRow(item) {
751
+ return reflection.isInstance(item, Row);
752
+ }
753
+ export const Section = 'Section';
754
+ export function isSection(item) {
755
+ return reflection.isInstance(item, Section);
756
+ }
757
+ export const SegmentsParameter = 'SegmentsParameter';
758
+ export function isSegmentsParameter(item) {
759
+ return reflection.isInstance(item, SegmentsParameter);
760
+ }
761
+ export const SelfMethod = 'SelfMethod';
762
+ export function isSelfMethod(item) {
763
+ return reflection.isInstance(item, SelfMethod);
764
+ }
765
+ export const SelfPropertyRefChoice = 'SelfPropertyRefChoice';
766
+ export function isSelfPropertyRefChoice(item) {
767
+ return reflection.isInstance(item, SelfPropertyRefChoice);
768
+ }
769
+ export const SelfPropertyRefChoiceParam = 'SelfPropertyRefChoiceParam';
770
+ export function isSelfPropertyRefChoiceParam(item) {
771
+ return reflection.isInstance(item, SelfPropertyRefChoiceParam);
772
+ }
773
+ export const SelfPropertyRefExp = 'SelfPropertyRefExp';
774
+ export function isSelfPropertyRefExp(item) {
775
+ return reflection.isInstance(item, SelfPropertyRefExp);
776
+ }
777
+ export const ShorthandComparisonExpression = 'ShorthandComparisonExpression';
778
+ export function isShorthandComparisonExpression(item) {
779
+ return reflection.isInstance(item, ShorthandComparisonExpression);
780
+ }
781
+ export const SingleDocumentExp = 'SingleDocumentExp';
782
+ export function isSingleDocumentExp(item) {
783
+ return reflection.isInstance(item, SingleDocumentExp);
784
+ }
785
+ export const SizeParam = 'SizeParam';
786
+ export function isSizeParam(item) {
787
+ return reflection.isInstance(item, SizeParam);
788
+ }
789
+ export const StatusParamWhen = 'StatusParamWhen';
790
+ export function isStatusParamWhen(item) {
791
+ return reflection.isInstance(item, StatusParamWhen);
792
+ }
793
+ export const StatusProperty = 'StatusProperty';
794
+ export function isStatusProperty(item) {
795
+ return reflection.isInstance(item, StatusProperty);
796
+ }
797
+ export const StringChoice = 'StringChoice';
798
+ export function isStringChoice(item) {
799
+ return reflection.isInstance(item, StringChoice);
800
+ }
801
+ export const StringChoiceField = 'StringChoiceField';
802
+ export function isStringChoiceField(item) {
803
+ return reflection.isInstance(item, StringChoiceField);
804
+ }
805
+ export const StringChoicesField = 'StringChoicesField';
806
+ export function isStringChoicesField(item) {
807
+ return reflection.isInstance(item, StringChoicesField);
808
+ }
809
+ export const StringChoicesParamChoices = 'StringChoicesParamChoices';
810
+ export function isStringChoicesParamChoices(item) {
811
+ return reflection.isInstance(item, StringChoicesParamChoices);
812
+ }
813
+ export const StringChoicesParamInitial = 'StringChoicesParamInitial';
814
+ export function isStringChoicesParamInitial(item) {
815
+ return reflection.isInstance(item, StringChoicesParamInitial);
816
+ }
817
+ export const StringChoicesParamMax = 'StringChoicesParamMax';
818
+ export function isStringChoicesParamMax(item) {
819
+ return reflection.isInstance(item, StringChoicesParamMax);
820
+ }
821
+ export const StringExp = 'StringExp';
822
+ export function isStringExp(item) {
823
+ return reflection.isInstance(item, StringExp);
824
+ }
825
+ export const StringExtendedChoice = 'StringExtendedChoice';
826
+ export function isStringExtendedChoice(item) {
827
+ return reflection.isInstance(item, StringExtendedChoice);
828
+ }
829
+ export const StringParamChoices = 'StringParamChoices';
830
+ export function isStringParamChoices(item) {
831
+ return reflection.isInstance(item, StringParamChoices);
832
+ }
833
+ export const StringParamValue = 'StringParamValue';
834
+ export function isStringParamValue(item) {
835
+ return reflection.isInstance(item, StringParamValue);
836
+ }
837
+ export const SummaryParam = 'SummaryParam';
838
+ export function isSummaryParam(item) {
839
+ return reflection.isInstance(item, SummaryParam);
840
+ }
841
+ export const Tab = 'Tab';
842
+ export function isTab(item) {
843
+ return reflection.isInstance(item, Tab);
844
+ }
845
+ export const TableField = 'TableField';
846
+ export function isTableField(item) {
847
+ return reflection.isInstance(item, TableField);
848
+ }
849
+ export const TableFieldsParam = 'TableFieldsParam';
850
+ export function isTableFieldsParam(item) {
851
+ return reflection.isInstance(item, TableFieldsParam);
852
+ }
853
+ export const TargetExpressionAssignment = 'TargetExpressionAssignment';
854
+ export function isTargetExpressionAssignment(item) {
855
+ return reflection.isInstance(item, TargetExpressionAssignment);
856
+ }
857
+ export const TargetIncrementDecrementAssignment = 'TargetIncrementDecrementAssignment';
858
+ export function isTargetIncrementDecrementAssignment(item) {
859
+ return reflection.isInstance(item, TargetIncrementDecrementAssignment);
860
+ }
861
+ export const TargetParam = 'TargetParam';
862
+ export function isTargetParam(item) {
863
+ return reflection.isInstance(item, TargetParam);
864
+ }
865
+ export const TargetQuickModifyAssignment = 'TargetQuickModifyAssignment';
866
+ export function isTargetQuickModifyAssignment(item) {
867
+ return reflection.isInstance(item, TargetQuickModifyAssignment);
868
+ }
869
+ export const TargetTypeCheckExpression = 'TargetTypeCheckExpression';
870
+ export function isTargetTypeCheckExpression(item) {
871
+ return reflection.isInstance(item, TargetTypeCheckExpression);
872
+ }
873
+ export const TimeExp = 'TimeExp';
874
+ export function isTimeExp(item) {
875
+ return reflection.isInstance(item, TimeExp);
876
+ }
877
+ export const TimeLimitParam = 'TimeLimitParam';
878
+ export function isTimeLimitParam(item) {
879
+ return reflection.isInstance(item, TimeLimitParam);
880
+ }
881
+ export const TrackerExp = 'TrackerExp';
882
+ export function isTrackerExp(item) {
883
+ return reflection.isInstance(item, TrackerExp);
884
+ }
885
+ export const TrackerStyleParameter = 'TrackerStyleParameter';
886
+ export function isTrackerStyleParameter(item) {
887
+ return reflection.isInstance(item, TrackerStyleParameter);
888
+ }
889
+ export const TypeParam = 'TypeParam';
890
+ export function isTypeParam(item) {
891
+ return reflection.isInstance(item, TypeParam);
892
+ }
893
+ export const UpdateParent = 'UpdateParent';
894
+ export function isUpdateParent(item) {
895
+ return reflection.isInstance(item, UpdateParent);
896
+ }
897
+ export const UpdateSelf = 'UpdateSelf';
898
+ export function isUpdateSelf(item) {
899
+ return reflection.isInstance(item, UpdateSelf);
900
+ }
901
+ export const UserProperty = 'UserProperty';
902
+ export function isUserProperty(item) {
903
+ return reflection.isInstance(item, UserProperty);
904
+ }
905
+ export const VariableExpression = 'VariableExpression';
906
+ export function isVariableExpression(item) {
907
+ return reflection.isInstance(item, VariableExpression);
908
+ }
909
+ export const VariableExpressionAssignment = 'VariableExpressionAssignment';
910
+ export function isVariableExpressionAssignment(item) {
911
+ return reflection.isInstance(item, VariableExpressionAssignment);
912
+ }
913
+ export const VariableIncrementDecrementAssignment = 'VariableIncrementDecrementAssignment';
914
+ export function isVariableIncrementDecrementAssignment(item) {
915
+ return reflection.isInstance(item, VariableIncrementDecrementAssignment);
916
+ }
917
+ export const VariableQuickModifyAssignment = 'VariableQuickModifyAssignment';
918
+ export function isVariableQuickModifyAssignment(item) {
919
+ return reflection.isInstance(item, VariableQuickModifyAssignment);
920
+ }
921
+ export const VisibilityParam = 'VisibilityParam';
922
+ export function isVisibilityParam(item) {
923
+ return reflection.isInstance(item, VisibilityParam);
924
+ }
925
+ export const VisibilityValue = 'VisibilityValue';
926
+ export function isVisibilityValue(item) {
927
+ return reflection.isInstance(item, VisibilityValue);
928
+ }
929
+ export const Wait = 'Wait';
930
+ export function isWait(item) {
931
+ return reflection.isInstance(item, Wait);
932
+ }
933
+ export const WhereParam = 'WhereParam';
934
+ export function isWhereParam(item) {
935
+ return reflection.isInstance(item, WhereParam);
936
+ }
937
+ export const WidthParam = 'WidthParam';
938
+ export function isWidthParam(item) {
939
+ return reflection.isInstance(item, WidthParam);
940
+ }
941
+ export const Access = 'Access';
942
+ export function isAccess(item) {
943
+ return reflection.isInstance(item, Access);
944
+ }
945
+ export const FleetingAccess = 'FleetingAccess';
946
+ export function isFleetingAccess(item) {
947
+ return reflection.isInstance(item, FleetingAccess);
948
+ }
949
+ export const ParentAccess = 'ParentAccess';
950
+ export function isParentAccess(item) {
951
+ return reflection.isInstance(item, ParentAccess);
952
+ }
953
+ export const TargetAccess = 'TargetAccess';
954
+ export function isTargetAccess(item) {
955
+ return reflection.isInstance(item, TargetAccess);
956
+ }
957
+ export class IntelligentSystemDesignLanguageAstReflection extends AbstractAstReflection {
958
+ getAllTypes() {
959
+ return ['Access', 'Action', 'ActionParam', 'Actor', 'ArrayExpression', 'Assignment', 'AttributeExp', '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', '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', 'FleetingAccess', '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', 'PromptParams', 'Property', 'QuickModifyAssignment', 'Ref', 'ReferenceFields', 'ResourceExp', 'ResourceParameter', 'ReturnExpression', 'Roll', 'RollParam', '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', 'SummaryParam', 'Tab', 'TableField', 'TableFieldsParam', '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'];
960
+ }
961
+ computeIsSubtype(subtype, supertype) {
962
+ switch (subtype) {
963
+ case Access:
964
+ case FleetingAccess:
965
+ case ParentAccess:
966
+ case TargetAccess: {
967
+ return this.isSubtype(ChatBlockExpression, supertype) || this.isSubtype(PrimitiveExpression, supertype);
968
+ }
969
+ case Action:
970
+ case FunctionDefinition:
971
+ case HookHandler: {
972
+ return this.isSubtype(MethodContainer, supertype);
973
+ }
974
+ case Actor:
975
+ case Item: {
976
+ return this.isSubtype(Document, supertype);
977
+ }
978
+ case ArrayExpression:
979
+ case DamageRoll:
980
+ case EachAccess:
981
+ case Group:
982
+ case ItemAccess:
983
+ case Literal:
984
+ case MathExpression:
985
+ case NegExpression:
986
+ case Ref:
987
+ case Roll:
988
+ case VisibilityValue: {
989
+ return this.isSubtype(PrimitiveExpression, supertype);
990
+ }
991
+ case Assignment:
992
+ case ChatCard:
993
+ case Combat:
994
+ case Each:
995
+ case IfStatement:
996
+ case LogExpression:
997
+ case MacroExecute:
998
+ case ParentAssignment:
999
+ case PlayAudio:
1000
+ case ReturnExpression:
1001
+ case SelfMethod:
1002
+ case TargetAssignment:
1003
+ case Update:
1004
+ case User:
1005
+ case VariableAssignment:
1006
+ case Wait: {
1007
+ return this.isSubtype(MethodBlockExpression, supertype);
1008
+ }
1009
+ case AttributeExp:
1010
+ case DamageBonusesField:
1011
+ case DamageResistancesField:
1012
+ case MeasuredTemplateField:
1013
+ case MoneyField:
1014
+ case PinnedField:
1015
+ case ResourceExp:
1016
+ case TrackerExp: {
1017
+ return this.isSubtype(ComplexFields, supertype);
1018
+ }
1019
+ case AttributeParamMod:
1020
+ case AttributeRollParam:
1021
+ case AttributeStyleParam: {
1022
+ return this.isSubtype(AttributeParameter, supertype);
1023
+ }
1024
+ case BackgroundParam:
1025
+ case DocumentCreatableParam:
1026
+ case DocumentDefaultParam:
1027
+ case DocumentDescriptionParam: {
1028
+ return this.isSubtype(DocumentParam, supertype);
1029
+ }
1030
+ case BasicFields:
1031
+ case ComplexFields:
1032
+ case DateTimeFields:
1033
+ case DiceFields:
1034
+ case DocumentFields:
1035
+ case ReferenceFields:
1036
+ case WipFields: {
1037
+ return this.isSubtype(Property, supertype);
1038
+ }
1039
+ case BinaryExpression: {
1040
+ return this.isSubtype(Expr, supertype) || this.isSubtype(Expression, supertype);
1041
+ }
1042
+ case BooleanExp:
1043
+ case DamageTypeChoiceField:
1044
+ case HtmlExp:
1045
+ case NumberExp:
1046
+ case StringChoiceField:
1047
+ case StringChoicesField:
1048
+ case StringExp: {
1049
+ return this.isSubtype(BasicFields, supertype);
1050
+ }
1051
+ case BooleanParamValue: {
1052
+ return this.isSubtype(BooleanParameter, supertype);
1053
+ }
1054
+ case ChoiceCustomProperty:
1055
+ case WhenExpressions: {
1056
+ return this.isSubtype(ChoiceProperty, supertype);
1057
+ }
1058
+ case ColorParam: {
1059
+ return this.isSubtype(ChoiceProperty, supertype) || this.isSubtype(KeywordParam, supertype) || this.isSubtype(MoneyDenominationParam, supertype) || this.isSubtype(StandardFieldParams, supertype);
1060
+ }
1061
+ case Column:
1062
+ case Page:
1063
+ case Row:
1064
+ case Section:
1065
+ case Tab: {
1066
+ return this.isSubtype(Layout, supertype);
1067
+ }
1068
+ case CombatMethods: {
1069
+ return this.isSubtype(Combat, supertype);
1070
+ }
1071
+ case CombatProperty: {
1072
+ return this.isSubtype(Combat, supertype) || this.isSubtype(PrimitiveExpression, supertype);
1073
+ }
1074
+ case ComparisonExpression:
1075
+ case ParentTypeCheckExpression:
1076
+ case ShorthandComparisonExpression:
1077
+ case TargetTypeCheckExpression: {
1078
+ return this.isSubtype(WhenExpressions, supertype);
1079
+ }
1080
+ case DamageTrackExp: {
1081
+ return this.isSubtype(WipFields, supertype);
1082
+ }
1083
+ case DamageTrackTypesParam: {
1084
+ return this.isSubtype(DamageTrackParams, supertype);
1085
+ }
1086
+ case DateExp:
1087
+ case DateTimeExp:
1088
+ case TimeExp: {
1089
+ return this.isSubtype(DateTimeFields, supertype);
1090
+ }
1091
+ case DiceField:
1092
+ case DieField: {
1093
+ return this.isSubtype(DiceFields, supertype);
1094
+ }
1095
+ case DieChoicesParam:
1096
+ case DieInitialParam:
1097
+ case DieNoneParam:
1098
+ case DieValueParam: {
1099
+ return this.isSubtype(DieParams, supertype);
1100
+ }
1101
+ case DocumentChoiceExp:
1102
+ case InventoryField:
1103
+ case MacroField:
1104
+ case PaperDollExp:
1105
+ case SingleDocumentExp:
1106
+ case TableField: {
1107
+ return this.isSubtype(DocumentFields, supertype);
1108
+ }
1109
+ case DocumentChoicesExp: {
1110
+ return this.isSubtype(ComplexFields, supertype) || this.isSubtype(DocumentFields, supertype);
1111
+ }
1112
+ case DocumentSvgParam: {
1113
+ return this.isSubtype(DocumentParam, supertype) || this.isSubtype(StatusPropertyParameter, supertype);
1114
+ }
1115
+ case Expr: {
1116
+ return this.isSubtype(Expression, supertype);
1117
+ }
1118
+ case Expression: {
1119
+ return this.isSubtype(ChatBlockExpression, supertype);
1120
+ }
1121
+ case ExpressionAssignment:
1122
+ case IncrementDecrementAssignment:
1123
+ case QuickModifyAssignment: {
1124
+ return this.isSubtype(Assignment, supertype);
1125
+ }
1126
+ case FunctionCall:
1127
+ case JS: {
1128
+ return this.isSubtype(MethodBlockExpression, supertype) || this.isSubtype(PrimitiveExpression, supertype);
1129
+ }
1130
+ case GlobalParam: {
1131
+ return this.isSubtype(DocumentChoiceParms, supertype) || this.isSubtype(InventoryParams, supertype);
1132
+ }
1133
+ case HeightParam:
1134
+ case LocationParam:
1135
+ case TargetParam:
1136
+ case TimeLimitParam:
1137
+ case WidthParam: {
1138
+ return this.isSubtype(PromptParams, supertype);
1139
+ }
1140
+ case IconParam: {
1141
+ return this.isSubtype(ChoiceProperty, supertype) || this.isSubtype(DocumentParam, supertype) || this.isSubtype(KeywordParam, supertype) || this.isSubtype(MoneyDenominationParam, supertype) || this.isSubtype(PromptParams, supertype) || this.isSubtype(StandardFieldParams, supertype);
1142
+ }
1143
+ case ImageParam:
1144
+ case SizeParam: {
1145
+ return this.isSubtype(PaperDollParameter, supertype);
1146
+ }
1147
+ case InitiativeProperty:
1148
+ case MethodContainer:
1149
+ case Property:
1150
+ case StatusProperty: {
1151
+ return this.isSubtype(ClassExpression, supertype);
1152
+ }
1153
+ case InventoryColumnsParam:
1154
+ case InventoryEmptySlotsParam:
1155
+ case InventoryMoneyParam:
1156
+ case InventoryQuantityParam:
1157
+ case InventoryRowsParam:
1158
+ case InventorySlotSizeParam:
1159
+ case InventorySlotsParam:
1160
+ case InventorySortParam:
1161
+ case InventorySummaryParam:
1162
+ case InventorySumMaxParam:
1163
+ case InventorySumParam: {
1164
+ return this.isSubtype(InventoryParams, supertype);
1165
+ }
1166
+ case LabelParam: {
1167
+ return this.isSubtype(ChoiceProperty, supertype) || this.isSubtype(KeywordParam, supertype) || this.isSubtype(PromptParams, supertype) || this.isSubtype(StandardFieldParams, supertype);
1168
+ }
1169
+ case MathEmptyExpression:
1170
+ case MathParamExpression:
1171
+ case MathSingleExpression: {
1172
+ return this.isSubtype(MathExpression, supertype);
1173
+ }
1174
+ case MoneyDenominationValueParam: {
1175
+ return this.isSubtype(MoneyDenominationParam, supertype);
1176
+ }
1177
+ case MoneyDisplayParam:
1178
+ case MoneyFormatParam:
1179
+ case MoneyPrecisionParam: {
1180
+ return this.isSubtype(MoneyParameter, supertype);
1181
+ }
1182
+ case NumberFieldParams: {
1183
+ return this.isSubtype(AttributeParameter, supertype) || this.isSubtype(DamageTrackParams, supertype) || this.isSubtype(ResourceParameter, supertype) || this.isSubtype(TrackerParameter, supertype);
1184
+ }
1185
+ case NumberParamCalculator:
1186
+ case NumberParamMax:
1187
+ case NumberParamMin: {
1188
+ return this.isSubtype(NumberFieldParams, supertype) || this.isSubtype(NumberParameter, supertype);
1189
+ }
1190
+ case NumberParamInitial:
1191
+ case NumberParamValue: {
1192
+ return this.isSubtype(MoneyParameter, supertype) || this.isSubtype(NumberFieldParams, supertype) || this.isSubtype(NumberParameter, supertype);
1193
+ }
1194
+ case PaperDollDocumentReference: {
1195
+ return this.isSubtype(PaperDollElement, supertype);
1196
+ }
1197
+ case Parameter: {
1198
+ return this.isSubtype(VariableAccess, supertype);
1199
+ }
1200
+ case ParentExpressionAssignment:
1201
+ case ParentIncrementDecrementAssignment:
1202
+ case ParentQuickModifyAssignment: {
1203
+ return this.isSubtype(ParentAssignment, supertype);
1204
+ }
1205
+ case ParentPropertyRefChoiceParam: {
1206
+ return this.isSubtype(ParentPropertyRefParams, supertype);
1207
+ }
1208
+ case ParentPropertyRefExp:
1209
+ case SelfPropertyRefExp: {
1210
+ return this.isSubtype(ReferenceFields, supertype);
1211
+ }
1212
+ case PlayAudioFile:
1213
+ case PlayAudioVolume: {
1214
+ return this.isSubtype(PlayAudioParams, supertype);
1215
+ }
1216
+ case PrimitiveExpression: {
1217
+ return this.isSubtype(Expr, supertype);
1218
+ }
1219
+ case RollParam:
1220
+ case TypeParam: {
1221
+ return this.isSubtype(DamageRollParam, supertype);
1222
+ }
1223
+ case SegmentsParameter:
1224
+ case TrackerStyleParameter: {
1225
+ return this.isSubtype(ResourceParameter, supertype) || this.isSubtype(TrackerParameter, supertype);
1226
+ }
1227
+ case SelfPropertyRefChoiceParam: {
1228
+ return this.isSubtype(SelfPropertyRefParams, supertype);
1229
+ }
1230
+ case StandardFieldParams: {
1231
+ 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(SelfPropertyRefParams, supertype) || this.isSubtype(StringChoicesParameter, supertype) || this.isSubtype(StringParameter, supertype) || this.isSubtype(TableParams, supertype) || this.isSubtype(TrackerParameter, supertype);
1232
+ }
1233
+ case StatusParamWhen: {
1234
+ return this.isSubtype(StatusPropertyParameter, supertype);
1235
+ }
1236
+ case StringChoicesParamChoices:
1237
+ case StringChoicesParamInitial:
1238
+ case StringChoicesParamMax: {
1239
+ return this.isSubtype(StringChoicesParameter, supertype);
1240
+ }
1241
+ case StringParamChoices:
1242
+ case StringParamValue: {
1243
+ return this.isSubtype(StringParameter, supertype);
1244
+ }
1245
+ case SummaryParam: {
1246
+ return this.isSubtype(ChoiceProperty, supertype) || this.isSubtype(KeywordParam, supertype);
1247
+ }
1248
+ case TableFieldsParam: {
1249
+ return this.isSubtype(TableParams, supertype);
1250
+ }
1251
+ case TargetExpressionAssignment:
1252
+ case TargetIncrementDecrementAssignment:
1253
+ case TargetQuickModifyAssignment: {
1254
+ return this.isSubtype(TargetAssignment, supertype);
1255
+ }
1256
+ case UpdateParent:
1257
+ case UpdateSelf: {
1258
+ return this.isSubtype(Update, supertype);
1259
+ }
1260
+ case UserProperty: {
1261
+ return this.isSubtype(PrimitiveExpression, supertype) || this.isSubtype(User, supertype);
1262
+ }
1263
+ case VariableExpression: {
1264
+ return this.isSubtype(MethodBlockExpression, supertype) || this.isSubtype(VariableAccess, supertype);
1265
+ }
1266
+ case VariableExpressionAssignment:
1267
+ case VariableIncrementDecrementAssignment:
1268
+ case VariableQuickModifyAssignment: {
1269
+ return this.isSubtype(VariableAssignment, supertype);
1270
+ }
1271
+ case VisibilityParam: {
1272
+ return this.isSubtype(StandardFieldParams, supertype);
1273
+ }
1274
+ case WhereParam: {
1275
+ return this.isSubtype(DocumentChoiceParms, supertype) || this.isSubtype(InventoryParams, supertype) || this.isSubtype(TableParams, supertype);
1276
+ }
1277
+ default: {
1278
+ return false;
1279
+ }
1280
+ }
1281
+ }
1282
+ getReferenceType(refInfo) {
1283
+ const referenceId = `${refInfo.container.$type}:${refInfo.property}`;
1284
+ switch (referenceId) {
1285
+ case 'Access:property':
1286
+ case 'Access:propertyLookup':
1287
+ case 'ExpressionAssignment:property':
1288
+ case 'ExpressionAssignment:propertyLookup':
1289
+ case 'IncrementDecrementAssignment:property':
1290
+ case 'IncrementDecrementAssignment:propertyLookup':
1291
+ case 'InventoryQuantityParam:field':
1292
+ case 'InventorySortParam:property':
1293
+ case 'InventorySumProperties:properties':
1294
+ case 'InventorySumProperties:property':
1295
+ case 'ParentAccess:property':
1296
+ case 'ParentAccess:propertyLookup':
1297
+ case 'ParentExpressionAssignment:property':
1298
+ case 'ParentExpressionAssignment:propertyLookup':
1299
+ case 'ParentIncrementDecrementAssignment:property':
1300
+ case 'ParentIncrementDecrementAssignment:propertyLookup':
1301
+ case 'ParentPropertyRefChoice:property':
1302
+ case 'ParentQuickModifyAssignment:property':
1303
+ case 'ParentQuickModifyAssignment:propertyLookup':
1304
+ case 'QuickModifyAssignment:property':
1305
+ case 'QuickModifyAssignment:propertyLookup':
1306
+ case 'SelfPropertyRefChoice:property':
1307
+ case 'TargetAccess:property':
1308
+ case 'TargetExpressionAssignment:property':
1309
+ case 'TargetIncrementDecrementAssignment:property':
1310
+ case 'TargetQuickModifyAssignment:property':
1311
+ case 'UpdateParent:property':
1312
+ case 'UpdateParent:propertyLookup':
1313
+ case 'UpdateSelf:property':
1314
+ case 'UpdateSelf:propertyLookup': {
1315
+ return Property;
1316
+ }
1317
+ case 'DocumentChoiceExp:document':
1318
+ case 'DocumentChoicesExp:document':
1319
+ case 'InventoryField:document':
1320
+ case 'PaperDollDocumentReference:document':
1321
+ case 'ParentPropertyRefChoice:document':
1322
+ case 'ParentTypeCheckExpression:document':
1323
+ case 'SingleDocumentExp:document':
1324
+ case 'TableField:document':
1325
+ case 'TargetTypeCheckExpression:document': {
1326
+ return Document;
1327
+ }
1328
+ case 'EachAccess:variable': {
1329
+ return Each;
1330
+ }
1331
+ case 'FleetingAccess:variable': {
1332
+ return VariableExpression;
1333
+ }
1334
+ case 'FunctionCall:method': {
1335
+ return FunctionDefinition;
1336
+ }
1337
+ case 'InventoryMoneyParam:field': {
1338
+ return MoneyField;
1339
+ }
1340
+ case 'MacroExecute:macro': {
1341
+ return MacroField;
1342
+ }
1343
+ case 'Ref:val':
1344
+ case 'VariableExpressionAssignment:variable':
1345
+ case 'VariableIncrementDecrementAssignment:variable':
1346
+ case 'VariableQuickModifyAssignment:variable': {
1347
+ return VariableAccess;
1348
+ }
1349
+ default: {
1350
+ throw new Error(`${referenceId} is not a valid reference id.`);
1351
+ }
1352
+ }
1353
+ }
1354
+ getTypeMetaData(type) {
1355
+ switch (type) {
1356
+ case 'Action': {
1357
+ return {
1358
+ name: 'Action',
1359
+ properties: [
1360
+ { name: 'isMacro', defaultValue: false },
1361
+ { name: 'isQuick', defaultValue: false },
1362
+ { name: 'isSecondary', defaultValue: false },
1363
+ { name: 'method' },
1364
+ { name: 'modifier' },
1365
+ { name: 'name' },
1366
+ { name: 'params', defaultValue: [] }
1367
+ ]
1368
+ };
1369
+ }
1370
+ case 'Actor': {
1371
+ return {
1372
+ name: 'Actor',
1373
+ properties: [
1374
+ { name: 'body' },
1375
+ { name: 'name' },
1376
+ { name: 'params', defaultValue: [] }
1377
+ ]
1378
+ };
1379
+ }
1380
+ case 'ArrayExpression': {
1381
+ return {
1382
+ name: 'ArrayExpression',
1383
+ properties: [
1384
+ { name: 'items', defaultValue: [] }
1385
+ ]
1386
+ };
1387
+ }
1388
+ case 'AttributeExp': {
1389
+ return {
1390
+ name: 'AttributeExp',
1391
+ properties: [
1392
+ { name: 'modifier' },
1393
+ { name: 'name' },
1394
+ { name: 'params', defaultValue: [] }
1395
+ ]
1396
+ };
1397
+ }
1398
+ case 'AttributeParamMod': {
1399
+ return {
1400
+ name: 'AttributeParamMod',
1401
+ properties: [
1402
+ { name: 'method' }
1403
+ ]
1404
+ };
1405
+ }
1406
+ case 'AttributeRollParam': {
1407
+ return {
1408
+ name: 'AttributeRollParam',
1409
+ properties: [
1410
+ { name: 'roll' }
1411
+ ]
1412
+ };
1413
+ }
1414
+ case 'AttributeStyleParam': {
1415
+ return {
1416
+ name: 'AttributeStyleParam',
1417
+ properties: [
1418
+ { name: 'style' }
1419
+ ]
1420
+ };
1421
+ }
1422
+ case 'BackgroundParam': {
1423
+ return {
1424
+ name: 'BackgroundParam',
1425
+ properties: [
1426
+ { name: 'background' }
1427
+ ]
1428
+ };
1429
+ }
1430
+ case 'BinaryExpression': {
1431
+ return {
1432
+ name: 'BinaryExpression',
1433
+ properties: [
1434
+ { name: 'e1' },
1435
+ { name: 'e2' },
1436
+ { name: 'op' }
1437
+ ]
1438
+ };
1439
+ }
1440
+ case 'BooleanExp': {
1441
+ return {
1442
+ name: 'BooleanExp',
1443
+ properties: [
1444
+ { name: 'modifier' },
1445
+ { name: 'name' },
1446
+ { name: 'params', defaultValue: [] }
1447
+ ]
1448
+ };
1449
+ }
1450
+ case 'BooleanParamValue': {
1451
+ return {
1452
+ name: 'BooleanParamValue',
1453
+ properties: [
1454
+ { name: 'value', defaultValue: false }
1455
+ ]
1456
+ };
1457
+ }
1458
+ case 'ChatBlock': {
1459
+ return {
1460
+ name: 'ChatBlock',
1461
+ properties: [
1462
+ { name: 'chatExp', defaultValue: [] }
1463
+ ]
1464
+ };
1465
+ }
1466
+ case 'ChatBlockExpression': {
1467
+ return {
1468
+ name: 'ChatBlockExpression',
1469
+ properties: [
1470
+ { name: 'type' }
1471
+ ]
1472
+ };
1473
+ }
1474
+ case 'ChatCard': {
1475
+ return {
1476
+ name: 'ChatCard',
1477
+ properties: [
1478
+ { name: 'body' },
1479
+ { name: 'name' },
1480
+ { name: 'path' }
1481
+ ]
1482
+ };
1483
+ }
1484
+ case 'ChoiceCustomProperty': {
1485
+ return {
1486
+ name: 'ChoiceCustomProperty',
1487
+ properties: [
1488
+ { name: 'key' },
1489
+ { name: 'value', defaultValue: false }
1490
+ ]
1491
+ };
1492
+ }
1493
+ case 'ChoiceStringValue': {
1494
+ return {
1495
+ name: 'ChoiceStringValue',
1496
+ properties: [
1497
+ { name: 'value' }
1498
+ ]
1499
+ };
1500
+ }
1501
+ case 'ColorParam': {
1502
+ return {
1503
+ name: 'ColorParam',
1504
+ properties: [
1505
+ { name: 'value' }
1506
+ ]
1507
+ };
1508
+ }
1509
+ case 'Column': {
1510
+ return {
1511
+ name: 'Column',
1512
+ properties: [
1513
+ { name: 'body', defaultValue: [] }
1514
+ ]
1515
+ };
1516
+ }
1517
+ case 'CombatMethods': {
1518
+ return {
1519
+ name: 'CombatMethods',
1520
+ properties: [
1521
+ { name: 'method' }
1522
+ ]
1523
+ };
1524
+ }
1525
+ case 'CombatProperty': {
1526
+ return {
1527
+ name: 'CombatProperty',
1528
+ properties: [
1529
+ { name: 'property' }
1530
+ ]
1531
+ };
1532
+ }
1533
+ case 'ComparisonExpression': {
1534
+ return {
1535
+ name: 'ComparisonExpression',
1536
+ properties: [
1537
+ { name: 'e1' },
1538
+ { name: 'e2' },
1539
+ { name: 'term' }
1540
+ ]
1541
+ };
1542
+ }
1543
+ case 'Config': {
1544
+ return {
1545
+ name: 'Config',
1546
+ properties: [
1547
+ { name: 'body', defaultValue: [] },
1548
+ { name: 'name' }
1549
+ ]
1550
+ };
1551
+ }
1552
+ case 'ConfigExpression': {
1553
+ return {
1554
+ name: 'ConfigExpression',
1555
+ properties: [
1556
+ { name: 'type' },
1557
+ { name: 'value' }
1558
+ ]
1559
+ };
1560
+ }
1561
+ case 'DamageBonusesField': {
1562
+ return {
1563
+ name: 'DamageBonusesField',
1564
+ properties: [
1565
+ { name: 'modifier' },
1566
+ { name: 'name' },
1567
+ { name: 'params', defaultValue: [] }
1568
+ ]
1569
+ };
1570
+ }
1571
+ case 'DamageResistancesField': {
1572
+ return {
1573
+ name: 'DamageResistancesField',
1574
+ properties: [
1575
+ { name: 'modifier' },
1576
+ { name: 'name' },
1577
+ { name: 'params', defaultValue: [] }
1578
+ ]
1579
+ };
1580
+ }
1581
+ case 'DamageRoll': {
1582
+ return {
1583
+ name: 'DamageRoll',
1584
+ properties: [
1585
+ { name: 'params', defaultValue: [] }
1586
+ ]
1587
+ };
1588
+ }
1589
+ case 'DamageTrackExp': {
1590
+ return {
1591
+ name: 'DamageTrackExp',
1592
+ properties: [
1593
+ { name: 'modifier' },
1594
+ { name: 'name' },
1595
+ { name: 'params', defaultValue: [] }
1596
+ ]
1597
+ };
1598
+ }
1599
+ case 'DamageTrackTypesParam': {
1600
+ return {
1601
+ name: 'DamageTrackTypesParam',
1602
+ properties: [
1603
+ { name: 'types' }
1604
+ ]
1605
+ };
1606
+ }
1607
+ case 'DamageTypeChoiceField': {
1608
+ return {
1609
+ name: 'DamageTypeChoiceField',
1610
+ properties: [
1611
+ { name: 'modifier' },
1612
+ { name: 'name' },
1613
+ { name: 'params', defaultValue: [] }
1614
+ ]
1615
+ };
1616
+ }
1617
+ case 'DateExp': {
1618
+ return {
1619
+ name: 'DateExp',
1620
+ properties: [
1621
+ { name: 'modifier' },
1622
+ { name: 'name' },
1623
+ { name: 'params', defaultValue: [] }
1624
+ ]
1625
+ };
1626
+ }
1627
+ case 'DateTimeExp': {
1628
+ return {
1629
+ name: 'DateTimeExp',
1630
+ properties: [
1631
+ { name: 'modifier' },
1632
+ { name: 'name' },
1633
+ { name: 'params', defaultValue: [] }
1634
+ ]
1635
+ };
1636
+ }
1637
+ case 'DiceField': {
1638
+ return {
1639
+ name: 'DiceField',
1640
+ properties: [
1641
+ { name: 'modifier' },
1642
+ { name: 'name' },
1643
+ { name: 'params', defaultValue: [] }
1644
+ ]
1645
+ };
1646
+ }
1647
+ case 'DieChoicesParam': {
1648
+ return {
1649
+ name: 'DieChoicesParam',
1650
+ properties: [
1651
+ { name: 'choices' }
1652
+ ]
1653
+ };
1654
+ }
1655
+ case 'DieField': {
1656
+ return {
1657
+ name: 'DieField',
1658
+ properties: [
1659
+ { name: 'modifier' },
1660
+ { name: 'name' },
1661
+ { name: 'params', defaultValue: [] }
1662
+ ]
1663
+ };
1664
+ }
1665
+ case 'DieInitialParam': {
1666
+ return {
1667
+ name: 'DieInitialParam',
1668
+ properties: [
1669
+ { name: 'value' }
1670
+ ]
1671
+ };
1672
+ }
1673
+ case 'DieNoneParam': {
1674
+ return {
1675
+ name: 'DieNoneParam',
1676
+ properties: [
1677
+ { name: 'value', defaultValue: false }
1678
+ ]
1679
+ };
1680
+ }
1681
+ case 'DieValueParam': {
1682
+ return {
1683
+ name: 'DieValueParam',
1684
+ properties: [
1685
+ { name: 'value' }
1686
+ ]
1687
+ };
1688
+ }
1689
+ case 'DocumentChoiceExp': {
1690
+ return {
1691
+ name: 'DocumentChoiceExp',
1692
+ properties: [
1693
+ { name: 'document' },
1694
+ { name: 'modifier' },
1695
+ { name: 'name' },
1696
+ { name: 'params', defaultValue: [] }
1697
+ ]
1698
+ };
1699
+ }
1700
+ case 'DocumentChoicesExp': {
1701
+ return {
1702
+ name: 'DocumentChoicesExp',
1703
+ properties: [
1704
+ { name: 'document' },
1705
+ { name: 'modifier' },
1706
+ { name: 'name' },
1707
+ { name: 'params', defaultValue: [] }
1708
+ ]
1709
+ };
1710
+ }
1711
+ case 'DocumentCreatableParam': {
1712
+ return {
1713
+ name: 'DocumentCreatableParam',
1714
+ properties: [
1715
+ { name: 'value', defaultValue: false }
1716
+ ]
1717
+ };
1718
+ }
1719
+ case 'DocumentDefaultParam': {
1720
+ return {
1721
+ name: 'DocumentDefaultParam',
1722
+ properties: [
1723
+ { name: 'value', defaultValue: false }
1724
+ ]
1725
+ };
1726
+ }
1727
+ case 'DocumentDescriptionParam': {
1728
+ return {
1729
+ name: 'DocumentDescriptionParam',
1730
+ properties: [
1731
+ { name: 'value' }
1732
+ ]
1733
+ };
1734
+ }
1735
+ case 'DocumentSvgParam': {
1736
+ return {
1737
+ name: 'DocumentSvgParam',
1738
+ properties: [
1739
+ { name: 'value' }
1740
+ ]
1741
+ };
1742
+ }
1743
+ case 'Each': {
1744
+ return {
1745
+ name: 'Each',
1746
+ properties: [
1747
+ { name: 'collection' },
1748
+ { name: 'method' },
1749
+ { name: 'var' }
1750
+ ]
1751
+ };
1752
+ }
1753
+ case 'EachAccess': {
1754
+ return {
1755
+ name: 'EachAccess',
1756
+ properties: [
1757
+ { name: 'variable' }
1758
+ ]
1759
+ };
1760
+ }
1761
+ case 'ElseIf': {
1762
+ return {
1763
+ name: 'ElseIf',
1764
+ properties: [
1765
+ { name: 'expression' },
1766
+ { name: 'method' }
1767
+ ]
1768
+ };
1769
+ }
1770
+ case 'Entry': {
1771
+ return {
1772
+ name: 'Entry',
1773
+ properties: [
1774
+ { name: 'config' },
1775
+ { name: 'documents', defaultValue: [] }
1776
+ ]
1777
+ };
1778
+ }
1779
+ case 'ExpressionAssignment': {
1780
+ return {
1781
+ name: 'ExpressionAssignment',
1782
+ properties: [
1783
+ { name: 'access' },
1784
+ { name: 'exp' },
1785
+ { name: 'property' },
1786
+ { name: 'propertyLookup' },
1787
+ { name: 'subProperties' }
1788
+ ]
1789
+ };
1790
+ }
1791
+ case 'FunctionCall': {
1792
+ return {
1793
+ name: 'FunctionCall',
1794
+ properties: [
1795
+ { name: 'method' },
1796
+ { name: 'params', defaultValue: [] }
1797
+ ]
1798
+ };
1799
+ }
1800
+ case 'FunctionDefinition': {
1801
+ return {
1802
+ name: 'FunctionDefinition',
1803
+ properties: [
1804
+ { name: 'method' },
1805
+ { name: 'name' },
1806
+ { name: 'params', defaultValue: [] },
1807
+ { name: 'returnType' }
1808
+ ]
1809
+ };
1810
+ }
1811
+ case 'FunctionParam': {
1812
+ return {
1813
+ name: 'FunctionParam',
1814
+ properties: [
1815
+ { name: 'defaultValue' },
1816
+ { name: 'param' }
1817
+ ]
1818
+ };
1819
+ }
1820
+ case 'GlobalParam': {
1821
+ return {
1822
+ name: 'GlobalParam',
1823
+ properties: [
1824
+ { name: 'value', defaultValue: false }
1825
+ ]
1826
+ };
1827
+ }
1828
+ case 'Group': {
1829
+ return {
1830
+ name: 'Group',
1831
+ properties: [
1832
+ { name: 'ge' }
1833
+ ]
1834
+ };
1835
+ }
1836
+ case 'HeightParam': {
1837
+ return {
1838
+ name: 'HeightParam',
1839
+ properties: [
1840
+ { name: 'value' }
1841
+ ]
1842
+ };
1843
+ }
1844
+ case 'HookHandler': {
1845
+ return {
1846
+ name: 'HookHandler',
1847
+ properties: [
1848
+ { name: 'body', defaultValue: [] },
1849
+ { name: 'name' },
1850
+ { name: 'params', defaultValue: [] }
1851
+ ]
1852
+ };
1853
+ }
1854
+ case 'HtmlExp': {
1855
+ return {
1856
+ name: 'HtmlExp',
1857
+ properties: [
1858
+ { name: 'modifier' },
1859
+ { name: 'name' },
1860
+ { name: 'params', defaultValue: [] }
1861
+ ]
1862
+ };
1863
+ }
1864
+ case 'IconParam': {
1865
+ return {
1866
+ name: 'IconParam',
1867
+ properties: [
1868
+ { name: 'value' }
1869
+ ]
1870
+ };
1871
+ }
1872
+ case 'IfStatement': {
1873
+ return {
1874
+ name: 'IfStatement',
1875
+ properties: [
1876
+ { name: 'elseIfs', defaultValue: [] },
1877
+ { name: 'elseMethod' },
1878
+ { name: 'expression' },
1879
+ { name: 'method' }
1880
+ ]
1881
+ };
1882
+ }
1883
+ case 'ImageParam': {
1884
+ return {
1885
+ name: 'ImageParam',
1886
+ properties: [
1887
+ { name: 'value' }
1888
+ ]
1889
+ };
1890
+ }
1891
+ case 'IncrementDecrementAssignment': {
1892
+ return {
1893
+ name: 'IncrementDecrementAssignment',
1894
+ properties: [
1895
+ { name: 'access' },
1896
+ { name: 'property' },
1897
+ { name: 'propertyLookup' },
1898
+ { name: 'subProperties' },
1899
+ { name: 'term' }
1900
+ ]
1901
+ };
1902
+ }
1903
+ case 'InitiativeProperty': {
1904
+ return {
1905
+ name: 'InitiativeProperty',
1906
+ properties: [
1907
+ { name: 'value' }
1908
+ ]
1909
+ };
1910
+ }
1911
+ case 'InventoryColumnsParam': {
1912
+ return {
1913
+ name: 'InventoryColumnsParam',
1914
+ properties: [
1915
+ { name: 'value' }
1916
+ ]
1917
+ };
1918
+ }
1919
+ case 'InventoryEmptySlotsParam': {
1920
+ return {
1921
+ name: 'InventoryEmptySlotsParam',
1922
+ properties: [
1923
+ { name: 'value' }
1924
+ ]
1925
+ };
1926
+ }
1927
+ case 'InventoryField': {
1928
+ return {
1929
+ name: 'InventoryField',
1930
+ properties: [
1931
+ { name: 'document' },
1932
+ { name: 'modifier' },
1933
+ { name: 'name' },
1934
+ { name: 'params', defaultValue: [] }
1935
+ ]
1936
+ };
1937
+ }
1938
+ case 'InventoryMoneyParam': {
1939
+ return {
1940
+ name: 'InventoryMoneyParam',
1941
+ properties: [
1942
+ { name: 'field' }
1943
+ ]
1944
+ };
1945
+ }
1946
+ case 'InventoryQuantityParam': {
1947
+ return {
1948
+ name: 'InventoryQuantityParam',
1949
+ properties: [
1950
+ { name: 'field' }
1951
+ ]
1952
+ };
1953
+ }
1954
+ case 'InventoryRowsParam': {
1955
+ return {
1956
+ name: 'InventoryRowsParam',
1957
+ properties: [
1958
+ { name: 'value' }
1959
+ ]
1960
+ };
1961
+ }
1962
+ case 'InventorySlotSizeParam': {
1963
+ return {
1964
+ name: 'InventorySlotSizeParam',
1965
+ properties: [
1966
+ { name: 'value' }
1967
+ ]
1968
+ };
1969
+ }
1970
+ case 'InventorySlotsParam': {
1971
+ return {
1972
+ name: 'InventorySlotsParam',
1973
+ properties: [
1974
+ { name: 'value' }
1975
+ ]
1976
+ };
1977
+ }
1978
+ case 'InventorySortParam': {
1979
+ return {
1980
+ name: 'InventorySortParam',
1981
+ properties: [
1982
+ { name: 'order' },
1983
+ { name: 'property' }
1984
+ ]
1985
+ };
1986
+ }
1987
+ case 'InventorySummaryParam': {
1988
+ return {
1989
+ name: 'InventorySummaryParam',
1990
+ properties: [
1991
+ { name: 'value' }
1992
+ ]
1993
+ };
1994
+ }
1995
+ case 'InventorySumMaxParam': {
1996
+ return {
1997
+ name: 'InventorySumMaxParam',
1998
+ properties: [
1999
+ { name: 'expression' },
2000
+ { name: 'value' },
2001
+ { name: 'values' }
2002
+ ]
2003
+ };
2004
+ }
2005
+ case 'InventorySumMaxValues': {
2006
+ return {
2007
+ name: 'InventorySumMaxValues',
2008
+ properties: [
2009
+ { name: 'values' }
2010
+ ]
2011
+ };
2012
+ }
2013
+ case 'InventorySumParam': {
2014
+ return {
2015
+ name: 'InventorySumParam',
2016
+ properties: [
2017
+ { name: 'properties' }
2018
+ ]
2019
+ };
2020
+ }
2021
+ case 'InventorySumProperties': {
2022
+ return {
2023
+ name: 'InventorySumProperties',
2024
+ properties: [
2025
+ { name: 'properties', defaultValue: [] },
2026
+ { name: 'property' }
2027
+ ]
2028
+ };
2029
+ }
2030
+ case 'Item': {
2031
+ return {
2032
+ name: 'Item',
2033
+ properties: [
2034
+ { name: 'body' },
2035
+ { name: 'name' },
2036
+ { name: 'params', defaultValue: [] }
2037
+ ]
2038
+ };
2039
+ }
2040
+ case 'ItemAccess': {
2041
+ return {
2042
+ name: 'ItemAccess',
2043
+ properties: [
2044
+ { name: 'property' },
2045
+ { name: 'subProperty' }
2046
+ ]
2047
+ };
2048
+ }
2049
+ case 'JS': {
2050
+ return {
2051
+ name: 'JS',
2052
+ properties: [
2053
+ { name: 'js' }
2054
+ ]
2055
+ };
2056
+ }
2057
+ case 'Keyword': {
2058
+ return {
2059
+ name: 'Keyword',
2060
+ properties: [
2061
+ { name: 'name' },
2062
+ { name: 'params', defaultValue: [] }
2063
+ ]
2064
+ };
2065
+ }
2066
+ case 'Keywords': {
2067
+ return {
2068
+ name: 'Keywords',
2069
+ properties: [
2070
+ { name: 'body', defaultValue: [] }
2071
+ ]
2072
+ };
2073
+ }
2074
+ case 'LabelParam': {
2075
+ return {
2076
+ name: 'LabelParam',
2077
+ properties: [
2078
+ { name: 'value' }
2079
+ ]
2080
+ };
2081
+ }
2082
+ case 'Literal': {
2083
+ return {
2084
+ name: 'Literal',
2085
+ properties: [
2086
+ { name: 'val', defaultValue: false }
2087
+ ]
2088
+ };
2089
+ }
2090
+ case 'LocationParam': {
2091
+ return {
2092
+ name: 'LocationParam',
2093
+ properties: [
2094
+ { name: 'x' },
2095
+ { name: 'y' }
2096
+ ]
2097
+ };
2098
+ }
2099
+ case 'LogExpression': {
2100
+ return {
2101
+ name: 'LogExpression',
2102
+ properties: [
2103
+ { name: 'params', defaultValue: [] }
2104
+ ]
2105
+ };
2106
+ }
2107
+ case 'MacroExecute': {
2108
+ return {
2109
+ name: 'MacroExecute',
2110
+ properties: [
2111
+ { name: 'macro' }
2112
+ ]
2113
+ };
2114
+ }
2115
+ case 'MacroField': {
2116
+ return {
2117
+ name: 'MacroField',
2118
+ properties: [
2119
+ { name: 'modifier' },
2120
+ { name: 'name' },
2121
+ { name: 'params', defaultValue: [] }
2122
+ ]
2123
+ };
2124
+ }
2125
+ case 'MathEmptyExpression': {
2126
+ return {
2127
+ name: 'MathEmptyExpression',
2128
+ properties: [
2129
+ { name: 'operation' }
2130
+ ]
2131
+ };
2132
+ }
2133
+ case 'MathParamExpression': {
2134
+ return {
2135
+ name: 'MathParamExpression',
2136
+ properties: [
2137
+ { name: 'operation' },
2138
+ { name: 'params', defaultValue: [] }
2139
+ ]
2140
+ };
2141
+ }
2142
+ case 'MathSingleExpression': {
2143
+ return {
2144
+ name: 'MathSingleExpression',
2145
+ properties: [
2146
+ { name: 'exp' },
2147
+ { name: 'operation' }
2148
+ ]
2149
+ };
2150
+ }
2151
+ case 'MeasuredTemplateField': {
2152
+ return {
2153
+ name: 'MeasuredTemplateField',
2154
+ properties: [
2155
+ { name: 'modifier' },
2156
+ { name: 'name' },
2157
+ { name: 'params', defaultValue: [] }
2158
+ ]
2159
+ };
2160
+ }
2161
+ case 'MethodBlock': {
2162
+ return {
2163
+ name: 'MethodBlock',
2164
+ properties: [
2165
+ { name: 'body', defaultValue: [] }
2166
+ ]
2167
+ };
2168
+ }
2169
+ case 'MethodParam': {
2170
+ return {
2171
+ name: 'MethodParam',
2172
+ properties: [
2173
+ { name: 'name' }
2174
+ ]
2175
+ };
2176
+ }
2177
+ case 'MoneyDenomination': {
2178
+ return {
2179
+ name: 'MoneyDenomination',
2180
+ properties: [
2181
+ { name: 'name' },
2182
+ { name: 'params', defaultValue: [] }
2183
+ ]
2184
+ };
2185
+ }
2186
+ case 'MoneyDenominationValueParam': {
2187
+ return {
2188
+ name: 'MoneyDenominationValueParam',
2189
+ properties: [
2190
+ { name: 'value' }
2191
+ ]
2192
+ };
2193
+ }
2194
+ case 'MoneyDisplayParam': {
2195
+ return {
2196
+ name: 'MoneyDisplayParam',
2197
+ properties: [
2198
+ { name: 'value' }
2199
+ ]
2200
+ };
2201
+ }
2202
+ case 'MoneyField': {
2203
+ return {
2204
+ name: 'MoneyField',
2205
+ properties: [
2206
+ { name: 'denominations', defaultValue: [] },
2207
+ { name: 'modifier' },
2208
+ { name: 'name' },
2209
+ { name: 'params', defaultValue: [] }
2210
+ ]
2211
+ };
2212
+ }
2213
+ case 'MoneyFormatParam': {
2214
+ return {
2215
+ name: 'MoneyFormatParam',
2216
+ properties: [
2217
+ { name: 'value' }
2218
+ ]
2219
+ };
2220
+ }
2221
+ case 'MoneyPrecisionParam': {
2222
+ return {
2223
+ name: 'MoneyPrecisionParam',
2224
+ properties: [
2225
+ { name: 'value' }
2226
+ ]
2227
+ };
2228
+ }
2229
+ case 'NegExpression': {
2230
+ return {
2231
+ name: 'NegExpression',
2232
+ properties: [
2233
+ { name: 'ne' }
2234
+ ]
2235
+ };
2236
+ }
2237
+ case 'NumberExp': {
2238
+ return {
2239
+ name: 'NumberExp',
2240
+ properties: [
2241
+ { name: 'modifier' },
2242
+ { name: 'name' },
2243
+ { name: 'params', defaultValue: [] }
2244
+ ]
2245
+ };
2246
+ }
2247
+ case 'NumberParamCalculator': {
2248
+ return {
2249
+ name: 'NumberParamCalculator',
2250
+ properties: [
2251
+ { name: 'value', defaultValue: false }
2252
+ ]
2253
+ };
2254
+ }
2255
+ case 'NumberParamInitial': {
2256
+ return {
2257
+ name: 'NumberParamInitial',
2258
+ properties: [
2259
+ { name: 'value' }
2260
+ ]
2261
+ };
2262
+ }
2263
+ case 'NumberParamMax': {
2264
+ return {
2265
+ name: 'NumberParamMax',
2266
+ properties: [
2267
+ { name: 'value' }
2268
+ ]
2269
+ };
2270
+ }
2271
+ case 'NumberParamMin': {
2272
+ return {
2273
+ name: 'NumberParamMin',
2274
+ properties: [
2275
+ { name: 'value' }
2276
+ ]
2277
+ };
2278
+ }
2279
+ case 'NumberParamValue': {
2280
+ return {
2281
+ name: 'NumberParamValue',
2282
+ properties: [
2283
+ { name: 'value' }
2284
+ ]
2285
+ };
2286
+ }
2287
+ case 'NumberRange': {
2288
+ return {
2289
+ name: 'NumberRange',
2290
+ properties: [
2291
+ { name: 'end' },
2292
+ { name: 'start' }
2293
+ ]
2294
+ };
2295
+ }
2296
+ case 'Page': {
2297
+ return {
2298
+ name: 'Page',
2299
+ properties: [
2300
+ { name: 'body' },
2301
+ { name: 'name' },
2302
+ { name: 'params' }
2303
+ ]
2304
+ };
2305
+ }
2306
+ case 'PaperDollDocumentReference': {
2307
+ return {
2308
+ name: 'PaperDollDocumentReference',
2309
+ properties: [
2310
+ { name: 'document' },
2311
+ { name: 'left' },
2312
+ { name: 'name' },
2313
+ { name: 'top' }
2314
+ ]
2315
+ };
2316
+ }
2317
+ case 'PaperDollExp': {
2318
+ return {
2319
+ name: 'PaperDollExp',
2320
+ properties: [
2321
+ { name: 'elements', defaultValue: [] },
2322
+ { name: 'modifier' },
2323
+ { name: 'name' },
2324
+ { name: 'params', defaultValue: [] }
2325
+ ]
2326
+ };
2327
+ }
2328
+ case 'Parameter': {
2329
+ return {
2330
+ name: 'Parameter',
2331
+ properties: [
2332
+ { name: 'name' }
2333
+ ]
2334
+ };
2335
+ }
2336
+ case 'ParentExpressionAssignment': {
2337
+ return {
2338
+ name: 'ParentExpressionAssignment',
2339
+ properties: [
2340
+ { name: 'exp' },
2341
+ { name: 'property' },
2342
+ { name: 'propertyLookup' },
2343
+ { name: 'subProperties' }
2344
+ ]
2345
+ };
2346
+ }
2347
+ case 'ParentIncrementDecrementAssignment': {
2348
+ return {
2349
+ name: 'ParentIncrementDecrementAssignment',
2350
+ properties: [
2351
+ { name: 'property' },
2352
+ { name: 'propertyLookup' },
2353
+ { name: 'subProperties' },
2354
+ { name: 'term' }
2355
+ ]
2356
+ };
2357
+ }
2358
+ case 'ParentPropertyRefChoice': {
2359
+ return {
2360
+ name: 'ParentPropertyRefChoice',
2361
+ properties: [
2362
+ { name: 'document' },
2363
+ { name: 'property' }
2364
+ ]
2365
+ };
2366
+ }
2367
+ case 'ParentPropertyRefChoiceParam': {
2368
+ return {
2369
+ name: 'ParentPropertyRefChoiceParam',
2370
+ properties: [
2371
+ { name: 'choices', defaultValue: [] }
2372
+ ]
2373
+ };
2374
+ }
2375
+ case 'ParentPropertyRefExp': {
2376
+ return {
2377
+ name: 'ParentPropertyRefExp',
2378
+ properties: [
2379
+ { name: 'modifier' },
2380
+ { name: 'name' },
2381
+ { name: 'params', defaultValue: [] },
2382
+ { name: 'propertyType' }
2383
+ ]
2384
+ };
2385
+ }
2386
+ case 'ParentQuickModifyAssignment': {
2387
+ return {
2388
+ name: 'ParentQuickModifyAssignment',
2389
+ properties: [
2390
+ { name: 'exp' },
2391
+ { name: 'property' },
2392
+ { name: 'propertyLookup' },
2393
+ { name: 'subProperties' },
2394
+ { name: 'term' }
2395
+ ]
2396
+ };
2397
+ }
2398
+ case 'ParentTypeCheckExpression': {
2399
+ return {
2400
+ name: 'ParentTypeCheckExpression',
2401
+ properties: [
2402
+ { name: 'document' }
2403
+ ]
2404
+ };
2405
+ }
2406
+ case 'PinnedField': {
2407
+ return {
2408
+ name: 'PinnedField',
2409
+ properties: [
2410
+ { name: 'modifier' },
2411
+ { name: 'name' },
2412
+ { name: 'params', defaultValue: [] }
2413
+ ]
2414
+ };
2415
+ }
2416
+ case 'PlayAudio': {
2417
+ return {
2418
+ name: 'PlayAudio',
2419
+ properties: [
2420
+ { name: 'params', defaultValue: [] }
2421
+ ]
2422
+ };
2423
+ }
2424
+ case 'PlayAudioFile': {
2425
+ return {
2426
+ name: 'PlayAudioFile',
2427
+ properties: [
2428
+ { name: 'value' }
2429
+ ]
2430
+ };
2431
+ }
2432
+ case 'PlayAudioVolume': {
2433
+ return {
2434
+ name: 'PlayAudioVolume',
2435
+ properties: [
2436
+ { name: 'value' }
2437
+ ]
2438
+ };
2439
+ }
2440
+ case 'Prompt': {
2441
+ return {
2442
+ name: 'Prompt',
2443
+ properties: [
2444
+ { name: 'body', defaultValue: [] },
2445
+ { name: 'params', defaultValue: [] }
2446
+ ]
2447
+ };
2448
+ }
2449
+ case 'QuickModifyAssignment': {
2450
+ return {
2451
+ name: 'QuickModifyAssignment',
2452
+ properties: [
2453
+ { name: 'access' },
2454
+ { name: 'exp' },
2455
+ { name: 'property' },
2456
+ { name: 'propertyLookup' },
2457
+ { name: 'subProperties' },
2458
+ { name: 'term' }
2459
+ ]
2460
+ };
2461
+ }
2462
+ case 'Ref': {
2463
+ return {
2464
+ name: 'Ref',
2465
+ properties: [
2466
+ { name: 'subProperties', defaultValue: [] },
2467
+ { name: 'val' }
2468
+ ]
2469
+ };
2470
+ }
2471
+ case 'ResourceExp': {
2472
+ return {
2473
+ name: 'ResourceExp',
2474
+ properties: [
2475
+ { name: 'modifier' },
2476
+ { name: 'name' },
2477
+ { name: 'params', defaultValue: [] },
2478
+ { name: 'tag' }
2479
+ ]
2480
+ };
2481
+ }
2482
+ case 'ReturnExpression': {
2483
+ return {
2484
+ name: 'ReturnExpression',
2485
+ properties: [
2486
+ { name: 'value' }
2487
+ ]
2488
+ };
2489
+ }
2490
+ case 'Roll': {
2491
+ return {
2492
+ name: 'Roll',
2493
+ properties: [
2494
+ { name: 'parts', defaultValue: [] }
2495
+ ]
2496
+ };
2497
+ }
2498
+ case 'RollParam': {
2499
+ return {
2500
+ name: 'RollParam',
2501
+ properties: [
2502
+ { name: 'value' }
2503
+ ]
2504
+ };
2505
+ }
2506
+ case 'Row': {
2507
+ return {
2508
+ name: 'Row',
2509
+ properties: [
2510
+ { name: 'body', defaultValue: [] }
2511
+ ]
2512
+ };
2513
+ }
2514
+ case 'Section': {
2515
+ return {
2516
+ name: 'Section',
2517
+ properties: [
2518
+ { name: 'body', defaultValue: [] },
2519
+ { name: 'name' }
2520
+ ]
2521
+ };
2522
+ }
2523
+ case 'SegmentsParameter': {
2524
+ return {
2525
+ name: 'SegmentsParameter',
2526
+ properties: [
2527
+ { name: 'segments' }
2528
+ ]
2529
+ };
2530
+ }
2531
+ case 'SelfMethod': {
2532
+ return {
2533
+ name: 'SelfMethod',
2534
+ properties: [
2535
+ { name: 'method' }
2536
+ ]
2537
+ };
2538
+ }
2539
+ case 'SelfPropertyRefChoice': {
2540
+ return {
2541
+ name: 'SelfPropertyRefChoice',
2542
+ properties: [
2543
+ { name: 'property' }
2544
+ ]
2545
+ };
2546
+ }
2547
+ case 'SelfPropertyRefChoiceParam': {
2548
+ return {
2549
+ name: 'SelfPropertyRefChoiceParam',
2550
+ properties: [
2551
+ { name: 'choices', defaultValue: [] }
2552
+ ]
2553
+ };
2554
+ }
2555
+ case 'SelfPropertyRefExp': {
2556
+ return {
2557
+ name: 'SelfPropertyRefExp',
2558
+ properties: [
2559
+ { name: 'modifier' },
2560
+ { name: 'name' },
2561
+ { name: 'params', defaultValue: [] },
2562
+ { name: 'propertyType' }
2563
+ ]
2564
+ };
2565
+ }
2566
+ case 'ShorthandComparisonExpression': {
2567
+ return {
2568
+ name: 'ShorthandComparisonExpression',
2569
+ properties: [
2570
+ { name: 'e1' },
2571
+ { name: 'term' }
2572
+ ]
2573
+ };
2574
+ }
2575
+ case 'SingleDocumentExp': {
2576
+ return {
2577
+ name: 'SingleDocumentExp',
2578
+ properties: [
2579
+ { name: 'document' },
2580
+ { name: 'modifier' },
2581
+ { name: 'name' },
2582
+ { name: 'params', defaultValue: [] }
2583
+ ]
2584
+ };
2585
+ }
2586
+ case 'SizeParam': {
2587
+ return {
2588
+ name: 'SizeParam',
2589
+ properties: [
2590
+ { name: 'value' }
2591
+ ]
2592
+ };
2593
+ }
2594
+ case 'StatusParamWhen': {
2595
+ return {
2596
+ name: 'StatusParamWhen',
2597
+ properties: [
2598
+ { name: 'when' }
2599
+ ]
2600
+ };
2601
+ }
2602
+ case 'StatusProperty': {
2603
+ return {
2604
+ name: 'StatusProperty',
2605
+ properties: [
2606
+ { name: 'name' },
2607
+ { name: 'params', defaultValue: [] },
2608
+ { name: 'tag' }
2609
+ ]
2610
+ };
2611
+ }
2612
+ case 'StringChoice': {
2613
+ return {
2614
+ name: 'StringChoice',
2615
+ properties: [
2616
+ { name: 'value' }
2617
+ ]
2618
+ };
2619
+ }
2620
+ case 'StringChoiceField': {
2621
+ return {
2622
+ name: 'StringChoiceField',
2623
+ properties: [
2624
+ { name: 'modifier' },
2625
+ { name: 'name' },
2626
+ { name: 'params', defaultValue: [] }
2627
+ ]
2628
+ };
2629
+ }
2630
+ case 'StringChoicesField': {
2631
+ return {
2632
+ name: 'StringChoicesField',
2633
+ properties: [
2634
+ { name: 'modifier' },
2635
+ { name: 'name' },
2636
+ { name: 'params', defaultValue: [] }
2637
+ ]
2638
+ };
2639
+ }
2640
+ case 'StringChoicesParamChoices': {
2641
+ return {
2642
+ name: 'StringChoicesParamChoices',
2643
+ properties: [
2644
+ { name: 'choices', defaultValue: [] }
2645
+ ]
2646
+ };
2647
+ }
2648
+ case 'StringChoicesParamInitial': {
2649
+ return {
2650
+ name: 'StringChoicesParamInitial',
2651
+ properties: [
2652
+ { name: 'value' }
2653
+ ]
2654
+ };
2655
+ }
2656
+ case 'StringChoicesParamMax': {
2657
+ return {
2658
+ name: 'StringChoicesParamMax',
2659
+ properties: [
2660
+ { name: 'value' }
2661
+ ]
2662
+ };
2663
+ }
2664
+ case 'StringExp': {
2665
+ return {
2666
+ name: 'StringExp',
2667
+ properties: [
2668
+ { name: 'modifier' },
2669
+ { name: 'name' },
2670
+ { name: 'params', defaultValue: [] }
2671
+ ]
2672
+ };
2673
+ }
2674
+ case 'StringExtendedChoice': {
2675
+ return {
2676
+ name: 'StringExtendedChoice',
2677
+ properties: [
2678
+ { name: 'properties' }
2679
+ ]
2680
+ };
2681
+ }
2682
+ case 'StringParamChoices': {
2683
+ return {
2684
+ name: 'StringParamChoices',
2685
+ properties: [
2686
+ { name: 'choices', defaultValue: [] }
2687
+ ]
2688
+ };
2689
+ }
2690
+ case 'StringParamValue': {
2691
+ return {
2692
+ name: 'StringParamValue',
2693
+ properties: [
2694
+ { name: 'value' }
2695
+ ]
2696
+ };
2697
+ }
2698
+ case 'SummaryParam': {
2699
+ return {
2700
+ name: 'SummaryParam',
2701
+ properties: [
2702
+ { name: 'value' }
2703
+ ]
2704
+ };
2705
+ }
2706
+ case 'Tab': {
2707
+ return {
2708
+ name: 'Tab',
2709
+ properties: [
2710
+ { name: 'body' },
2711
+ { name: 'name' },
2712
+ { name: 'params' }
2713
+ ]
2714
+ };
2715
+ }
2716
+ case 'TableField': {
2717
+ return {
2718
+ name: 'TableField',
2719
+ properties: [
2720
+ { name: 'document' },
2721
+ { name: 'modifier' },
2722
+ { name: 'name' },
2723
+ { name: 'params', defaultValue: [] }
2724
+ ]
2725
+ };
2726
+ }
2727
+ case 'TableFieldsParam': {
2728
+ return {
2729
+ name: 'TableFieldsParam',
2730
+ properties: [
2731
+ { name: 'fields' }
2732
+ ]
2733
+ };
2734
+ }
2735
+ case 'TargetExpressionAssignment': {
2736
+ return {
2737
+ name: 'TargetExpressionAssignment',
2738
+ properties: [
2739
+ { name: 'exp' },
2740
+ { name: 'property' },
2741
+ { name: 'subProperties', defaultValue: [] }
2742
+ ]
2743
+ };
2744
+ }
2745
+ case 'TargetIncrementDecrementAssignment': {
2746
+ return {
2747
+ name: 'TargetIncrementDecrementAssignment',
2748
+ properties: [
2749
+ { name: 'property' },
2750
+ { name: 'subProperties', defaultValue: [] },
2751
+ { name: 'term' }
2752
+ ]
2753
+ };
2754
+ }
2755
+ case 'TargetParam': {
2756
+ return {
2757
+ name: 'TargetParam',
2758
+ properties: [
2759
+ { name: 'value' }
2760
+ ]
2761
+ };
2762
+ }
2763
+ case 'TargetQuickModifyAssignment': {
2764
+ return {
2765
+ name: 'TargetQuickModifyAssignment',
2766
+ properties: [
2767
+ { name: 'exp' },
2768
+ { name: 'property' },
2769
+ { name: 'subProperties', defaultValue: [] },
2770
+ { name: 'term' }
2771
+ ]
2772
+ };
2773
+ }
2774
+ case 'TargetTypeCheckExpression': {
2775
+ return {
2776
+ name: 'TargetTypeCheckExpression',
2777
+ properties: [
2778
+ { name: 'document' }
2779
+ ]
2780
+ };
2781
+ }
2782
+ case 'TimeExp': {
2783
+ return {
2784
+ name: 'TimeExp',
2785
+ properties: [
2786
+ { name: 'modifier' },
2787
+ { name: 'name' },
2788
+ { name: 'params', defaultValue: [] }
2789
+ ]
2790
+ };
2791
+ }
2792
+ case 'TimeLimitParam': {
2793
+ return {
2794
+ name: 'TimeLimitParam',
2795
+ properties: [
2796
+ { name: 'unit' },
2797
+ { name: 'value' }
2798
+ ]
2799
+ };
2800
+ }
2801
+ case 'TrackerExp': {
2802
+ return {
2803
+ name: 'TrackerExp',
2804
+ properties: [
2805
+ { name: 'modifier' },
2806
+ { name: 'name' },
2807
+ { name: 'params', defaultValue: [] }
2808
+ ]
2809
+ };
2810
+ }
2811
+ case 'TrackerStyleParameter': {
2812
+ return {
2813
+ name: 'TrackerStyleParameter',
2814
+ properties: [
2815
+ { name: 'style' }
2816
+ ]
2817
+ };
2818
+ }
2819
+ case 'TypeParam': {
2820
+ return {
2821
+ name: 'TypeParam',
2822
+ properties: [
2823
+ { name: 'value' }
2824
+ ]
2825
+ };
2826
+ }
2827
+ case 'UpdateParent': {
2828
+ return {
2829
+ name: 'UpdateParent',
2830
+ properties: [
2831
+ { name: 'property' },
2832
+ { name: 'propertyLookup' },
2833
+ { name: 'subProperties' }
2834
+ ]
2835
+ };
2836
+ }
2837
+ case 'UpdateSelf': {
2838
+ return {
2839
+ name: 'UpdateSelf',
2840
+ properties: [
2841
+ { name: 'access' },
2842
+ { name: 'property' },
2843
+ { name: 'propertyLookup' },
2844
+ { name: 'subProperties' }
2845
+ ]
2846
+ };
2847
+ }
2848
+ case 'UserProperty': {
2849
+ return {
2850
+ name: 'UserProperty',
2851
+ properties: [
2852
+ { name: 'property' }
2853
+ ]
2854
+ };
2855
+ }
2856
+ case 'VariableExpression': {
2857
+ return {
2858
+ name: 'VariableExpression',
2859
+ properties: [
2860
+ { name: 'name' },
2861
+ { name: 'type' },
2862
+ { name: 'value' }
2863
+ ]
2864
+ };
2865
+ }
2866
+ case 'VariableExpressionAssignment': {
2867
+ return {
2868
+ name: 'VariableExpressionAssignment',
2869
+ properties: [
2870
+ { name: 'exp' },
2871
+ { name: 'subProperties', defaultValue: [] },
2872
+ { name: 'variable' }
2873
+ ]
2874
+ };
2875
+ }
2876
+ case 'VariableIncrementDecrementAssignment': {
2877
+ return {
2878
+ name: 'VariableIncrementDecrementAssignment',
2879
+ properties: [
2880
+ { name: 'subProperties', defaultValue: [] },
2881
+ { name: 'term' },
2882
+ { name: 'variable' }
2883
+ ]
2884
+ };
2885
+ }
2886
+ case 'VariableQuickModifyAssignment': {
2887
+ return {
2888
+ name: 'VariableQuickModifyAssignment',
2889
+ properties: [
2890
+ { name: 'exp' },
2891
+ { name: 'subProperties', defaultValue: [] },
2892
+ { name: 'term' },
2893
+ { name: 'variable' }
2894
+ ]
2895
+ };
2896
+ }
2897
+ case 'VisibilityParam': {
2898
+ return {
2899
+ name: 'VisibilityParam',
2900
+ properties: [
2901
+ { name: 'visibility' }
2902
+ ]
2903
+ };
2904
+ }
2905
+ case 'VisibilityValue': {
2906
+ return {
2907
+ name: 'VisibilityValue',
2908
+ properties: [
2909
+ { name: 'visibility' }
2910
+ ]
2911
+ };
2912
+ }
2913
+ case 'Wait': {
2914
+ return {
2915
+ name: 'Wait',
2916
+ properties: [
2917
+ { name: 'duration' },
2918
+ { name: 'unit' }
2919
+ ]
2920
+ };
2921
+ }
2922
+ case 'WhereParam': {
2923
+ return {
2924
+ name: 'WhereParam',
2925
+ properties: [
2926
+ { name: 'value' }
2927
+ ]
2928
+ };
2929
+ }
2930
+ case 'WidthParam': {
2931
+ return {
2932
+ name: 'WidthParam',
2933
+ properties: [
2934
+ { name: 'value' }
2935
+ ]
2936
+ };
2937
+ }
2938
+ case 'Access': {
2939
+ return {
2940
+ name: 'Access',
2941
+ properties: [
2942
+ { name: 'access' },
2943
+ { name: 'property' },
2944
+ { name: 'propertyLookup' },
2945
+ { name: 'subProperties' },
2946
+ { name: 'type' }
2947
+ ]
2948
+ };
2949
+ }
2950
+ case 'FleetingAccess': {
2951
+ return {
2952
+ name: 'FleetingAccess',
2953
+ properties: [
2954
+ { name: 'arrayAccess' },
2955
+ { name: 'subProperty' },
2956
+ { name: 'type' },
2957
+ { name: 'variable' }
2958
+ ]
2959
+ };
2960
+ }
2961
+ case 'ParentAccess': {
2962
+ return {
2963
+ name: 'ParentAccess',
2964
+ properties: [
2965
+ { name: 'property' },
2966
+ { name: 'propertyLookup' },
2967
+ { name: 'subProperties' },
2968
+ { name: 'type' }
2969
+ ]
2970
+ };
2971
+ }
2972
+ case 'TargetAccess': {
2973
+ return {
2974
+ name: 'TargetAccess',
2975
+ properties: [
2976
+ { name: 'property' },
2977
+ { name: 'subProperties', defaultValue: [] },
2978
+ { name: 'type' }
2979
+ ]
2980
+ };
2981
+ }
2982
+ default: {
2983
+ return {
2984
+ name: type,
2985
+ properties: []
2986
+ };
2987
+ }
2988
+ }
2989
+ }
2990
+ }
2991
+ export const reflection = new IntelligentSystemDesignLanguageAstReflection();
2992
+ //# sourceMappingURL=ast.js.map