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

Method _getParserPool

external/.scrollLibs.js:16884–16888  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16882 return this.isRoot() || this.parent.isRoot() ? undefined : this.parent.parent
16883 }
16884 _getParserPool() {
16885 if (this._parserPool) return this._parserPool
16886 if (!Particle._parserPoolsCache.has(this.constructor)) Particle._parserPoolsCache.set(this.constructor, this.createParserPool())
16887 return Particle._parserPoolsCache.get(this.constructor)
16888 }
16889 createParserPool() {
16890 return new ParserPool(this.constructor)
16891 }

Callers 8

_insertBlockMethod · 0.95
_appendBlockAsyncMethod · 0.95
_getCatchAllParserMethod · 0.80
registerParsersMethod · 0.80
createParserPoolMethod · 0.80
messageMethod · 0.80
runTimeCuesInScopeMethod · 0.80

Calls 4

createParserPoolMethod · 0.95
hasMethod · 0.45
setMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected