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

Method createParserPool

external/.scrollLibs.js:19167–19181  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19165}
19166class atomTypeDefinitionParser extends AbstractExtendibleParticle {
19167 createParserPool() {
19168 const types = {}
19169 types[ParsersConstants.regex] = ParsersRegexTestParser
19170 types[ParsersConstants.reservedAtoms] = ParsersReservedAtomsTestParser
19171 types[ParsersConstants.enumFromAtomTypes] = EnumFromAtomTypesTestParser
19172 types[ParsersConstants.enum] = ParsersEnumTestParticle
19173 types[ParsersConstants.paint] = Particle
19174 types[ParsersConstants.comment] = Particle
19175 types[ParsersConstants.examples] = Particle
19176 types[ParsersConstants.min] = Particle
19177 types[ParsersConstants.max] = Particle
19178 types[ParsersConstants.description] = Particle
19179 types[ParsersConstants.extends] = Particle
19180 return new Particle.ParserPool(undefined, types)
19181 }
19182 get id() {
19183 return this.getAtom(0)
19184 }

Callers

nothing calls this directly

Calls 2

_getCueMapAsObjectMethod · 0.80
createParserPoolMethod · 0.45

Tested by

no test coverage detected