Index returns the next step index without incrementing (for branching).
()
| 81 | |
| 82 | // Index returns the next step index without incrementing (for branching). |
| 83 | func (w *StepWriter) Index() int { |
| 84 | if w == nil { |
| 85 | return 0 |
| 86 | } |
| 87 | return w.next |
| 88 | } |
no outgoing calls