box: support brackets in name resolution for Lua calls
Fefactor lua name resolution, simplify and comment. Add an ability to specify path with brackets, for example in 'box.space[512]:get' or 'box.space["test"]:get'. Only literals (strings and numbers) are supported. Closes #8604 @TarantoolBot document Title: square brackets in procedure resolution for Lua calls Square brackets are now supported in Lua call procedure resolution. This is applicable to `net.box` connection objects `call` method as well as `box.schema.func.call`. Examples of function calls with square brackets can be found in the test to this patch.
Showing
- changelogs/unreleased/gh-8604-support-square-brackets-in-procedure-resolution-for-lua-calls.md 4 additions, 0 deletions...-square-brackets-in-procedure-resolution-for-lua-calls.md
- src/box/lua/call.c 67 additions, 55 deletionssrc/box/lua/call.c
- test/box-luatest/gh_8604_support_square_brackets_in_procedure_resolution_for_lua_calls_test.lua 108 additions, 0 deletions...e_brackets_in_procedure_resolution_for_lua_calls_test.lua
Loading
Please register or sign in to comment