stepEmpty steps runq to nextq expanding according to flag.
(runq, nextq *sparse.Set, flag syntax.EmptyOp)
| 146 | |
| 147 | // stepEmpty steps runq to nextq expanding according to flag. |
| 148 | func (m *matcher) stepEmpty(runq, nextq *sparse.Set, flag syntax.EmptyOp) { |
| 149 | nextq.Reset() |
| 150 | for _, id := range runq.Dense() { |
| 151 | m.addq(nextq, id, flag) |
| 152 | } |
| 153 | } |
| 154 | |
| 155 | // stepByte steps runq to nextq consuming c and then expanding according to flag. |
| 156 | // It returns true if a match ends immediately before c. |
no test coverage detected