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

Method _getEnumFromAtomTypeOptions

external/.scrollLibs.js:19236–19239  ·  view source on GitHub ↗
(program)

Source from the content-addressed store, hash-verified

19234 return Infinity
19235 }
19236 _getEnumFromAtomTypeOptions(program) {
19237 const particle = this._getParticleFromExtended(ParsersConstants.enumFromAtomTypes)
19238 return particle ? Object.keys(particle.getParticle(ParsersConstants.enumFromAtomTypes)._getEnumFromAtomTypes(program)) : undefined
19239 }
19240 _getAutocompleteAtomOptions(program) {
19241 return this._getEnumOptions() || this._getEnumFromAtomTypeOptions(program) || []
19242 }

Callers 1

Calls 3

_getEnumFromAtomTypesMethod · 0.80
getParticleMethod · 0.45

Tested by

no test coverage detected