Expand description
Static checks of Lua scripts against the scripting API.
Types are followed along call chains starting from known globals (cm, core, tables of functions like
common), from the context of event listeners registered with core:add_listener, and from locals
assigned from such chains. When a type can’t be resolved, the chain is skipped instead of guessed, so
unresolved code never gets reported.
Structs§
- LuaCheck
Result - Results of checking a script.
- LuaDefinitions
- Things scripts define themselves, which must not be reported as unknown.
- LuaHover
- A range of a script the docs describe.
- LuaIssue
- A problem found in a script.
- LuaKey
Reference - A string literal passed to a parameter that expects a key from a DB table.
Enums§
- LuaIssue
Kind - Kinds of problems found in scripts.
Functions§
- check_
script - This function checks a script.
Type Aliases§
- LuaRange
- Range in a script, as
((start line, start column), (end line, end column)). All values are 0-based.