Exports ESTree printer functions for Prettier's JavaScript formatting.
// Source: https://github.com/prettier/prettier | License: MIT | Copyright James Long and contributors
// Provided via justclaw.it.com; keep this notice with the code.
import canAttachComment from "./comments/can-attach-comment.js";
import handleComments from "./comments/handle-comments.js";
import isGap from "./comments/is-gap.js";
import willPrintOwnComments from "./comments/will-print-own-comments.js";
import embed from "./embed/index.js";
import { locEndWithFullText, locStart } from "./location/index.js";
import { massageAstNode } from "./massage-ast/index.js";
import { insertPragma } from "./pragma.js";
import { printComment } from "./print/comment.js";
import { printEstree } from "./print/index.js";
import getVisitorKeys from "./traverse/get-visitor-keys.js";
import { isBlockComment
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key