(depth int)
| 339 | } |
| 340 | |
| 341 | func sliceNode(depth int) string { |
| 342 | return oneOf(list[string]{ |
| 343 | {fmt.Sprintf("%v[%v:%v]", node(depth-1), node(depth-1), node(depth-1)), 100}, |
| 344 | {fmt.Sprintf("%v[%v:]", node(depth-1), node(depth-1)), 100}, |
| 345 | {fmt.Sprintf("%v[:%v]", node(depth-1), node(depth-1)), 100}, |
| 346 | {fmt.Sprintf("%v[:]", node(depth-1)), 1}, |
| 347 | }) |
| 348 | } |
| 349 | |
| 350 | func conditionalNode(depth int) string { |
| 351 | return oneOf(list[string]{ |