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

Method lastRootParserDefinitionParticle

external/.scrollLibs.js:19965–19967  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19963 return this.getSubparticlesByParser(parserDefinitionParser).filter(particle => particle._hasValidParserId())
19964 }
19965 get lastRootParserDefinitionParticle() {
19966 return this.findLast(def => def instanceof AbstractParserDefinitionParser && def.has(ParsersConstants.root) && def._hasValidParserId())
19967 }
19968 _initRootParserDefinitionParticle() {
19969 if (this._cache_rootParserParticle) return
19970 if (!this._cache_rootParserParticle) this._cache_rootParserParticle = this.lastRootParserDefinitionParticle

Callers

nothing calls this directly

Calls 3

findLastMethod · 0.80
_hasValidParserIdMethod · 0.80
hasMethod · 0.45

Tested by

no test coverage detected