(got, base exprForm, suffix string)
| 468 | } |
| 469 | |
| 470 | func sameExprFormWithSuffix(got, base exprForm, suffix string) bool { |
| 471 | if got.root != nil && base.root != nil { |
| 472 | return got.root == base.root && got.suffix == base.suffix+suffix |
| 473 | } |
| 474 | return got.text == base.text+suffix |
| 475 | } |
| 476 | |
| 477 | func exprFormFor(pass *analysis.Pass, expr ast.Expr) exprForm { |
| 478 | text := exprString(expr) |