UNPKG

solidity-antlr4

Version:

Solidity Lang Lexer and Parser by official ANTLR4 grammar

23 lines (22 loc) 531 B
import { printComment, isBlockComment, canAttachComment, print, massageAstNode, handleComments } from "./printers/index.js"; export class PrettierPrinter { static name = "solidity-antlr4-ast"; print = print; printComment = printComment; isBlockComment = isBlockComment; canAttachComment = canAttachComment; massageAstNode = massageAstNode; handleComments = handleComments; // handleComments = { // ownLine: this.ownLine, // endOfLine: this.endOfLine, // remaining: this.remaining, // }; }