Skip to content
Snippets Groups Projects
Commit 237d606b authored by Hachem_Muche's avatar Hachem_Muche
Browse files

New utility functions (useful for debugging):

string.fromFunction(fct, fmt) returns a string abbreviation for a function, including filepath, line numbers

string.fromValue(v, recurse, offset, prefix, suffix) -- enhancement of tostring function with more thorough handling of tables and functions

string.fromTable(src, recurse, offset, prefix, suffix, key_recurse): returns a single-line string representation of a table, including string representations of subtables and functions.  The recursion level for both keys and values can be set.  The converted string is lua source code compatible, depending on arguments.
parent f0fea124
No related branches found
No related tags found
1 merge request!455Object resolvers update
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment