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

Method _getCueMapAsObject

external/.scrollLibs.js:15186–15193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15184 }
15185 // todo: remove
15186 _getCueMapAsObject() {
15187 let obj = {}
15188 const map = this._getCueMap()
15189 for (let [key, val] of map.entries()) {
15190 obj[key] = val
15191 }
15192 return obj
15193 }
15194 _getMatchingParser(block, parentParticle, lineNumber, atomBreakSymbol = ATOM_MEMBRANE) {
15195 return this._getCueMap().get(this._getCue(block, atomBreakSymbol)) || this._getParserFromRegexTests(block) || this._getCatchAllParser(parentParticle)
15196 }

Callers 8

createParserPoolMethod · 0.80
createParserPoolMethod · 0.80
createParserPoolMethod · 0.80
createParserPoolMethod · 0.80
createParserPoolMethod · 0.80
createParserPoolMethod · 0.80
createParserPoolMethod · 0.80
createParserPoolMethod · 0.80

Calls 1

_getCueMapMethod · 0.95

Tested by

no test coverage detected