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

Method constantsObject

external/.scrollLibs.js:19484–19488  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19482 return this.id.replace(HandParsersProgram.parserSuffixRegex, "")
19483 }
19484 get constantsObject() {
19485 const obj = this._getUniqueConstantParticles()
19486 Object.keys(obj).forEach(key => (obj[key] = obj[key].constantValue))
19487 return obj
19488 }
19489 _getUniqueConstantParticles(extended = true) {
19490 const obj = {}
19491 const items = extended ? this._getSubparticlesByParserInExtended(AbstractParserConstantParser) : this.getSubparticlesByParser(AbstractParserConstantParser)

Callers

nothing calls this directly

Calls 2

forEachMethod · 0.80

Tested by

no test coverage detected