@lcap/nasl-parser
Version:
Take Nasl text to Nasl AST with the help of generalized parsing.
113 lines (112 loc) • 2.07 kB
text/typescript
export const builtinFunctionNames = [
'Convert',
'ToString',
'FromString',
'EnumToList',
'EnumToList',
'EnumItemToText',
'EnumItemToStructure',
'ToEnumItem',
'Split',
'Join',
'Length',
'Length',
'Length',
'IndexOf',
'LastIndexOf',
'Replace',
'SubString',
'ToLower',
'ToUpper',
'Trim',
'Get',
'Set',
'Contains',
'Add',
'AddAll',
'Insert',
'Remove',
'RemoveAt',
'ListHead',
'ListLast',
'ListFlatten',
'ListTransform',
'ListToMap',
'ListGroupBy',
'ListSum',
'ListProduct',
'ListMax',
'ListMin',
'ListAverage',
'ListAverage',
'ListSort',
'ListFind',
'ListFindIndex',
'ListFindAll',
'ListFilter',
'ListReverse',
'ListDistinct',
'ListDistinctBy',
'ListSlice',
'MapGet',
'MapPut',
'MapRemove',
'MapContains',
'MapKeys',
'MapValues',
'MapFilter',
'MapTransform',
'CurrDate',
'CurrTime',
'CurrDateTime',
'FormatDate',
'FormatDateTime',
'FormatTime',
'FormatNumber',
'FormatPercent',
'AddDays',
'AddDays',
'AddMonths',
'AddMonths',
'DateDiff',
'ConvertTimezone',
'AlterDateTime',
'GetDateCount',
'GetDateCountOld',
'GetSpecificDaysOfWeek',
'Clone',
// 'Clear',
'Clear',
'RandomInt',
'New',
'NewList',
'NewMap',
'ValidMapKey',
'ValidMapKey',
'ValidMapKey',
'ValidMapKey',
'ValidMapKey',
'CreateListPage',
'consoleLog',
// 'jsonSerialize', 没这俩,谢谢
// 'jsonDeserialize',
'concatString',
'stringInterpolation',
'Round',
'HasValue',
'ListSortAsync',
'ListFindAsync',
'ListFindIndexAsync',
'ListFilterAsync',
'ListDistinctByAsync',
'ListGroupByAsync',
'ListTransformAsync',
'MapFilterAsync',
'MapTransformAsync',
'ListToMapAsync',
'autoTypeHandleError',
'autoHandleError',
'callLogicWithChecker',
'paginateLimit',
'isListorString',
]