Модуль:Arguments: відмінності між версіями
[перевірена версія] | [перевірена версія] |
Вилучено вміст Додано вміст
м Відкинуто редагування Gzhegozh (обговорення) до зробленого Nickispeaki Мітка: Відкіт |
Немає опису редагування |
||
Рядок 2:
-- #invoke. It is intended for use by other Lua modules, and should not be
-- called from #invoke directly.
local libraryUtil = require('libraryUtil')
Рядок 13 ⟶ 10:
-- Generate four different tidyVal functions, so that we don't have to check the
-- options every time we call it.
local function tidyValDefault(key, val)
Рядок 131 ⟶ 126:
-- We test for false specifically here so that nil (the default) acts like true.
if found or options.frameOnly == false then
pargs = parent.args
Рядок 141 ⟶ 135:
else
-- options.wrapper isn't set, so check the other options.
if not options.parentOnly then
fargs = frame.args
Рядок 294 ⟶ 287:
-- the value in metaArgs, so that __index, __pairs and __ipairs do
-- not use a previous existing value, if present; and we also need
-- to
-- up in the argument tables if it is accessed again.
--]]
|