@lcap/nasl-parser
Version:
Take Nasl text to Nasl AST with the help of generalized parsing.
44 lines (43 loc) • 1.33 kB
JSON
{
"concept": "Structure",
"name": "SS2",
"description": "请输入数据结构描述",
"properties": [
{
"concept": "StructureProperty",
"name": "property1",
"typeAnnotation": {
"concept": "TypeAnnotation",
"typeKind": "primitive",
"typeNamespace": "nasl.core",
"typeName": "Long"
},
"defaultValue": {
"concept": "DefaultValue",
"expression": {
"concept": "NumericLiteral",
"value": "0",
"folded": false,
"typeAnnotation": {
"concept": "TypeAnnotation",
"typeKind": "primitive",
"typeNamespace": "nasl.core",
"typeName": "Long"
}
},
"playground": []
}
},
{
"concept": "StructureProperty",
"name": "property2",
"typeAnnotation": {
"concept": "TypeAnnotation",
"typeKind": "reference",
"typeNamespace": "app.structures",
"typeName": "SS1"
}
}
],
"typeParams": []
}