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

Method getAtomConstructor

external/.scrollLibs.js:19202–19204  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19200 // `this.getAtomsFrom(${requireds.length + 1})`
19201 // todo: cleanup typings. todo: remove this hidden logic. have a "baseType" property?
19202 getAtomConstructor() {
19203 return this.preludeKind || ParsersAnyAtom
19204 }
19205 get preludeKind() {
19206 return PreludeKinds[this.getAtom(0)] || PreludeKinds[this._getExtendedAtomTypeId()]
19207 }

Callers 4

getGetterMethod · 0.95
getCatchAllGetterMethod · 0.95
getAtomArrayMethod · 0.80
getAtomArrayMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected