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

Method makeProgramParserDefinitionCache

external/.scrollLibs.js:20010–20014  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20008 return parsersParticle ? parsersParticle.getAtomsFrom(1) : []
20009 }
20010 makeProgramParserDefinitionCache() {
20011 const cache = {}
20012 this.getSubparticlesByParser(parserDefinitionParser).forEach(parserDefinitionParser => (cache[parserDefinitionParser.parserIdFromDefinition] = parserDefinitionParser))
20013 return cache
20014 }
20015 compileAndReturnRootParser() {
20016 if (!this._cached_rootParser) {
20017 const rootDef = this.rootParserDefinition

Callers

nothing calls this directly

Calls 2

forEachMethod · 0.80

Tested by

no test coverage detected