()
| 160 | } |
| 161 | |
| 162 | func (o *Array) String() string { |
| 163 | var elements []string |
| 164 | for _, e := range o.Value { |
| 165 | elements = append(elements, e.String()) |
| 166 | } |
| 167 | return fmt.Sprintf("[%s]", strings.Join(elements, ", ")) |
| 168 | } |
| 169 | |
| 170 | // BinaryOp returns another object that is the result of a given binary |
| 171 | // operator and a right-hand side object. |