You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---@[deprecated("This class is deprecated")]---@classMyThing---@[deprecated("This field is deprecated")]---@fieldmyfieldinteger
emmylua_doc_cli produces the following JSON output. I've snipped out the irrelevant parts for brevity. The only thing inside the workspace is the test.lua file.
{ "types": [ { "type": "class", "name": "MyThing", "description": "", "visibility": null, "deprecated": false, // 🔴 "deprecation_reason": null, // 🔴 "tag_content": null, "loc": [ { "file": "C:/Users/USER/Projects/luanti-api/test/test.lua", "line": 2 } ], "bases": [], "generics": [], "members": [ { "type": "field", "name": "myfield", "description": null, "visibility": null, "deprecated": false, // 🔴 "deprecation_reason": null, // 🔴 "tag_content": null, "loc": { "file": "C:/Users/USER/Projects/luanti-api/test/test.lua", "line": 4 }, "typ": "integer", "literal": null } ] } ] }