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

Method _getMatchingParser

external/.scrollLibs.js:15194–15196  ·  view source on GitHub ↗
(block, parentParticle, lineNumber, atomBreakSymbol = ATOM_MEMBRANE)

Source from the content-addressed store, hash-verified

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 }
15197 _getCatchAllParser(contextParticle) {
15198 if (this._catchAllParser) return this._catchAllParser
15199 const parent = contextParticle.parent

Callers 2

appendParticleAsyncMethod · 0.95
_createParticleMethod · 0.95

Calls 5

_getCueMapMethod · 0.95
_getCueMethod · 0.95
_getCatchAllParserMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected