UNPKG

prettier-plugin-solidity

Version:

A Prettier Plugin for automatically formatting your Solidity code.

13 lines 460 B
import { printSeparatedList } from '../common/printer-helpers.js'; export const AssemblyCall = { print: ({ node, path, print, options }) => node.arguments.length === 0 && options.originalText.charAt(options.locEnd(node)) !== ')' ? node.functionName : [ node.functionName, '(', printSeparatedList(path.map(print, 'arguments')), ')' ] }; //# sourceMappingURL=AssemblyCall.js.map