(resultSet, arg)
| 54 | } |
| 55 | |
| 56 | function _parse (resultSet, arg) { |
| 57 | if (!arg) return; |
| 58 | var argType = typeof arg; |
| 59 | |
| 60 | // 'foo bar' |
| 61 | if (argType === 'string') { |
| 62 | _parseString(resultSet, arg); |
| 63 | |
| 64 | // ['foo', 'bar', ...] |
| 65 | } else if (Array.isArray(arg)) { |
| 66 | _parseArray(resultSet, arg); |
| 67 | |
| 68 | // { 'foo': true, ... } |
| 69 | } else if (argType === 'object') { |
| 70 | _parseObject(resultSet, arg); |
| 71 | |
| 72 | // '130' |
| 73 | } else if (argType === 'number') { |
| 74 | _parseNumber(resultSet, arg); |
| 75 | } |
| 76 | } |
| 77 | |
| 78 | function _classNames () { |
| 79 | // don't leak arguments |
no test coverage detected
searching dependent graphs…