Searched refs:val1 (Results 1 – 1 of 1) sorted by relevance
40 func addValues(val1, val2 bpparser.Expression) (bpparser.Expression, error) { argument41 if val1 == nil {45 if val1.Type() == bpparser.StringType && val2.Type() == bpparser.ListType {46 val1 = &bpparser.List{47 Values: []bpparser.Expression{val1},49 } else if val2.Type() == bpparser.StringType && val1.Type() == bpparser.ListType {51 Values: []bpparser.Expression{val1},53 } else if val1.Type() != val2.Type() {59 Args: [2]bpparser.Expression{val1, val2},