Skip to main content
Version: 3.4

ConfigProperty 配置属性

1. 结构声明

class ConfigProperty extends BaseNode {
name: string = '';
description: string;
values: Array<ConfigPropertyValue>;
isPrivate: boolean;
}

2. 节点示例

(1) 示例

AST 如下:

{
"concept": "ConfigProperty",
"name": "url",
"description": "参数路径",
"values": [
{
"concept": "ConfigPropertyValue",
"env": "dev",
"value": "dev-domain.com"
},
{
"concept": "ConfigPropertyValue",
"env": "online",
"value": "domain.com"
}
],
"isPrivate": false
}