new Diagnose( [options])
Creates an instance of Diagnose.
Parameters:
| Name |
Type |
Argument |
Default |
Description |
options |
Object
|
<optional>
|
{}
|
options for creation
Properties
| Name |
Type |
Argument |
Default |
Description |
separator |
string
|
<optional>
|
'\n'
|
output between detected objects |
stream_errors |
bool
|
<optional>
|
false
|
put error info into the
output stream |
max_depth |
number
|
<optional>
|
-1
|
-1 for "until you run out of
memory". Set this to a finite positive number for un-trusted inputs. Most
standard inputs won't nest more than 100 or so levels; I've tested into the
millions before running out of memory. |
|