UNPKG

prettier-plugin-solidity

Version:

A Prettier Plugin for automatically formatting your Solidity code.

13 lines 438 B
import { TerminalKind } from '@nomicfoundation/slang/cst'; import { CommentNode } from './CommentNode.js'; export class SingleLineNatSpecComment extends CommentNode { constructor(ast, offset) { super(ast, offset); this.kind = TerminalKind.SingleLineNatSpecComment; this.value = ast.unparse(); } print() { return this.value.trimEnd(); } } //# sourceMappingURL=SingleLineNatSpecComment.js.map