Module:ScriptItem2: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 631: Line 631:
end
end


local callbackSyntax2 = {
local callbackSyntax2 = 'function('..(#callbackSyntax == 0 and 'void' or table.concat(callbackSyntax, ', '))..')'
'function('..(#callbackSyntax == 0 and 'void' or table.concat(callbackSyntax, ', '))..')'
 
}
if #parameterTokens > 0 then
if #parameterTokens > 0 then
local syntaxLine = parameterTokens[1]..' '..parameterTokens[2]..'('..callbackSyntax2..')'
local syntaxLine = parameterTokens[1]..' '..parameterTokens[2]..'('..callbackSyntax2..')'
6,834

edits

Navigation menu