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

Method hasParserDefinitions

external/.scrollLibs.js:19745–19747  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19743 return this._cache_parserDefinitionParsers
19744 }
19745 get hasParserDefinitions() {
19746 return !!this.getSubparticlesByParser(parserDefinitionParser).length
19747 }
19748 makeProgramParserDefinitionCache() {
19749 const scopedParsers = this.getSubparticlesByParser(parserDefinitionParser)
19750 const cache = Object.assign({}, this.parent.programParserDefinitionCache) // todo. We don't really need this. we should just lookup the parent if no local hits.

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected