Skip to main content
Version: 3.4

EnumItem 枚举值

1. 结构声明

class EnumItem extends BaseNode {
value: string;
label: string;
}

2. 节点示例

(1) 带描述的示例

AST 如下:

{
"concept": "EnumItem",
"value": "Listing",
"label": "上架"
}