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

Method createParserPool

external/.scrollLibs.js:19360–19374  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19358class ParsersExampleParser extends Particle {}
19359class ParsersCompilerParser extends Particle {
19360 createParserPool() {
19361 const types = [
19362 ParsersConstantsCompiler.stringTemplate,
19363 ParsersConstantsCompiler.indentCharacter,
19364 ParsersConstantsCompiler.catchAllAtomDelimiter,
19365 ParsersConstantsCompiler.joinSubparticlesWith,
19366 ParsersConstantsCompiler.openSubparticles,
19367 ParsersConstantsCompiler.closeSubparticles
19368 ]
19369 const map = {}
19370 types.forEach(type => {
19371 map[type] = Particle
19372 })
19373 return new Particle.ParserPool(undefined, map)
19374 }
19375}
19376class AbstractParserConstantParser extends Particle {
19377 constructor(subparticles, line, parent) {

Callers

nothing calls this directly

Calls 1

forEachMethod · 0.80

Tested by

no test coverage detected