generates a String of white spaces for debugging indentation @param depth the call depth @return a string of spaces of length 2 depth
(int depth)
| 117 | * @return a string of spaces of length 2*depth |
| 118 | */ |
| 119 | private String indent(int depth) { |
| 120 | StringBuffer b = new StringBuffer(depth*2); |
| 121 | for (int i = 0; i < depth * 2; i++) { |
| 122 | b.append(' '); |
| 123 | } |
| 124 | return b.toString(); |
| 125 | } |
| 126 | |
| 127 | /** |
| 128 | * debug utility to display a JS object |
no test coverage detected