UNPKG

@neo-one/smart-contract-compiler

Version:

NEO•ONE TypeScript smart contract compiler.

13 lines (11 loc) 381 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.nodeKey = void 0; const getID = (node) => { const nodeAny = node; return nodeAny.id == undefined ? `${node.getSourceFile().fileName}:${node.getStart()}:${node.getWidth()}` : nodeAny.id; }; exports.nodeKey = (node) => `${getID(node)}`; //# sourceMappingURL=nodeKey.js.map