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

Method eval

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

@param {EvalContext} context

(context)

Source from the content-addressed store, hash-verified

51
52 /** @param {EvalContext} context */
53 eval(context) {
54 return new Extend(/** @type {Selector} */ (this.selector.eval(context)), this.option, this.getIndex(), this.fileInfo(), this.visibilityInfo());
55 }
56
57 // remove when Nodes have JSDoc types
58 // eslint-disable-next-line no-unused-vars

Callers

nothing calls this directly

Calls 3

getIndexMethod · 0.80
fileInfoMethod · 0.80
visibilityInfoMethod · 0.80

Tested by

no test coverage detected