@diagnostic | Enable or disable specific diagnostics | ---@diagnostic disable-next-line |
@cast | Cast a variable to a different type | ---@cast ply Player |
@deprecated | Mark a symbol as deprecated | ---@deprecated Use NewFunc() |
@meta | Mark a file as type-only (not runtime) | ---@meta |
@module | Declare a file as a named module | ---@module mymodule |
@see | Add a cross-reference to another symbol | ---@see AnotherClass |
@source | Map a definition to its true source location | ---@source file:///path/file.lua#41:0 |
@version | Restrict features to specific Lua versions | ---@version >5.1 |