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

Method getRequiredAtomTypeIds

external/.scrollLibs.js:19271–19277  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19269 return `${parserId}: ${this.getRequiredAtomTypeIds().join(" ")}${catchAllAtomTypeId ? ` ${catchAllAtomTypeId}...` : ""}`
19270 }
19271 getRequiredAtomTypeIds() {
19272 if (!this._requiredAtomTypeIds) {
19273 const parameters = this._definition._getFromExtended(ParsersConstants.atoms)
19274 this._requiredAtomTypeIds = parameters ? parameters.split(" ") : []
19275 }
19276 return this._requiredAtomTypeIds
19277 }
19278 _getAtomTypeId(atomIndex, requiredAtomTypeIds, totalAtomCount) {
19279 return requiredAtomTypeIds[atomIndex]
19280 }

Callers 4

lineHintsMethod · 0.95
getAtomArrayMethod · 0.95
getParserUsageMethod · 0.80
getAtomArrayMethod · 0.80

Calls 2

_getFromExtendedMethod · 0.80
splitMethod · 0.80

Tested by

no test coverage detected