block_object.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. [
  2. {
  3. "name": "object.new",
  4. "contents": ["新建一个Object对象"],
  5. "class": "object.New"
  6. },
  7. {
  8. "name": "object.each",
  9. "contents": [
  10. "遍历对象",
  11. {"type": "inputMortise","default": "","tenonTypes": []},
  12. " 值",
  13. {"type": "input","default": "v"},
  14. "键",
  15. {"type": "input","default": "k"},
  16. "绑定对象",
  17. {"type": "mortise","tenonTypes": []}
  18. ],
  19. "class": "object.Each"
  20. },
  21. {
  22. "name": "object.merge",
  23. "contents": [
  24. "合并对象",
  25. {"type": "inputMortise","default": "","tenonTypes": []},
  26. {"type": "inputMortise","default": "","tenonTypes": []}
  27. ],
  28. "class": "object.Merge"
  29. },
  30. {
  31. "name": "object.clone",
  32. "contents": [
  33. "克隆对象",
  34. {"type": "inputMortise","default": "","tenonTypes": []}
  35. ],
  36. "class": "object.Clone"
  37. },
  38. {
  39. "name": "object.append",
  40. "contents": [
  41. "给对象",
  42. {"type": "inputMortise","default": "","tenonTypes": []},
  43. "添加属性",
  44. {"type": "inputMortise","default": "","tenonTypes": []}
  45. ],
  46. "class": "object.Append"
  47. },
  48. {
  49. "name": "object.subset",
  50. "contents": [
  51. "获取对象",
  52. {"type": "inputMortise","default": "","tenonTypes": []},
  53. "的子集",
  54. {"type": "inputMortise","default": "","tenonTypes": []}
  55. ],
  56. "class": "object.Subset"
  57. },
  58. {
  59. "name": "object.map",
  60. "contents": [
  61. "map",
  62. {"type": "inputMortise","default": "","tenonTypes": []},
  63. "方法",
  64. {"type": "inputMortise","default": "","tenonTypes": []},
  65. ",绑定对象",
  66. {"type": "mortise", "tenonTypes": []}
  67. ],
  68. "class": "object.Map", "extend": "$Expression"
  69. },
  70. {
  71. "name": "object.filter",
  72. "contents": [
  73. "过滤对象",
  74. {"type": "inputMortise","default": "","tenonTypes": []},
  75. "方法",
  76. {"type": "inputMortise","default": "","tenonTypes": []},
  77. ",绑定对象",
  78. {"type": "mortise", "tenonTypes": []}
  79. ],
  80. "class": "object.Filter", "extend": "$Expression"
  81. },
  82. {
  83. "name": "object.every",
  84. "contents": [
  85. "对象",
  86. {"type": "inputMortise","default": "","tenonTypes": []},
  87. "的每个属性值都满足方法",
  88. {"type": "inputMortise","default": "","tenonTypes": []},
  89. ",绑定对象",
  90. {"type": "mortise", "tenonTypes": []}
  91. ],
  92. "class": "object.Every", "extend": "$Expression"
  93. },
  94. {
  95. "name": "object.some",
  96. "contents": [
  97. "对象",
  98. {"type": "inputMortise","default": "","tenonTypes": []},
  99. "的一些属性值满足方法",
  100. {"type": "inputMortise","default": "","tenonTypes": []},
  101. ",绑定对象",
  102. {"type": "mortise", "tenonTypes": []}
  103. ],
  104. "class": "object.Some", "extend": "$Expression"
  105. },
  106. {
  107. "name": "object.keys",
  108. "contents": [
  109. "对象",
  110. {"type": "inputMortise","default": "","tenonTypes": []},
  111. "的所有属性名"
  112. ],
  113. "class": "object.Keys"
  114. },
  115. {
  116. "name": "object.values",
  117. "contents": [
  118. "对象",
  119. {"type": "inputMortise","default": "","tenonTypes": []},
  120. "的所有属性值"
  121. ],
  122. "class": "object.Values"
  123. },
  124. {
  125. "name": "object.getLength",
  126. "contents": [
  127. "对象",
  128. {"type": "inputMortise","default": "","tenonTypes": []},
  129. "的属性个数"
  130. ],
  131. "class": "object.GetLength"
  132. },
  133. {
  134. "name": "object.keyOf",
  135. "contents": [
  136. "对象",
  137. {"type": "inputMortise","default": "","tenonTypes": []},
  138. "中,值为",
  139. {"type": "inputMortise","default": "","tenonTypes": []},
  140. "的属性名"
  141. ],
  142. "class": "object.KeyOf"
  143. },
  144. {
  145. "name": "object.contains",
  146. "contents": [
  147. "对象",
  148. {"type": "inputMortise","default": "","tenonTypes": []},
  149. "中,是否包含值",
  150. {"type": "inputMortise","default": "","tenonTypes": []}
  151. ],
  152. "class": "object.Contains"
  153. },
  154. {
  155. "name": "object.toQueryString",
  156. "contents": [
  157. "Object.toQueryString",
  158. {"type": "inputMortise","default": "","tenonTypes": []}
  159. ],
  160. "class": "object.ToQueryString"
  161. },
  162. {
  163. "name": "object.toString",
  164. "contents": [
  165. "将",
  166. {"type": "inputMortise","default": "","tenonTypes": []},
  167. "转换为字符串"
  168. ],
  169. "class": "object.ToString"
  170. }
  171. ]