@lcap/nasl-parser
Version:
Take Nasl text to Nasl AST with the help of generalized parsing.
30 lines (29 loc) • 674 B
JSON
{
"concept": "Enum",
"name": "MyEnumStr",
"description": "这是一个垃圾枚举",
"valueType": {
"concept": "TypeAnnotation",
"typeKind": "primitive",
"typeNamespace": "nasl.core",
"typeName": "String"
},
"enumItems": [
{
"concept": "EnumItem",
"value": "J",
"label": {
"concept": "StaticString",
"value": "值J"
}
},
{
"concept": "EnumItem",
"value": "K",
"label": {
"concept": "StaticString",
"value": "值K"
}
}
]
}