comparison website/src/manual.html.luan @ 1817:969ced346cef

docs - Table
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 16 Jun 2024 20:00:50 -0600
parents e62c88b2883b
children d3e6c7f64559
comparison
equal deleted inserted replaced
1816:e62c88b2883b 1817:969ced346cef
3136 It provides all its functions inside the table <code>Table</code>. 3136 It provides all its functions inside the table <code>Table</code>.
3137 </p> 3137 </p>
3138 <% 3138 <%
3139 end 3139 end
3140 subs = { 3140 subs = {
3141 ["Table.case_insensitive"] = {
3142 title = "Table.case_insensitive ([tbl])"
3143 content = function()
3144 %>
3145 <p>Returns a table with case-insensitive string keys. Copies <code>tbl</code> or is empty.</p>
3146 <%
3147 end
3148 }
3141 ["Table.clear"] = { 3149 ["Table.clear"] = {
3142 title = "Table.clear (tbl)" 3150 title = "Table.clear (tbl)"
3143 content = function() 3151 content = function()
3144 %> 3152 %>
3145 <p> 3153 <p>
3196 } 3204 }
3197 ["Table.is_list"] = { 3205 ["Table.is_list"] = {
3198 title = "Table.is_list (tbl)" 3206 title = "Table.is_list (tbl)"
3199 content = function() 3207 content = function()
3200 %> 3208 %>
3209 <%
3210 end
3211 }
3212 ["Table.java_to_table_deep"] = {
3213 title = "Table.java_to_table_deep (obj [, java_to_table_shallow])"
3214 content = function()
3215 %>
3216 <p>Recursively applies <code>java_to_table_shallow</code> to convert a Java object to nested tables. <code>java_to_table_shallow</code> defaults to <a href="#Table.java_to_table_shallow">Table.java_to_table_shallow</a>.</p>
3217 <%
3218 end
3219 }
3220 ["Table.java_to_table_shallow"] = {
3221 title = "Table.java_to_table_shallow (obj)"
3222 content = function()
3223 %>
3224 <p>Converts a Java object to a table. Works for collection types List, Map, Set, and Java arrays.</p>
3201 <% 3225 <%
3202 end 3226 end
3203 } 3227 }
3204 ["Table.pack"] = { 3228 ["Table.pack"] = {
3205 title = "Table.pack (&middot;&middot;&middot;)" 3229 title = "Table.pack (&middot;&middot;&middot;)"