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

Method _getInScopeParserIds

external/.scrollLibs.js:20006–20009  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20004 return super._getMyInScopeParserIds(this.rootParserDefinition)
20005 }
20006 _getInScopeParserIds() {
20007 const parsersParticle = this.rootParserDefinition.getParticle(ParsersConstants.inScope)
20008 return parsersParticle ? parsersParticle.getAtomsFrom(1) : []
20009 }
20010 makeProgramParserDefinitionCache() {
20011 const cache = {}
20012 this.getSubparticlesByParser(parserDefinitionParser).forEach(parserDefinitionParser => (cache[parserDefinitionParser.parserIdFromDefinition] = parserDefinitionParser))

Callers 1

_getInScopeParserIdsMethod · 0.45

Calls 2

getAtomsFromMethod · 0.80
getParticleMethod · 0.45

Tested by

no test coverage detected