Lines Matching full:exprs
35 for _, exprs := range comm {
36 op.checkRedundant(f, exprs)
37 op.checkSuspect(f, exprs)
57 exprs := op.split(e)
62 for j := 0; j <= len(exprs); j++ {
63 if j == len(exprs) || hasSideEffects(exprs[j]) {
65 sets = append(sets, exprs[i:j])
77 // Exprs must contain only side effect free expressions.
78 func (op boolOp) checkRedundant(f *File, exprs []ast.Expr) {
80 for _, e := range exprs {
96 // Exprs must contain only side effect free expressions.
97 func (op boolOp) checkSuspect(f *File, exprs []ast.Expr) {
101 for _, e := range exprs {
163 func (op boolOp) split(e ast.Expr) (exprs []ast.Expr) {
167 exprs = append(exprs, op.split(b.Y)...)
170 exprs = append(exprs, e)