mirror of
https://github.com/neovim/neovim.git
synced 2026-01-20 04:01:15 +10:00
Judging class definitions in the form "string.find (line, '=% s * class% (')"
must force writing class definitions in this format, but such a mechanism is Absent.
Also, Lua has no formal class in the language specification, and implements inheritance with setmetadable.
To detect this, we should have a parser for it, not a simple regular expression.
18 KiB
18 KiB