Sha256: cd08118ddfef98d5f8a0b1db426c2187fb400144acf3b0a41ceb0b1a17d75718
Contents?: true
Size: 492 Bytes
Versions: 29
Compression:
Stored size: 492 Bytes
Contents
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = isScope; var _generated = require("./generated"); function isScope(node, parent) { if ((0, _generated.isBlockStatement)(node) && (0, _generated.isFunction)(parent, { body: node })) { return false; } if ((0, _generated.isBlockStatement)(node) && (0, _generated.isCatchClause)(parent, { body: node })) { return false; } return (0, _generated.isScopable)(node); }
Version data entries
29 entries across 29 versions & 6 rubygems