int luaQ_complete(lua_State *L)

This function first pops a string from the top of the stack. The string could contain a symbol or several symbols separated with dots of periods. Function luaQ_complete then pushes a table containing potential completions for the last symbol in the string.