17,273
edits
(support value and table collisions in 'expand'; add fromFrame function) |
(add getTable function) |
||
Line 83: | Line 83: | ||
return expandedArgs | return expandedArgs | ||
end | |||
-- coerce the given node into a table, in case it is a standalone value | |||
function p.getTable( val ) | |||
return type( val ) == 'table' and val or { __value = val } | |||
end | end | ||