Sha256: dfba63d3f6a31288f8bea6a5fd6ffcd46aacdf57bb0c648d42853813cd1c492d
Contents?: true
Size: 483 Bytes
Versions: 5
Compression:
Stored size: 483 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const makeCall = (path, opts, print) => { const operation = path.getValue().body[1]; // Ignoring the next block for coverage information because it's only relevant // in Ruby 2.5 and below. /* istanbul ignore next */ if ([".", "&."].includes(operation)) { return operation; } return operation === "::" ? "." : path.call(print, "body", 1); }; exports.default = makeCall;
Version data entries
5 entries across 5 versions & 1 rubygems