Improve implementation of LS.getclass and LS.classname, make it more consistent.
This commit is contained in:
@@ -104,6 +104,9 @@ int common_prefix_length(string_view a, string_view b);
|
||||
// Return true if the string is a lua identifier.
|
||||
bool is_lua_id(string_view s);
|
||||
|
||||
// Return true if the string is a valid lua classname.
|
||||
bool is_lua_classname(string_view s);
|
||||
|
||||
// Return true if the line of code is a lua comment.
|
||||
bool is_lua_comment(string_view s);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user