* External parse that check for a cache hit first * * @param {String} path * @return {Array|undefined}
(path)
| 2720 | */ |
| 2721 | |
| 2722 | function parsePath(path) { |
| 2723 | var hit = pathCache.get(path); |
| 2724 | if (!hit) { |
| 2725 | hit = parse(path); |
| 2726 | if (hit) { |
| 2727 | pathCache.put(path, hit); |
| 2728 | } |
| 2729 | } |
| 2730 | return hit; |
| 2731 | } |
| 2732 | |
| 2733 | /** |
| 2734 | * Get from an object from a path string |
no test coverage detected