Skip to main content
Version: 3.1

ForEachStatement ForEach 循环分支

结构声明

interface ForEachStatement {
"concept": "ForEachStatement", // 产品概念
"each": LogicItem, // 循环列表
"item": Param, // 循环项参数
"index": Param, // 循环项索引
"start": LogicItem, // 循环开始值
"end": LogicItem, // 循环结束值
"body": Array<LogicItem>, // 循环体
}

示例

简单示例

{
"concept": "ForEachStatement",
"each": null,
"item": null,
"index": null,
"start": null,
"end": null,
"body": []
}