emmylua_code_analysis 0.23.0

A library for analyzing lua code.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- Copy from Lua Sumneko Lua
--- @meta jit.profile
--- @version JIT

local profile = {}

--- @param mode string
--- @param func fun(L: thread, samples: integer, vmst: string)
function profile.start(mode, func) end

function profile.stop() end

--- @overload fun(th: thread, fmt: string, depth: integer)
--- @param fmt   string
--- @param depth integer
function profile.dumpstack(fmt, depth) end

return profile