(from, to file.Idx)
| 1415 | } |
| 1416 | |
| 1417 | func (self *_parser) checkComma(from, to file.Idx) { |
| 1418 | if pos := strings.IndexByte(self.str[int(from)-self.base:int(to)-self.base], ','); pos >= 0 { |
| 1419 | self.error(from+file.Idx(pos), "Comma is not allowed here") |
| 1420 | } |
| 1421 | } |
| 1422 | |
| 1423 | func (self *_parser) reinterpretAsArrayAssignmentPattern(left *ast.ArrayLiteral) ast.Expression { |
| 1424 | value := left.Value |
no test coverage detected