@calystral/prettier-plugin-solidity
Version:
prettier plugin for solidity
19 lines (16 loc) • 334 B
JavaScript
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;