@lcap/nasl 2.18.0 → 2.19.0-beta.1

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 (283) hide show
  1. package/out/automate/template/myProcess.js +1 -1
  2. package/out/automate/template/myProcess.js.map +1 -1
  3. package/out/bak/translator.js +2 -1
  4. package/out/bak/translator.js.map +1 -1
  5. package/out/common/BaseNode.js +1 -0
  6. package/out/common/BaseNode.js.map +1 -1
  7. package/out/common/Command.d.ts +1 -0
  8. package/out/common/Command.js +5 -1
  9. package/out/common/Command.js.map +1 -1
  10. package/out/concepts/AnonymousFunction__.d.ts +1 -0
  11. package/out/concepts/AnonymousFunction__.js +40 -2
  12. package/out/concepts/AnonymousFunction__.js.map +1 -1
  13. package/out/concepts/App__.d.ts +10 -0
  14. package/out/concepts/App__.js +132 -0
  15. package/out/concepts/App__.js.map +1 -1
  16. package/out/concepts/Assignee__.js +4 -3
  17. package/out/concepts/Assignee__.js.map +1 -1
  18. package/out/concepts/BatchAssignment__.d.ts +2 -0
  19. package/out/concepts/BatchAssignment__.js +108 -47
  20. package/out/concepts/BatchAssignment__.js.map +1 -1
  21. package/out/concepts/BindAttribute__.js +8 -1
  22. package/out/concepts/BindAttribute__.js.map +1 -1
  23. package/out/concepts/CallFunction__.js +51 -18
  24. package/out/concepts/CallFunction__.js.map +1 -1
  25. package/out/concepts/CallInterface__.js +6 -4
  26. package/out/concepts/CallInterface__.js.map +1 -1
  27. package/out/concepts/CallLogic__.d.ts +2 -1
  28. package/out/concepts/CallLogic__.js +113 -26
  29. package/out/concepts/CallLogic__.js.map +1 -1
  30. package/out/concepts/CallQueryComponent__.js +4 -1
  31. package/out/concepts/CallQueryComponent__.js.map +1 -1
  32. package/out/concepts/DataSource__.d.ts +2 -0
  33. package/out/concepts/DataSource__.js +55 -1
  34. package/out/concepts/DataSource__.js.map +1 -1
  35. package/out/concepts/Destination__.d.ts +2 -1
  36. package/out/concepts/Destination__.js +90 -22
  37. package/out/concepts/Destination__.js.map +1 -1
  38. package/out/concepts/ForEachStatement__.js +2 -0
  39. package/out/concepts/ForEachStatement__.js.map +1 -1
  40. package/out/concepts/Identifier__.d.ts +1 -0
  41. package/out/concepts/Identifier__.js +18 -7
  42. package/out/concepts/Identifier__.js.map +1 -1
  43. package/out/concepts/LogicItem__.d.ts +1 -1
  44. package/out/concepts/LogicItem__.js.map +1 -1
  45. package/out/concepts/Logic__.d.ts +1 -0
  46. package/out/concepts/Logic__.js +33 -21
  47. package/out/concepts/Logic__.js.map +1 -1
  48. package/out/concepts/Match__.js +13 -8
  49. package/out/concepts/Match__.js.map +1 -1
  50. package/out/concepts/NewComposite__.d.ts +345 -0
  51. package/out/concepts/NewComposite__.js +1067 -0
  52. package/out/concepts/NewComposite__.js.map +1 -0
  53. package/out/concepts/NewList__.d.ts +130 -0
  54. package/out/concepts/NewList__.js +353 -0
  55. package/out/concepts/NewList__.js.map +1 -0
  56. package/out/concepts/NewMap__.d.ts +221 -0
  57. package/out/concepts/NewMap__.js +492 -0
  58. package/out/concepts/NewMap__.js.map +1 -0
  59. package/out/concepts/New__.d.ts +19 -0
  60. package/out/concepts/New__.js +66 -0
  61. package/out/concepts/New__.js.map +1 -0
  62. package/out/concepts/Param__.d.ts +2 -0
  63. package/out/concepts/Param__.js +40 -3
  64. package/out/concepts/Param__.js.map +1 -1
  65. package/out/concepts/ProcessElement__.js +31 -10
  66. package/out/concepts/ProcessElement__.js.map +1 -1
  67. package/out/concepts/ProcessOutcome__.js +1 -1
  68. package/out/concepts/ProcessOutcome__.js.map +1 -1
  69. package/out/concepts/ProcessOutcomes__.d.ts +30 -0
  70. package/out/concepts/{ConstructArgument__.js → ProcessOutcomes__.js} +27 -48
  71. package/out/concepts/ProcessOutcomes__.js.map +1 -0
  72. package/out/concepts/Return__.js +2 -1
  73. package/out/concepts/Return__.js.map +1 -1
  74. package/out/concepts/SelectMembers__.js +3 -3
  75. package/out/concepts/SelectMembers__.js.map +1 -1
  76. package/out/concepts/StringInterpolation__.js +12 -2
  77. package/out/concepts/StringInterpolation__.js.map +1 -1
  78. package/out/concepts/TypeAnnotation__.d.ts +4 -0
  79. package/out/concepts/TypeAnnotation__.js +66 -12
  80. package/out/concepts/TypeAnnotation__.js.map +1 -1
  81. package/out/concepts/ValidationRule__.js +1 -1
  82. package/out/concepts/ValidationRule__.js.map +1 -1
  83. package/out/concepts/Variable__.js +2 -1
  84. package/out/concepts/Variable__.js.map +1 -1
  85. package/out/concepts/ViewElement__.js +13 -1
  86. package/out/concepts/ViewElement__.js.map +1 -1
  87. package/out/concepts/View__.d.ts +1 -0
  88. package/out/concepts/View__.js +13 -0
  89. package/out/concepts/View__.js.map +1 -1
  90. package/out/concepts/basics/stdlib/nasl.auth.js +1 -1
  91. package/out/concepts/basics/stdlib/nasl.auth.js.map +1 -1
  92. package/out/concepts/basics/stdlib/nasl.logging.js +5 -0
  93. package/out/concepts/basics/stdlib/nasl.logging.js.map +1 -1
  94. package/out/concepts/basics/stdlib/nasl.ui.js +2 -0
  95. package/out/concepts/basics/stdlib/nasl.ui.js.map +1 -1
  96. package/out/concepts/basics/stdlib/nasl.util.js +151 -19
  97. package/out/concepts/basics/stdlib/nasl.util.js.map +1 -1
  98. package/out/concepts/index__.d.ts +5 -0
  99. package/out/concepts/index__.js +5 -0
  100. package/out/concepts/index__.js.map +1 -1
  101. package/out/enums/KEYWORDS.js +1 -0
  102. package/out/enums/KEYWORDS.js.map +1 -1
  103. package/out/generator/genBundleFiles.js +32 -182
  104. package/out/generator/genBundleFiles.js.map +1 -1
  105. package/out/generator/genMetaData.d.ts +1 -10
  106. package/out/generator/genMetaData.js +184 -50
  107. package/out/generator/genMetaData.js.map +1 -1
  108. package/out/generator/genReleaseBody.d.ts +2 -0
  109. package/out/generator/genReleaseBody.js +29 -3
  110. package/out/generator/genReleaseBody.js.map +1 -1
  111. package/out/generator/index.d.ts +1 -0
  112. package/out/generator/index.js +1 -0
  113. package/out/generator/index.js.map +1 -1
  114. package/out/generator/permission.d.ts +9 -0
  115. package/out/generator/permission.js +235 -0
  116. package/out/generator/permission.js.map +1 -0
  117. package/out/index.d.ts +1 -1
  118. package/out/index.js +2 -1
  119. package/out/index.js.map +1 -1
  120. package/out/server/entity2LogicNamespace.js +69 -9
  121. package/out/server/entity2LogicNamespace.js.map +1 -1
  122. package/out/server/extendBaseNode.js +10 -20
  123. package/out/server/extendBaseNode.js.map +1 -1
  124. package/out/server/formatTsUtils.d.ts +1 -2
  125. package/out/server/formatTsUtils.js +36 -47
  126. package/out/server/formatTsUtils.js.map +1 -1
  127. package/out/server/getLogics.d.ts +2 -1
  128. package/out/server/getLogics.js +11 -0
  129. package/out/server/getLogics.js.map +1 -1
  130. package/out/server/getMemberIdentifier.js +1 -1
  131. package/out/server/getMemberIdentifier.js.map +1 -1
  132. package/out/server/getProcesses.js +1 -1
  133. package/out/server/getProcesses.js.map +1 -1
  134. package/out/server/naslServer.d.ts +1 -1
  135. package/out/server/naslServer.js +181 -35
  136. package/out/server/naslServer.js.map +1 -1
  137. package/out/server/process2LogicNamespace.js +8 -0
  138. package/out/server/process2LogicNamespace.js.map +1 -1
  139. package/out/server/translator.js +66 -6
  140. package/out/server/translator.js.map +1 -1
  141. package/out/service/creator/add.configs.js +4 -0
  142. package/out/service/creator/add.configs.js.map +1 -1
  143. package/out/service/datasource/api.d.ts +12 -0
  144. package/out/service/datasource/api.js +14 -0
  145. package/out/service/datasource/api.js.map +1 -0
  146. package/out/service/datasource/index.d.ts +2 -0
  147. package/out/service/datasource/index.js +10 -0
  148. package/out/service/datasource/index.js.map +1 -0
  149. package/out/service/storage/init.js +8 -1
  150. package/out/service/storage/init.js.map +1 -1
  151. package/out/templator/genEditTableBlock.js +4 -5
  152. package/out/templator/genEditTableBlock.js.map +1 -1
  153. package/out/templator/genGetBlock.js +4 -3
  154. package/out/templator/genGetBlock.js.map +1 -1
  155. package/out/templator/genGridViewBlock.js +16 -14
  156. package/out/templator/genGridViewBlock.js.map +1 -1
  157. package/out/templator/genListViewBlock.js +5 -5
  158. package/out/templator/genListViewBlock.js.map +1 -1
  159. package/out/templator/genTableBlock.js +6 -10
  160. package/out/templator/genTableBlock.js.map +1 -1
  161. package/package.json +1 -1
  162. package/sandbox/stdlib/dist/nasl.logging.js +0 -0
  163. package/sandbox/stdlib/dist/nasl.util.js +0 -0
  164. package/sandbox/stdlib/nasl.auth.ts +1 -1
  165. package/sandbox/stdlib/nasl.core.ts +4 -0
  166. package/sandbox/stdlib/nasl.logging.ts +4 -4
  167. package/sandbox/stdlib/nasl.util.ts +14 -5
  168. package/src/automate/template/myProcess.js +1 -1
  169. package/src/bak/translator.js +4 -1
  170. package/src/common/BaseNode.ts +1 -0
  171. package/src/common/Command.ts +4 -0
  172. package/src/concepts/AnonymousFunction__.ts +48 -2
  173. package/src/concepts/App__.ts +140 -41
  174. package/src/concepts/Assignee__.ts +4 -3
  175. package/src/concepts/BatchAssignment__.ts +111 -51
  176. package/src/concepts/BindAttribute__.ts +9 -2
  177. package/src/concepts/CallFunction__.ts +65 -31
  178. package/src/concepts/CallInterface__.ts +6 -22
  179. package/src/concepts/CallLogic__.ts +88 -24
  180. package/src/concepts/CallQueryComponent__.ts +4 -1
  181. package/src/concepts/DataSource__.ts +56 -1
  182. package/src/concepts/Destination__.ts +92 -22
  183. package/src/concepts/ForEachStatement__.ts +2 -0
  184. package/src/concepts/Identifier__.ts +18 -7
  185. package/src/concepts/LogicItem__.ts +1 -1
  186. package/src/concepts/Logic__.ts +54 -39
  187. package/src/concepts/Match__.ts +12 -8
  188. package/src/concepts/NewComposite__.ts +1356 -0
  189. package/src/concepts/NewList__.ts +444 -0
  190. package/src/concepts/NewMap__.ts +678 -0
  191. package/src/concepts/New__.ts +73 -0
  192. package/src/concepts/Param__.ts +238 -199
  193. package/src/concepts/ProcessElement__.ts +32 -10
  194. package/src/concepts/ProcessOutcome__.ts +1 -1
  195. package/src/concepts/ProcessOutcomes__.ts +90 -0
  196. package/src/concepts/Return__.ts +4 -1
  197. package/src/concepts/SelectMembers__.ts +3 -3
  198. package/src/concepts/StringInterpolation__.ts +21 -11
  199. package/src/concepts/TypeAnnotation__.ts +71 -50
  200. package/src/concepts/ValidationRule__.ts +19 -1
  201. package/src/concepts/Variable__.ts +4 -1
  202. package/src/concepts/ViewElement__.ts +23 -7
  203. package/src/concepts/View__.ts +16 -2
  204. package/src/concepts/basics/stdlib/dist/nasl.util.js +1602 -0
  205. package/src/concepts/basics/stdlib/nasl.auth.ts +1 -1
  206. package/src/concepts/basics/stdlib/nasl.logging.ts +5 -0
  207. package/src/concepts/basics/stdlib/nasl.ui.ts +2 -0
  208. package/src/concepts/basics/stdlib/nasl.util.ts +153 -19
  209. package/src/concepts/dist/BindAttribute__.js +760 -0
  210. package/src/concepts/dist/BindEvent__.js +732 -0
  211. package/src/concepts/dist/CallFunction__.js +82 -28
  212. package/src/concepts/dist/CallLogic__.js +95 -27
  213. package/src/concepts/dist/Identifier__.js +311 -0
  214. package/src/concepts/dist/StringInterpolation__.js +231 -0
  215. package/src/concepts/dist/TypeAnnotation__.js +834 -0
  216. package/src/concepts/dist/ViewElement__.js +1692 -0
  217. package/src/concepts/dist/View__.js +1601 -0
  218. package/src/concepts/index__.ts +5 -0
  219. package/src/enums/KEYWORDS.ts +1 -0
  220. package/src/generator/dist/genBundleFiles.js +23 -176
  221. package/src/generator/dist/genMetaData.js +245 -0
  222. package/src/generator/dist/permission.js +392 -0
  223. package/src/generator/genBundleFiles.ts +34 -219
  224. package/src/generator/genMetaData.ts +177 -77
  225. package/src/generator/genReleaseBody.ts +30 -5
  226. package/src/generator/index.ts +1 -0
  227. package/src/generator/permission.ts +271 -0
  228. package/src/index.ts +1 -1
  229. package/src/server/dist/naslServer.js +443 -249
  230. package/src/server/entity2LogicNamespace.ts +70 -10
  231. package/src/server/extendBaseNode.ts +10 -21
  232. package/src/server/formatTsUtils.ts +36 -46
  233. package/src/server/getLogics.ts +13 -1
  234. package/src/server/getMemberIdentifier.ts +1 -1
  235. package/src/server/getProcesses.ts +1 -1
  236. package/src/server/naslServer.ts +181 -42
  237. package/src/server/process2LogicNamespace.ts +8 -0
  238. package/src/server/translator.ts +64 -7
  239. package/src/service/creator/add.configs.js +4 -0
  240. package/src/service/dataSource/api.js +11 -0
  241. package/src/service/dataSource/index.js +6 -0
  242. package/src/service/storage/dist/init.js +48 -10
  243. package/src/service/storage/init.ts +9 -2
  244. package/src/service/video/VideoTranscribe.js +1 -0
  245. package/src/templator/dist/genEditTableBlock.js +204 -0
  246. package/src/templator/dist/genGridViewBlock.js +265 -0
  247. package/src/templator/dist/genListViewBlock.js +84 -0
  248. package/src/templator/dist/genTableBlock.js +209 -0
  249. package/src/templator/dist/utils.js +527 -0
  250. package/src/templator/genEditTableBlock.ts +8 -16
  251. package/src/templator/genGetBlock.ts +18 -19
  252. package/src/templator/genGridViewBlock.ts +18 -18
  253. package/src/templator/genListViewBlock.ts +8 -11
  254. package/src/templator/genTableBlock.ts +6 -10
  255. package/ts-worker/dist/webpack.config.dev.js +3 -1
  256. package/ts-worker/lib/tsserver.js +8 -1
  257. package/out/automate/engine/2.14-components.d.ts +0 -1115
  258. package/out/automate/engine/2.14-components.js +0 -1087
  259. package/out/automate/engine/2.14-components.js.map +0 -1
  260. package/out/concepts/ConstructArgument__.d.ts +0 -40
  261. package/out/concepts/ConstructArgument__.js.map +0 -1
  262. package/out/concepts/Construct__.d.ts +0 -189
  263. package/out/concepts/Construct__.js +0 -340
  264. package/out/concepts/Construct__.js.map +0 -1
  265. package/out/concepts/MatchExpression__.d.ts +0 -97
  266. package/out/concepts/MatchExpression__.js +0 -281
  267. package/out/concepts/MatchExpression__.js.map +0 -1
  268. package/out/templator/sql-parser/index.d.ts +0 -1
  269. package/out/templator/sql-parser/index.js +0 -228
  270. package/out/templator/sql-parser/index.js.map +0 -1
  271. package/out/templator/sql-parser/parser.js +0 -26664
  272. package/out/templator/sql-parser/parser.js.map +0 -1
  273. package/src/concepts/dist/Anchor__.js +0 -179
  274. package/src/concepts/dist/Assignment__.js +0 -301
  275. package/src/concepts/dist/CallInterface__.js +0 -533
  276. package/src/concepts/dist/ForEachStatement__.js +0 -426
  277. package/src/concepts/dist/MatchCase__.js +0 -587
  278. package/src/concepts/dist/MemberExpression__.js +0 -348
  279. package/src/concepts/dist/Param__.js +0 -537
  280. package/src/concepts/dist/Return__.js +0 -493
  281. package/src/server/dist/formatTsUtils.js +0 -683
  282. package/ts-worker/lib/dist/tsserver.dev.js +0 -22953
  283. package/ts-worker/sources/lib/dist/tsserver.dev.js +0 -22912
@@ -13,6 +13,7 @@ import Identifier from '../../Identifier__';
13
13
  import BooleanLiteral from '../../BooleanLiteral__';
14
14
  import StringLiteral from '../../StringLiteral__';
15
15
  import AnonymousFunction from '../../AnonymousFunction__';
16
+ import StringInterpolation from '../../StringInterpolation__';
16
17
 
17
18
  export default new Namespace({
18
19
  name: 'util',
@@ -23,6 +24,7 @@ export default new Namespace({
23
24
  new Param({
24
25
  name: 'arg',
25
26
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
27
+ defaultExpression: new StringInterpolation(),
26
28
  }),
27
29
  ],
28
30
  }),
@@ -74,6 +76,7 @@ export default new Namespace({
74
76
  params: [
75
77
  new Param({
76
78
  name: 'value',
79
+ description: '选择变量或常量',
77
80
  // typeAnnotation: new TypeAnnotation()
78
81
  defaultExpression: new Identifier(),
79
82
  }),
@@ -86,26 +89,66 @@ export default new Namespace({
86
89
  ],
87
90
  }),
88
91
 
92
+ new Function({
93
+ name: 'ToString',
94
+ description: '各类型转换成字符串',
95
+ params: [
96
+ new Param({
97
+ name: 'value',
98
+ defaultExpression: new Identifier(),
99
+ }),
100
+ ],
101
+ returns: [
102
+ new Return({
103
+ typeAnnotation: TypeAnnotation.createPrimitive('String'),
104
+ }),
105
+ ],
106
+ }),
107
+
108
+ new Function({
109
+ name: 'FromString',
110
+ description: '字符串转换成其他类型',
111
+ typeParams: [
112
+ new TypeParam({
113
+ name: 'T',
114
+ }),
115
+ ],
116
+ params: [
117
+ new Param({
118
+ name: 'value',
119
+ defaultExpression: new Identifier(),
120
+ }),
121
+ ],
122
+ returns: [
123
+ new Return({
124
+ typeAnnotation: TypeAnnotation.createTypeParam('T'),
125
+ }),
126
+ ],
127
+ }),
128
+
89
129
  new Function({
90
130
  name: 'IndexOf',
91
131
  description: '搜索字符串位置',
92
132
  params: [
93
133
  new Param({
94
134
  name: 'str',
135
+ description: '指定字符串',
95
136
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
96
137
  }),
97
138
  new Param({
98
139
  name: 'search',
140
+ description: '指定需要搜索的字段,String类型',
99
141
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
100
142
  }),
101
143
  new Param({
102
144
  name: 'fromIndex',
145
+ description: '开始搜索的索引值,Integer类型,用数字表示第几项,项数索引从0开始',
103
146
  defaultExpression: new NumericLiteral({ value: '0' }),
104
147
  }),
105
148
 
106
149
  new Param({
107
150
  name: 'ignoreCase',
108
- description: '是否忽略大小写',
151
+ description: '是否忽略大小写,true为忽略,false为不忽略',
109
152
  defaultExpression: new BooleanLiteral({ value: 'true' }),
110
153
  options: [
111
154
  { text: 'true', value: 'true' },
@@ -125,16 +168,18 @@ export default new Namespace({
125
168
  params: [
126
169
  new Param({
127
170
  name: 'str',
171
+ description: '指定字符串',
128
172
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
129
173
  }),
130
174
  new Param({
131
175
  name: 'search',
176
+ description: '指定需要搜索的字段,String类型',
132
177
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
133
178
  }),
134
179
  new Param({
135
180
  name: 'ignoreCase',
136
- description: '是否忽略大小写',
137
- defaultExpression: new BooleanLiteral({ value: 'false' }),
181
+ description: '是否忽略大小写,true为忽略,false为不忽略',
182
+ defaultExpression: new BooleanLiteral({ value: 'true' }),
138
183
  options: [
139
184
  { text: 'true', value: 'true' },
140
185
  { text: 'false', value: 'false' },
@@ -153,14 +198,17 @@ export default new Namespace({
153
198
  params: [
154
199
  new Param({
155
200
  name: 'str',
201
+ description: '指定原始字符串',
156
202
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
157
203
  }),
158
204
  new Param({
159
205
  name: 'search',
206
+ description: '指定原始字符串中需要被替换的字符串',
160
207
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
161
208
  }),
162
209
  new Param({
163
210
  name: 'replace',
211
+ description: '指定进行替换操作的字符串',
164
212
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
165
213
  }),
166
214
  ],
@@ -176,14 +224,17 @@ export default new Namespace({
176
224
  params: [
177
225
  new Param({
178
226
  name: 'str',
227
+ description: '指定需要截取的字符串',
179
228
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
180
229
  }),
181
230
  new Param({
182
231
  name: 'start',
232
+ description: 'int类型,输入数字指定开始截取的位置',
183
233
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
184
234
  }),
185
235
  new Param({
186
236
  name: 'length',
237
+ description: '指定截取的字符串长度',
187
238
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
188
239
  }),
189
240
  ],
@@ -222,6 +273,7 @@ export default new Namespace({
222
273
  params: [
223
274
  new Param({
224
275
  name: 'value',
276
+ description: '指定需要将枚举值转换为标题的字段',
225
277
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
226
278
  }),
227
279
  ],
@@ -243,6 +295,7 @@ export default new Namespace({
243
295
  params: [
244
296
  new Param({
245
297
  name: 'value',
298
+ description: '指定一个字符串',
246
299
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
247
300
  }),
248
301
  ],
@@ -258,10 +311,12 @@ export default new Namespace({
258
311
  params: [
259
312
  new Param({
260
313
  name: 'str',
314
+ description: '指定字符串',
261
315
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
262
316
  }),
263
317
  new Param({
264
318
  name: 'separator',
319
+ description: '指定字符串中作为分隔符的参数',
265
320
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
266
321
  }),
267
322
  ],
@@ -279,12 +334,14 @@ export default new Namespace({
279
334
  params: [
280
335
  new Param({
281
336
  name: 'list',
337
+ description: '指定列表',
282
338
  typeAnnotation: TypeAnnotation.createGeneric('List', {
283
339
  typeArguments: [TypeAnnotation.createPrimitive('String')],
284
340
  }),
285
341
  }),
286
342
  new Param({
287
343
  name: 'separator',
344
+ description: '连接符,用于连接列表中的项',
288
345
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
289
346
  }),
290
347
  ],
@@ -300,10 +357,12 @@ export default new Namespace({
300
357
  params: [
301
358
  new Param({
302
359
  name: 'str1',
360
+ description: '指定字符串1',
303
361
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
304
362
  }),
305
363
  new Param({
306
364
  name: 'str2',
365
+ description: '指定字符串2',
307
366
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
308
367
  }),
309
368
  ],
@@ -319,6 +378,7 @@ export default new Namespace({
319
378
  params: [
320
379
  new Param({
321
380
  name: 'param',
381
+ description: '指定字符串',
322
382
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
323
383
  }),
324
384
  ],
@@ -334,6 +394,7 @@ export default new Namespace({
334
394
  params: [
335
395
  new Param({
336
396
  name: 'str1',
397
+ description: '指定字符串',
337
398
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
338
399
  }),
339
400
  ],
@@ -349,6 +410,7 @@ export default new Namespace({
349
410
  params: [
350
411
  new Param({
351
412
  name: 'str1',
413
+ description: '指定字符串',
352
414
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
353
415
  }),
354
416
  ],
@@ -364,6 +426,7 @@ export default new Namespace({
364
426
  params: [
365
427
  new Param({
366
428
  name: 'str1',
429
+ description: '指定字符串',
367
430
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
368
431
  }),
369
432
  ],
@@ -379,12 +442,14 @@ export default new Namespace({
379
442
  params: [
380
443
  new Param({
381
444
  name: 'list',
445
+ description: '指定列表',
382
446
  typeAnnotation: TypeAnnotation.createGeneric('List', {
383
447
  typeArguments: [TypeAnnotation.createTypeParam('T')],
384
448
  }),
385
449
  }),
386
450
  new Param({
387
451
  name: 'index',
452
+ description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
388
453
  typeAnnotation: TypeAnnotation.createPrimitive('Integer'),
389
454
  }),
390
455
  ],
@@ -400,16 +465,19 @@ export default new Namespace({
400
465
  params: [
401
466
  new Param({
402
467
  name: 'list',
468
+ description: '指定列表',
403
469
  typeAnnotation: TypeAnnotation.createGeneric('List', {
404
470
  typeArguments: [TypeAnnotation.createTypeParam('T')],
405
471
  }),
406
472
  }),
407
473
  new Param({
408
474
  name: 'index',
475
+ description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
409
476
  typeAnnotation: TypeAnnotation.createPrimitive('Integer'),
410
477
  }),
411
478
  new Param({
412
479
  name: 'item',
480
+ description: '列表指定索引下的新项',
413
481
  typeAnnotation: TypeAnnotation.createTypeParam('T'),
414
482
  }),
415
483
  ],
@@ -425,12 +493,14 @@ export default new Namespace({
425
493
  params: [
426
494
  new Param({
427
495
  name: 'list',
496
+ description: '指定列表',
428
497
  typeAnnotation: TypeAnnotation.createGeneric('List', {
429
498
  typeArguments: [TypeAnnotation.createTypeParam('T')],
430
499
  }),
431
500
  }),
432
501
  new Param({
433
502
  name: 'item',
503
+ description: '指定项',
434
504
  typeAnnotation: TypeAnnotation.createTypeParam('T'),
435
505
  }),
436
506
  ],
@@ -446,12 +516,14 @@ export default new Namespace({
446
516
  params: [
447
517
  new Param({
448
518
  name: 'list',
519
+ description: '指定列表',
449
520
  typeAnnotation: TypeAnnotation.createGeneric('List', {
450
521
  typeArguments: [TypeAnnotation.createTypeParam('T')],
451
522
  }),
452
523
  }),
453
524
  new Param({
454
525
  name: 'item',
526
+ description: '指定需要在列表末尾增加的项',
455
527
  typeAnnotation: TypeAnnotation.createTypeParam('T'),
456
528
  }),
457
529
  ],
@@ -462,12 +534,14 @@ export default new Namespace({
462
534
  params: [
463
535
  new Param({
464
536
  name: 'list',
537
+ description: '指定列表1',
465
538
  typeAnnotation: TypeAnnotation.createGeneric('List', {
466
539
  typeArguments: [TypeAnnotation.createTypeParam('T')],
467
540
  }),
468
541
  }),
469
542
  new Param({
470
543
  name: 'addList',
544
+ description: '指定列表2',
471
545
  typeAnnotation: TypeAnnotation.createGeneric('List', {
472
546
  typeArguments: [TypeAnnotation.createTypeParam('T')],
473
547
  }),
@@ -485,16 +559,19 @@ export default new Namespace({
485
559
  params: [
486
560
  new Param({
487
561
  name: 'list',
562
+ description: '指定列表',
488
563
  typeAnnotation: TypeAnnotation.createGeneric('List', {
489
564
  typeArguments: [TypeAnnotation.createTypeParam('T')],
490
565
  }),
491
566
  }),
492
567
  new Param({
493
568
  name: 'index',
569
+ description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
494
570
  typeAnnotation: TypeAnnotation.createPrimitive('Integer'),
495
571
  }),
496
572
  new Param({
497
573
  name: 'item',
574
+ description: '待插入项',
498
575
  typeAnnotation: TypeAnnotation.createTypeParam('T'),
499
576
  }),
500
577
  ],
@@ -505,12 +582,14 @@ export default new Namespace({
505
582
  params: [
506
583
  new Param({
507
584
  name: 'list',
585
+ description: '指定列表',
508
586
  typeAnnotation: TypeAnnotation.createGeneric('List', {
509
587
  typeArguments: [TypeAnnotation.createTypeParam('T')],
510
588
  }),
511
589
  }),
512
590
  new Param({
513
591
  name: 'item',
592
+ description: '指定项',
514
593
  typeAnnotation: TypeAnnotation.createTypeParam('T'),
515
594
  }),
516
595
  ],
@@ -521,12 +600,14 @@ export default new Namespace({
521
600
  params: [
522
601
  new Param({
523
602
  name: 'list',
603
+ description: '指定列表',
524
604
  typeAnnotation: TypeAnnotation.createGeneric('List', {
525
605
  typeArguments: [TypeAnnotation.createTypeParam('T')],
526
606
  }),
527
607
  }),
528
608
  new Param({
529
609
  name: 'index',
610
+ description: '索引,integer类型,用数字表示第几项,项数索引从0开始',
530
611
  typeAnnotation: TypeAnnotation.createPrimitive('Integer'),
531
612
  }),
532
613
  ],
@@ -542,6 +623,7 @@ export default new Namespace({
542
623
  params: [
543
624
  new Param({
544
625
  name: 'list',
626
+ description: '指定列表',
545
627
  }),
546
628
  ],
547
629
  returns: [
@@ -556,6 +638,7 @@ export default new Namespace({
556
638
  params: [
557
639
  new Param({
558
640
  name: 'list',
641
+ description: '指定列表',
559
642
  }),
560
643
  ],
561
644
  returns: [
@@ -570,6 +653,7 @@ export default new Namespace({
570
653
  params: [
571
654
  new Param({
572
655
  name: 'list',
656
+ description: '指定列表',
573
657
  }),
574
658
  ],
575
659
  returns: [
@@ -586,11 +670,11 @@ export default new Namespace({
586
670
  params: [
587
671
  new Param({
588
672
  name: 'list',
673
+ description: '指定列表',
589
674
  }),
590
675
  new Param({
591
676
  name: 'by',
592
- description: `<div>(\${0}) → Boolean | Integer | Long | Decimal | String</div>
593
- <div>(\${0}) → V</div>`,
677
+ description: `根据项的属性及其本身进行key和value的定义`,
594
678
  defaultExpression: new AnonymousFunction({
595
679
  params: [
596
680
  new Param({
@@ -621,10 +705,11 @@ export default new Namespace({
621
705
  params: [
622
706
  new Param({
623
707
  name: 'list',
708
+ description: '指定列表',
624
709
  }),
625
710
  new Param({
626
711
  name: 'by',
627
- description: '(${0}) → T',
712
+ description: '指定对列表中项的某个属性或项本身的处理方式,支持算数运算和比较运算',
628
713
  defaultExpression: new AnonymousFunction({
629
714
  params: [
630
715
  new Param({
@@ -649,6 +734,7 @@ export default new Namespace({
649
734
  params: [
650
735
  new Param({
651
736
  name: 'list',
737
+ description: '指定列表',
652
738
  }),
653
739
  ],
654
740
  returns: [
@@ -663,6 +749,7 @@ export default new Namespace({
663
749
  params: [
664
750
  new Param({
665
751
  name: 'list',
752
+ description: '指定数值类型列表',
666
753
  }),
667
754
  ],
668
755
  returns: [
@@ -677,6 +764,7 @@ export default new Namespace({
677
764
  params: [
678
765
  new Param({
679
766
  name: 'list',
767
+ description: '指定数值类型列表',
680
768
  }),
681
769
  ],
682
770
  returns: [
@@ -691,6 +779,7 @@ export default new Namespace({
691
779
  params: [
692
780
  new Param({
693
781
  name: 'list',
782
+ description: '指定数值类型列表',
694
783
  }),
695
784
  ],
696
785
  returns: [
@@ -705,6 +794,7 @@ export default new Namespace({
705
794
  params: [
706
795
  new Param({
707
796
  name: 'list',
797
+ description: '指定数值类型列表',
708
798
  }),
709
799
  ],
710
800
  returns: [
@@ -719,6 +809,7 @@ export default new Namespace({
719
809
  params: [
720
810
  new Param({
721
811
  name: 'map',
812
+ description: '指定映射',
722
813
  typeAnnotation: TypeAnnotation.createGeneric('map', {
723
814
  typeArguments: [
724
815
  TypeAnnotation.createTypeParam('K'),
@@ -728,6 +819,7 @@ export default new Namespace({
728
819
  }),
729
820
  new Param({
730
821
  name: 'key',
822
+ description: '指定参数key',
731
823
  typeAnnotation: TypeAnnotation.createTypeParam('K'),
732
824
  }),
733
825
  ],
@@ -743,6 +835,7 @@ export default new Namespace({
743
835
  params: [
744
836
  new Param({
745
837
  name: 'map',
838
+ description: '指定映射',
746
839
  typeAnnotation: TypeAnnotation.createGeneric('map', {
747
840
  typeArguments: [
748
841
  TypeAnnotation.createTypeParam('K'),
@@ -752,10 +845,12 @@ export default new Namespace({
752
845
  }),
753
846
  new Param({
754
847
  name: 'key',
848
+ description: '指定参数key',
755
849
  typeAnnotation: TypeAnnotation.createTypeParam('K'),
756
850
  }),
757
851
  new Param({
758
852
  name: 'value',
853
+ description: '指定参数value',
759
854
  typeAnnotation: TypeAnnotation.createTypeParam('V'),
760
855
  }),
761
856
  ],
@@ -766,6 +861,7 @@ export default new Namespace({
766
861
  params: [
767
862
  new Param({
768
863
  name: 'map',
864
+ description: '指定列表',
769
865
  typeAnnotation: TypeAnnotation.createGeneric('map', {
770
866
  typeArguments: [
771
867
  TypeAnnotation.createTypeParam('K'),
@@ -775,6 +871,7 @@ export default new Namespace({
775
871
  }),
776
872
  new Param({
777
873
  name: 'key',
874
+ description: '指定参数key',
778
875
  typeAnnotation: TypeAnnotation.createTypeParam('K'),
779
876
  }),
780
877
  ],
@@ -785,6 +882,7 @@ export default new Namespace({
785
882
  params: [
786
883
  new Param({
787
884
  name: 'map',
885
+ description: '指定映射',
788
886
  typeAnnotation: TypeAnnotation.createGeneric('map', {
789
887
  typeArguments: [
790
888
  TypeAnnotation.createTypeParam('K'),
@@ -794,6 +892,7 @@ export default new Namespace({
794
892
  }),
795
893
  new Param({
796
894
  name: 'key',
895
+ description: '指定参数key',
797
896
  typeAnnotation: TypeAnnotation.createTypeParam('K'),
798
897
  }),
799
898
  ],
@@ -809,6 +908,7 @@ export default new Namespace({
809
908
  params: [
810
909
  new Param({
811
910
  name: 'map',
911
+ description: '指定映射',
812
912
  typeAnnotation: TypeAnnotation.createGeneric('map', {
813
913
  typeArguments: [
814
914
  TypeAnnotation.createTypeParam('K'),
@@ -831,6 +931,7 @@ export default new Namespace({
831
931
  params: [
832
932
  new Param({
833
933
  name: 'map',
934
+ description: '指定映射',
834
935
  typeAnnotation: TypeAnnotation.createGeneric('map', {
835
936
  typeArguments: [
836
937
  TypeAnnotation.createTypeParam('K'),
@@ -853,10 +954,11 @@ export default new Namespace({
853
954
  params: [
854
955
  new Param({
855
956
  name: 'map',
957
+ description: '指定映射',
856
958
  }),
857
959
  new Param({
858
960
  name: 'by',
859
- description: '(${0},${1}) → Boolean',
961
+ description: '针对键值对的参数key和value设置过滤条件,支持算数运算、比较运算和逻辑运算',
860
962
  defaultExpression: new AnonymousFunction({
861
963
  name: '',
862
964
  description: '',
@@ -890,11 +992,11 @@ export default new Namespace({
890
992
  params: [
891
993
  new Param({
892
994
  name: 'map',
995
+ description: '指定映射',
893
996
  }),
894
997
  new Param({
895
998
  name: 'by',
896
- description: `<div>(\${0}, \${1}) → Boolean | Integer | Long | Decimal | String</div>
897
- <div>(\${0}, \${1}) → V</div>`,
999
+ description: `指定映射中键值对的参数处理方式,支持算数运算和比较运算`,
898
1000
  defaultExpression: new AnonymousFunction({
899
1001
  params: [
900
1002
  new Param({
@@ -971,11 +1073,12 @@ export default new Namespace({
971
1073
  params: [
972
1074
  new Param({
973
1075
  name: 'date',
1076
+ description: '指定需要格式化日期的字段',
974
1077
  typeAnnotation: TypeAnnotation.createPrimitive('Date'),
975
1078
  }),
976
1079
  new Param({
977
1080
  name: 'formatter',
978
- defaultValue: 'yyyy-MM-dd',
1081
+ defaultValue: '格式化规则,默认为yyyy-MM-dd,即年月日格式',
979
1082
  defaultExpression: new StringLiteral({ value: 'yyyy-MM-dd' }),
980
1083
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
981
1084
  }),
@@ -992,12 +1095,13 @@ export default new Namespace({
992
1095
  params: [
993
1096
  new Param({
994
1097
  name: 'date',
1098
+ description: '指定需要格式化日期时间的字段',
995
1099
  typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
996
1100
  }),
997
1101
  new Param({
998
1102
  name: 'formatter',
999
1103
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
1000
- defaultValue: 'yyyy-MM-dd HH:mm:ss',
1104
+ defaultValue: '格式化规则,默认为yyyy-MM-dd',
1001
1105
  defaultExpression: new StringLiteral({ value: 'yyyy-MM-dd HH:mm:ss' }),
1002
1106
  }),
1003
1107
  ],
@@ -1013,6 +1117,7 @@ export default new Namespace({
1013
1117
  params: [
1014
1118
  new Param({
1015
1119
  name: 'value',
1120
+ description: '指定需要格式化小数位数的字段',
1016
1121
  typeAnnotation: TypeAnnotation.createPrimitive('Decimal'),
1017
1122
  defaultExpression: new Identifier(),
1018
1123
  }),
@@ -1025,6 +1130,7 @@ export default new Namespace({
1025
1130
  }),
1026
1131
  new Param({
1027
1132
  name: 'showGroups',
1133
+ description: '是否显示千分位:true显示,false不显示',
1028
1134
  typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
1029
1135
  defaultValue: 'false',
1030
1136
  defaultExpression: new BooleanLiteral({ value: 'false' }),
@@ -1032,7 +1138,6 @@ export default new Namespace({
1032
1138
  { text: 'true', value: 'true' },
1033
1139
  { text: 'false', value: 'false' },
1034
1140
  ],
1035
- description: '是否显示千分位:true显示,false不显示',
1036
1141
  }),
1037
1142
  ],
1038
1143
  returns: [
@@ -1047,10 +1152,12 @@ export default new Namespace({
1047
1152
  params: [
1048
1153
  new Param({
1049
1154
  name: 'dateTime',
1155
+ description: '指定日期时间',
1050
1156
  typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1051
1157
  }),
1052
1158
  new Param({
1053
1159
  name: 'amount',
1160
+ description: '增加的天数',
1054
1161
  typeAnnotation: TypeAnnotation.createPrimitive('Integer'),
1055
1162
  }),
1056
1163
  ],
@@ -1066,10 +1173,12 @@ export default new Namespace({
1066
1173
  params: [
1067
1174
  new Param({
1068
1175
  name: 'dateTime',
1176
+ description: '指定日期时间',
1069
1177
  typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1070
1178
  }),
1071
1179
  new Param({
1072
1180
  name: 'amount',
1181
+ description: '增加的月数',
1073
1182
  typeAnnotation: TypeAnnotation.createPrimitive('Integer'),
1074
1183
  }),
1075
1184
  ],
@@ -1085,17 +1194,19 @@ export default new Namespace({
1085
1194
  params: [
1086
1195
  new Param({
1087
1196
  name: 'dateTime1',
1197
+ description: '指定日期时间1',
1088
1198
  typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1089
1199
  defaultExpression: new Identifier(),
1090
1200
  }),
1091
1201
  new Param({
1092
1202
  name: 'dateTime2',
1203
+ description: '指定日期时间2',
1093
1204
  typeAnnotation: TypeAnnotation.createPrimitive('DateTime'),
1094
1205
  defaultExpression: new Identifier(),
1095
1206
  }),
1096
1207
  new Param({
1097
1208
  name: 'calcType',
1098
- description: '计算类型。如选择天数,则计算前两个参数的天数差值。',
1209
+ description: '计算类型。计算两个日期时间之间的差值,支持年数、季度数、月数、星期数、天数、小时数、分钟数、秒数',
1099
1210
  typeAnnotation: TypeAnnotation.createPrimitive('String'),
1100
1211
  defaultValue: 'd',
1101
1212
  defaultExpression: new StringLiteral({ value: 'd' }),
@@ -1123,6 +1234,7 @@ export default new Namespace({
1123
1234
  params: [
1124
1235
  new Param({
1125
1236
  name: 'struct',
1237
+ description: '指定对象',
1126
1238
  typeAnnotation: TypeAnnotation.createTypeParam('T'),
1127
1239
  }),
1128
1240
  ],
@@ -1138,6 +1250,7 @@ export default new Namespace({
1138
1250
  params: [
1139
1251
  new Param({
1140
1252
  name: 'struct',
1253
+ description: '指定对象',
1141
1254
  typeAnnotation: TypeAnnotation.createTypeParam('T'),
1142
1255
  }),
1143
1256
  ],
@@ -1172,12 +1285,14 @@ export default new Namespace({
1172
1285
  params: [
1173
1286
  new Param({
1174
1287
  name: 'list',
1288
+ description: '指定列表',
1175
1289
  typeAnnotation: TypeAnnotation.createGeneric('List', {
1176
1290
  typeArguments: [TypeAnnotation.createTypeParam('T')],
1177
1291
  }),
1178
1292
  }),
1179
1293
  new Param({
1180
1294
  name: 'total',
1295
+ description: '指定数据条数',
1181
1296
  typeAnnotation: TypeAnnotation.createPrimitive('Integer'),
1182
1297
  }),
1183
1298
  ],
@@ -1195,12 +1310,14 @@ export default new Namespace({
1195
1310
  params: [
1196
1311
  new Param({
1197
1312
  name: 'list',
1313
+ description: '指定列表',
1198
1314
  typeAnnotation: TypeAnnotation.createGeneric('List', {
1199
1315
  typeArguments: [TypeAnnotation.createTypeParam('T')],
1200
1316
  }),
1201
1317
  }),
1202
1318
  new Param({
1203
1319
  name: 'by',
1320
+ description: '指定列表中项的某个属性或项本身,支持算数运算和比较运算',
1204
1321
  defaultExpression: new Function({
1205
1322
  name: '',
1206
1323
  description: '',
@@ -1214,13 +1331,13 @@ export default new Namespace({
1214
1331
  }),
1215
1332
  new Param({
1216
1333
  name: 'sort',
1217
- description: '下拉选择升序、降序',
1334
+ description: '支持升序或降序设置,asc为升序,desc为降序。',
1218
1335
  typeAnnotation: TypeAnnotation.createPrimitive('Boolean'),
1219
1336
  defaultValue: 'asc',
1220
1337
  defaultExpression: new BooleanLiteral({ value: 'true' }),
1221
1338
  options: [
1222
- { text: 'asc', value: 'true' },
1223
- { text: 'desc', value: 'false' },
1339
+ { text: 'asc(升序)', value: 'true' },
1340
+ { text: 'desc(降序)', value: 'false' },
1224
1341
  ],
1225
1342
  }),
1226
1343
  ],
@@ -1232,12 +1349,14 @@ export default new Namespace({
1232
1349
  params: [
1233
1350
  new Param({
1234
1351
  name: 'list',
1352
+ description: '指定列表',
1235
1353
  typeAnnotation: TypeAnnotation.createGeneric('List', {
1236
1354
  typeArguments: [TypeAnnotation.createTypeParam('T')],
1237
1355
  }),
1238
1356
  }),
1239
1357
  new Param({
1240
1358
  name: 'by',
1359
+ description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
1241
1360
  defaultExpression: new Function({
1242
1361
  name: '',
1243
1362
  description: '',
@@ -1262,12 +1381,14 @@ export default new Namespace({
1262
1381
  params: [
1263
1382
  new Param({
1264
1383
  name: 'list',
1384
+ description: '指定列表',
1265
1385
  typeAnnotation: TypeAnnotation.createGeneric('List', {
1266
1386
  typeArguments: [TypeAnnotation.createTypeParam('T')],
1267
1387
  }),
1268
1388
  }),
1269
1389
  new Param({
1270
1390
  name: 'by',
1391
+ description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
1271
1392
  defaultExpression: new Function({
1272
1393
  name: '',
1273
1394
  description: '',
@@ -1292,10 +1413,11 @@ export default new Namespace({
1292
1413
  params: [
1293
1414
  new Param({
1294
1415
  name: 'list',
1416
+ description: '指定列表',
1295
1417
  }),
1296
1418
  new Param({
1297
1419
  name: 'by',
1298
- description: '(${0}) → Boolean',
1420
+ description: '指定列表中项的某个属性或项本身,通过算数运算、比较运算或逻辑运算进行条件判断并输出布尔值',
1299
1421
  defaultExpression: new AnonymousFunction({
1300
1422
  params: [
1301
1423
  new Param({
@@ -1321,6 +1443,7 @@ export default new Namespace({
1321
1443
  params: [
1322
1444
  new Param({
1323
1445
  name: 'list',
1446
+ description: '指定列表',
1324
1447
  typeAnnotation: TypeAnnotation.createGeneric('List', {
1325
1448
  typeArguments: [TypeAnnotation.createTypeParam('T')],
1326
1449
  }),
@@ -1334,6 +1457,7 @@ export default new Namespace({
1334
1457
  params: [
1335
1458
  new Param({
1336
1459
  name: 'list',
1460
+ description: '指定列表',
1337
1461
  typeAnnotation: TypeAnnotation.createGeneric('List', {
1338
1462
  typeArguments: [TypeAnnotation.createTypeParam('T')],
1339
1463
  }),
@@ -1347,14 +1471,16 @@ export default new Namespace({
1347
1471
  params: [
1348
1472
  new Param({
1349
1473
  name: 'list',
1474
+ description: '指定列表',
1350
1475
  }),
1351
1476
  new Param({
1352
1477
  name: 'by',
1353
- description: '(${0}) → T',
1478
+ description: '指定列表中项的某个属性,若项无属性,则该函数不生效',
1354
1479
  defaultExpression: new AnonymousFunction({
1355
1480
  params: [
1356
1481
  new Param({
1357
1482
  name: 'item',
1483
+ description: '是否忽略大小写',
1358
1484
  typeAnnotation: null,
1359
1485
  }),
1360
1486
  ],
@@ -1376,14 +1502,16 @@ export default new Namespace({
1376
1502
  params: [
1377
1503
  new Param({
1378
1504
  name: 'list',
1505
+ description: '指定列表',
1379
1506
  }),
1380
1507
  new Param({
1381
1508
  name: 'by',
1382
- description: '(${0}) → Boolean | Integer | Long | Decimal | String',
1509
+ description: '指定列表中项的某个属性,若项无属性,则该函数不生效',
1383
1510
  defaultExpression: new AnonymousFunction({
1384
1511
  params: [
1385
1512
  new Param({
1386
1513
  name: 'item',
1514
+ description: '是否忽略大小写',
1387
1515
  typeAnnotation: null,
1388
1516
  }),
1389
1517
  ],
@@ -1408,16 +1536,19 @@ export default new Namespace({
1408
1536
  params: [
1409
1537
  new Param({
1410
1538
  name: 'list',
1539
+ description: '指定列表',
1411
1540
  typeAnnotation: TypeAnnotation.createGeneric('List', {
1412
1541
  typeArguments: [TypeAnnotation.createTypeParam('T')],
1413
1542
  }),
1414
1543
  }),
1415
1544
  new Param({
1416
1545
  name: 'start',
1546
+ description: '切片起始的索引,integer类型,项数索引从0开始',
1417
1547
  typeAnnotation: TypeAnnotation.createPrimitive('Integer'),
1418
1548
  }),
1419
1549
  new Param({
1420
1550
  name: 'end',
1551
+ description: '切片结束的索引,integer类型,用数字表示第几项,项数索引从0开始',
1421
1552
  typeAnnotation: TypeAnnotation.createPrimitive('Integer'),
1422
1553
  }),
1423
1554
  ],
@@ -1435,16 +1566,19 @@ export default new Namespace({
1435
1566
  params: [
1436
1567
  new Param({
1437
1568
  name: 'list',
1569
+ description: '指定列表',
1438
1570
  typeAnnotation: TypeAnnotation.createGeneric('List', {
1439
1571
  typeArguments: [TypeAnnotation.createTypeParam('T')],
1440
1572
  }),
1441
1573
  }),
1442
1574
  new Param({
1443
1575
  name: 'page',
1576
+ description: '页数,integer类型,从1开始',
1444
1577
  typeAnnotation: TypeAnnotation.createPrimitive('Integer'),
1445
1578
  }),
1446
1579
  new Param({
1447
1580
  name: 'size',
1581
+ description: '每页的大小,integer类型',
1448
1582
  typeAnnotation: TypeAnnotation.createPrimitive('Integer'),
1449
1583
  }),
1450
1584
  ],