Sha256: 7600b37194b06476e833dc2dfea1f48b0feea9e9ffd2849946e508eec23e5ec8
Contents?: true
Size: 402 Bytes
Versions: 26
Compression:
Stored size: 402 Bytes
Contents
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = getArguments; function getArguments(node) { return node.nodes.reduce((list, child) => { if (child.type !== 'div') { list[list.length - 1].push(child); } else { list.push([]); } return list; }, [[]]); } module.exports = exports['default'];
Version data entries
26 entries across 25 versions & 8 rubygems