@@ -6708,7 +6708,7 @@ declare interface CssProcessOptions {
67086708 * `grammar`. All configuration is per `process` call. `process(src, { minimize:
67096709 * true })` returns `{ code, map }` — the safely-minified serialization (built by
67106710 * the same walk that fires visitors) and its source map; without `minimize` it
6711- * just walks and returns `undefined`. Babel-style usage :
6711+ * just walks and returns `undefined`. Usage :
67126712 * ```
67136713 * new CssSourceProcessor().use({ [NodeType.AtRule]: (path) => {} }).process(source, { skip });
67146714 * ```
@@ -11718,7 +11718,7 @@ declare interface HtmlResourceHintWebpackOptions {
1171811718
1171911719/**
1172011720 * The generic visitor coordinator (`util/SourceProcessor`) bound to the HTML
11721- * `grammar`. Babel-style usage :
11721+ * `grammar`. Usage :
1172211722 * ```
1172311723 * new HtmlSourceProcessor().use({ [NodeType.Element]: (path) => {}, [NodeType.Comment]: { enter, exit } }).process(source, { skip });
1172411724 * ```
@@ -29628,7 +29628,7 @@ declare interface SourcePosition {
2962829628 * Visitor coordinator: owns the visitor registry and drives a language
2962929629 * `grammar` over the source. Language-agnostic — each syntax (CSS, HTML, …)
2963029630 * binds its own grammar, node-type enum and (optionally) node printer.
29631- * Babel-style usage :
29631+ * Usage :
2963229632 * ```
2963329633 * processor.use({ [NodeType.X]: (path) => {}, [NodeType.Y]: { enter, exit } });
2963429634 * processor.process(source);
@@ -29641,7 +29641,7 @@ declare abstract class SourceProcessor<
2964129641 TPrintOptions = object
2964229642> {
2964329643 /**
29644- * Register a Babel-style visitor map; calls accumulate per node type.
29644+ * Register a visitor map; calls accumulate per node type.
2964529645 * A bucket is a function (= `{ enter }`) or `{ enter?, exit? }`.
2964629646 */
2964729647 use(
@@ -32187,9 +32187,9 @@ type VisitorBucket<TPath> =
3218732187 VisitorFn<TPath> | { enter?: VisitorFn<TPath>; exit?: VisitorFn<TPath> };
3218832188
3218932189/**
32190- * Babel-style visitor map keyed by a numeric node-type discriminator; a bucket
32190+ * Visitor map keyed by a numeric node-type discriminator; a bucket
3219132191 * is a function (enter-only) or `{ enter?, exit? }`.
32192- * A visitor receives a single `path` argument (the Babel `path` shape) : the
32192+ * A visitor receives a single `path` argument: the
3219332193 * language's AST accessor with the current position on it — `path.node`,
3219432194 * `path.parent` (null at a root) — plus `path.skipChildren()` (enter only)
3219532195 * to stop the walk descending, and every field-read method (which defaults
0 commit comments