prettier-plugin-solidity
Version:
A Prettier Plugin for automatically formatting your Solidity code.
11 lines • 319 B
JavaScript
export function locStart(node) {
if (typeof node === 'string' || typeof node === 'undefined')
return -1;
return node.loc.start;
}
export function locEnd(node) {
if (typeof node === 'string' || typeof node === 'undefined')
return -1;
return node.loc.end;
}
//# sourceMappingURL=loc.js.map