MCPcopy
hub / github.com/less/less.js / clone

Method clone

packages/less/lib/less/tree/extend.js:60–62  ·  view source on GitHub ↗

@param {EvalContext} [context]

(context)

Source from the content-addressed store, hash-verified

58 // eslint-disable-next-line no-unused-vars
59 /** @param {EvalContext} [context] */
60 clone(context) {
61 return new Extend(this.selector, this.option, this.getIndex(), this.fileInfo(), this.visibilityInfo());
62 }
63
64 // it concatenates (joins) all selectors in selector array
65 /** @param {Selector[]} selectors */

Callers

nothing calls this directly

Calls 3

getIndexMethod · 0.80
fileInfoMethod · 0.80
visibilityInfoMethod · 0.80

Tested by

no test coverage detected