Module:User:Surjection/invoker/default

Hello, you have come here looking for the meaning of the word Module:User:Surjection/invoker/default. In DICTIOUS you will not only get to know all the dictionary meanings for the word Module:User:Surjection/invoker/default, but we will also tell you about its etymology, its characteristics and you will know how to say Module:User:Surjection/invoker/default in singular and plural. Everything you need to know about the word Module:User:Surjection/invoker/default you have here. The definition of the word Module:User:Surjection/invoker/default will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofModule:User:Surjection/invoker/default, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.


local getParent = function (frame) return frame._parent end

local function makeFakeFrame(tempargs, args)
	local frame = { }
	frame._parent = {  = args }
	frame.getParent = getParent
	frame.args = tempargs
	return frame
end

-- tries to construct a fake frame and call a template entry point with it
return function (entry, tempargs)
	return function (args)
		return entry(makeFakeFrame(tempargs or nil, args))
	end
end