prettier-plugin-solidity
Version:
A Prettier Plugin for automatically formatting your Solidity code.
12 lines • 339 B
JavaScript
import { doc } from 'prettier';
const { join } = doc.builders;
export const AssemblyFor = {
print: ({ path, print }) => join(' ', [
'for',
path.call(print, 'pre'),
path.call(print, 'condition'),
path.call(print, 'post'),
path.call(print, 'body')
])
};
//# sourceMappingURL=AssemblyFor.js.map