}}}
(context *funcContext, expr ast.Expr)
| 1755 | } // }}} |
| 1756 | |
| 1757 | func getExprName(context *funcContext, expr ast.Expr) string { // {{{ |
| 1758 | switch ex := expr.(type) { |
| 1759 | case *ast.IdentExpr: |
| 1760 | return ex.Value |
| 1761 | case *ast.AttrGetExpr: |
| 1762 | switch kex := ex.Key.(type) { |
| 1763 | case *ast.StringExpr: |
| 1764 | return kex.Value |
| 1765 | } |
| 1766 | return "?" |
| 1767 | } |
| 1768 | return "?" |
| 1769 | } // }}} |
| 1770 | |
| 1771 | func patchCode(context *funcContext) { // {{{ |
| 1772 | maxreg := 1 |
no outgoing calls
no test coverage detected
searching dependent graphs…