MCPcopy
hub / github.com/postcss/postcss / getIterator

Method getIterator

lib/container.js:77–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75 }
76
77 getIterator() {
78 if (!this.lastEach) this.lastEach = 0
79 if (!this.indexes) this.indexes = {}
80
81 this.lastEach += 1
82 let iterator = this.lastEach
83 this.indexes[iterator] = 0
84
85 return iterator
86 }
87
88 getProxyProcessor() {
89 return {

Callers 2

eachMethod · 0.95
visitTickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected