()
| 134 | } |
| 135 | |
| 136 | func (s *valueStringTree) flattenToLeft() { |
| 137 | if s.right != nil { |
| 138 | result := make([]rune, 0, s.len) |
| 139 | buildFullString(s, &result) |
| 140 | s.left = makeStringFromRunes(result) |
| 141 | s.right = nil |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | func (s *valueStringTree) index(i *interpreter, index int) (value, error) { |
| 146 | if 0 <= index && index < s.len { |
no test coverage detected