Sha256: b1300cb863b4c309313c7ba99d395ac6a60fea05db6f2ecf27a66c371b619987
Contents?: true
Size: 390 Bytes
Versions: 4
Compression:
Stored size: 390 Bytes
Contents
import Node from '../Node.js'; import reserved from '../../utils/reserved.js'; export default class MemberExpression extends Node { transpile(code, transforms) { if (transforms.reservedProperties && reserved[this.property.name]) { code.overwrite(this.object.end, this.property.start, `['`); code.appendLeft(this.property.end, `']`); } super.transpile(code, transforms); } }
Version data entries
4 entries across 4 versions & 1 rubygems