6,834
edits
No edit summary |
No edit summary |
||
Line 517: | Line 517: | ||
else | else | ||
for i,arg in ipairs(entries) do | for i,arg in ipairs(entries) do | ||
local | local tokens = p.split(arg, ' ') | ||
if isEvent then | if isEvent then | ||
rows[i] = { (i + 1)..") ", p.formatType(tokens[1], frame), p.formatName(tokens[2], frame), p.formatDescription(parts.description) } | rows[i] = { (i + 1)..") ", p.formatType(tokens[1], frame), p.formatName(tokens[2], frame), p.formatDescription(parts.description) } | ||
else | else | ||
local parts = p.getArgParts(arg) | |||
if parts.optional then | if parts.optional then | ||
if parts.defaultValueIsSpecified then | if parts.defaultValueIsSpecified then |
edits