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

Method _getInScopeParserIds

external/.scrollLibs.js:19594–19599  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19592 return parsersParticle ? parsersParticle.getAtomsFrom(1).concat(scopedDefinitionIds) : scopedDefinitionIds
19593 }
19594 _getInScopeParserIds() {
19595 // todo: allow multiple of these if we allow mixins?
19596 const ids = this._getMyInScopeParserIds()
19597 const parentDef = this._getExtendedParent()
19598 return parentDef ? ids.concat(parentDef._getInScopeParserIds()) : ids
19599 }
19600 get isSingle() {
19601 const hit = this._getParticleFromExtended(ParsersConstants.single)
19602 return hit && hit.get(ParsersConstants.single) !== "false"

Callers 2

cueMapWithDefinitionsMethod · 0.95
synthesizeParticleMethod · 0.95

Calls 4

_getExtendedParentMethod · 0.80
concatMethod · 0.80
_getInScopeParserIdsMethod · 0.45

Tested by

no test coverage detected