| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295 |
- [
- {
- "name": "array.length",
- "contents": [
- "数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "的长度"
- ],
- "class": "array.Length", "extend": "$Expression"
- },
- {
- "name": "array.concat",
- "contents": [
- "合并多个数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- {"type": "inputMortise","default": "","tenonTypes": []}
- ],
- "class": "array.oncat", "extend": "$Expression"
- },
- {
- "name": "array.join",
- "contents": [
- "合并数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "为字符串"
- ],
- "class": "array.Join", "extend": "$Expression"
- },
- {
- "name": "array.push",
- "contents": [
- "在数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "的末尾添加元素",
- {"type": "inputMortise","default": "","tenonTypes": []}
- ],
- "class": "array.Push", "extend": "$Operation"
- },
- {
- "name": "array.pop",
- "contents": [
- "从数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "中返回并移除最后一个元素"
- ],
- "class": "array.Pop", "extend": "$Expression"
- },
- {
- "name": "array.unshift",
- "contents": [
- "在数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "的开头添加元素",
- {"type": "inputMortise","default": "","tenonTypes": []}
- ],
- "class": "array.Unshift", "extend": "$Operation"
- },
- {
- "name": "array.shift",
- "contents": [
- "从数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "中返回并移除第一个元素"
- ],
- "class": "array.Shift", "extend": "$Expression"
- },
- {
- "name": "array.slice",
- "contents": [
- "截取数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "从位置",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "到位置",
- {"type": "inputMortise","default": "","tenonTypes": []}
- ],
- "class": "array.Slice", "extend": "$Expression"
- },
- {
- "name": "array.splice",
- "contents": [
- "数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "从位置",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "删除",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "个元素,添加新元素",
- {"type": "inputMortise","default": "","tenonTypes": []}
- ],
- "class": "array.Splice", "extend": "$Expression"
- },
- {
- "name": "array.reverse",
- "contents": [
- "将数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "颠倒位置"
- ],
- "class": "array.Reverse", "extend": "$Operation"
- },
- {
- "name": "array.sort",
- "contents": [
- "对数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "排序, 元素1",
- {"type": "input","default": "a"},
- "元素2",
- {"type": "input","default": "b"},
- ",绑定对象",
- {"type": "mortise", "tenonTypes": []}
- ],
- "class": "array.Sort", "extend": "$Around"
- },
- {
- "name": "array.indexOf",
- "contents": [
- "数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "中元素",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "的索引"
- ],
- "class": "array.IndexOf", "extend": "$Expression"
- },
- {
- "name": "array.lastIndexOf",
- "contents": [
- "数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "中元素",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "的最后索引"
- ],
- "class": "array.LastIndexOf", "extend": "$Expression"
- },
- {
- "name": "array.forEach",
- "contents": [
- "遍历数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "值",
- {"type": "input","default": "v"},
- "索引",
- {"type": "input","default": "i"},
- "绑定对象",
- {"type": "mortise","default": "","tenonTypes": []}
- ],
- "class": "array.ForEach", "extend": "$Around"
- },
- {
- "name": "array.map",
- "contents": [
- "map",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "方法",
- {"type": "inputMortise","default": "","tenonTypes": []},
- ",绑定对象",
- {"type": "mortise", "tenonTypes": []}
- ],
- "class": "array.Map", "extend": "$Expression"
- },
- {
- "name": "array.filter",
- "contents": [
- "过滤数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "方法",
- {"type": "inputMortise","default": "","tenonTypes": []},
- ",绑定对象",
- {"type": "mortise", "tenonTypes": []}
- ],
- "class": "array.Filter", "extend": "$Expression"
- },
- {
- "name": "array.every",
- "contents": [
- "数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "的每个元素都满足方法",
- {"type": "inputMortise","default": "","tenonTypes": []},
- ",绑定对象",
- {"type": "mortise", "tenonTypes": []}
- ],
- "class": "array.Every", "extend": "$Expression"
- },
- {
- "name": "array.some",
- "contents": [
- "数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "的一些元素满足方法",
- {"type": "inputMortise","default": "","tenonTypes": []},
- ",绑定对象",
- {"type": "mortise", "tenonTypes": []}
- ],
- "class": "array.Some", "extend": "$Expression"
- },
- {
- "name": "array.reduce",
- "contents": [
- "数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "reduce",
- {"type": "inputMortise","default": "","tenonTypes": []},
- {"type": "inputMortise","default": "","tenonTypes": []},
- ",绑定对象",
- {"type": "mortise", "tenonTypes": []}
- ],
- "class": "array.Reduce", "extend": "$Expression"
- },
- {
- "name": "array.reduceRight",
- "contents": [
- "数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "reduceRight",
- {"type": "inputMortise","default": "","tenonTypes": []},
- {"type": "inputMortise","default": "","tenonTypes": []},
- ",绑定对象",
- {"type": "mortise", "tenonTypes": []}
- ],
- "class": "array.ReduceRight", "extend": "$Expression"
- },
- {
- "name": "array.contains",
- "contents": [
- "数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "包含",
- {"type": "inputMortise","default": "","tenonTypes": []}
- ],
- "class": "array.Contains", "extend": "$Expression"
- },
- {
- "name": "array.append",
- "contents": [
- "数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "末尾添加数组",
- {"type": "inputMortise","default": "","tenonTypes": []}
- ],
- "class": "array.Append", "extend": "$Expression"
- },
- {
- "name": "array.getLast",
- "contents": [
- "数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "的最后一个元素"
- ],
- "class": "array.GetLast", "extend": "$Expression"
- },
- {
- "name": "array.getRandom",
- "contents": [
- "随机获取数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "中的一个元素"
- ],
- "class": "array.GetRandom", "extend": "$Expression"
- },
- {
- "name": "array.erase",
- "contents": [
- "从数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "中的删除元素",
- {"type": "inputMortise","default": "","tenonTypes": []}
- ],
- "class": "array.Erase", "extend": "$Expression"
- },
- {
- "name": "array.empty",
- "contents": [
- "清空数组",
- {"type": "inputMortise","default": "","tenonTypes": []}
- ],
- "class": "array.Empty", "extend": "$Expression"
- },
- {
- "name": "array.combine",
- "contents": [
- "合并数组",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "和",
- {"type": "inputMortise","default": "","tenonTypes": []},
- "并去重"
- ],
- "class": "array.Combine", "extend": "$Expression"
- }
- ]
|