MCPcopy Create free account
hub / github.com/breck7/scroll / _doesExtend

Method _doesExtend

external/.scrollLibs.js:17921–17923  ·  view source on GitHub ↗
(parserId)

Source from the content-addressed store, hash-verified

17919 .join("\n")
17920 }
17921 _doesExtend(parserId) {
17922 return this._getAncestorSet().has(parserId)
17923 }
17924 _getAncestorSet() {
17925 if (!this._cache_ancestorSet) this._cache_ancestorSet = new Set(this._getAncestorsArray().map(def => def.id))
17926 return this._cache_ancestorSet

Callers 3

doesExtendMethod · 0.80

Calls 2

_getAncestorSetMethod · 0.95
hasMethod · 0.45

Tested by

no test coverage detected