* FuncContext }}} */
(context *funcContext, chunk []ast.Stmt, untilFollows bool)
| 616 | /* FuncContext }}} */ |
| 617 | |
| 618 | func compileChunk(context *funcContext, chunk []ast.Stmt, untilFollows bool) { // {{{ |
| 619 | for i, stmt := range chunk { |
| 620 | lastStmt := true |
| 621 | for j := i + 1; j < len(chunk); j++ { |
| 622 | _, ok := chunk[j].(*ast.LabelStmt) |
| 623 | if !ok { |
| 624 | lastStmt = false |
| 625 | break |
| 626 | } |
| 627 | } |
| 628 | compileStmt(context, stmt, lastStmt && !untilFollows) |
| 629 | } |
| 630 | } // }}} |
| 631 | |
| 632 | func compileBlock(context *funcContext, chunk []ast.Stmt) { // {{{ |
| 633 | if len(chunk) == 0 { |
no test coverage detected
searching dependent graphs…