The docsearch function is now working.
This commit is contained in:
@@ -110,6 +110,9 @@ 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);
|
||||
|
||||
// Return true if the line is a lua function prototype.
|
||||
bool is_lua_function_prototype(string_view s);
|
||||
|
||||
// Return true if the line is entirely whitespace.
|
||||
bool is_whitespace(string_view s);
|
||||
|
||||
@@ -206,6 +209,13 @@ int32_t read_codepoint_utf8(string_view &source);
|
||||
//
|
||||
bool valid_utf8(string_view s);
|
||||
|
||||
// Check if a UTF8 string contains a substring.
|
||||
//
|
||||
// Eventually, we're going to have a case-insensitive version of this,
|
||||
// but it's really hard to write!
|
||||
//
|
||||
bool contains_substring_utf8(string_view haystack, string_view needle);
|
||||
|
||||
// Return true if the number conforms to the spec.
|
||||
// See read_number for more information.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user