UNPKG

@calystral/prettier-plugin-solidity

Version:
19 lines (16 loc) 334 B
const { doc: { builders: { join } } } = require('prettier/standalone'); const AssemblyFor = { print: ({ path, print }) => join(' ', [ 'for', path.call(print, 'pre'), path.call(print, 'condition'), path.call(print, 'post'), path.call(print, 'body') ]) }; module.exports = AssemblyFor;