Start 开始节点
1. 结构声明
- TS Declaration
- JSON Schema
class Start extends LogicItem {}
{
"type": "object",
"additionalProperties": false,
"properties": {
"composedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"folded": {
"type": "boolean"
},
"offsetX": {
"type": "number"
},
"offsetY": {
"type": "number"
},
"typeAnnotation": {
"$ref": "#/definitions/TypeAnnotation"
}
}
}
2. 节点示例
(1) 示例
AST 如下:
- JSON
- YAML
{
"concept": "Start"
}
concept: Start
对应的代码如下:
- 文本化 NASL
- Natural TS