MCPcopy Create free account
hub / github.com/microsoft/typescript-go / Values

Method Values

internal/sourcemap/decoder.go:75–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73}
74
75func (d *MappingsDecoder) Values() iter.Seq[*Mapping] {
76 return func(yield func(*Mapping) bool) {
77 for value, done := d.Next(); !done; value, done = d.Next() {
78 if !yield(value) {
79 break
80 }
81 }
82 }
83}
84
85func (d *MappingsDecoder) Next() (value *Mapping, done bool) {
86 for !d.done && d.pos < len(d.mappings) {

Callers 1

Calls 2

NextMethod · 0.95
yieldFunction · 0.50

Tested by

no test coverage detected