NullLiteral 空字面量
1. 结构声明
- TS Declaration
- JSON Schema
class NullLiteral extends LogicItem {}
{
"type": "object",
"additionalProperties": false,
"properties": {
"composedBy": {
"type": "array",
"items": {
"type": "string"
}
},
"changedTime": {
"$ref": "#/definitions/long"
},
"label": {
"type": "string"
},
"description": {
"type": "string"
},
"folded": {
"type": "boolean"
},
"offsetX": {
"type": "number"
},
"offsetY": {
"type": "number"
},
"typeAnnotation": {
"$ref": "#/definitions/TypeAnnotation"
},
"breakpoint": {
"type": "string",
"enum": [
"ENABLED",
"DISABLED"
]
}
}
}
2. 节点示例
(1) 示例
AST 如下:
- JSON
- YAML
{
"concept": "NullLiteral"
}
concept: NullLiteral
对应的代码如下:
- 文本化 NASL
- Natural TS
null
null