(idx file.Idx, into ast.ForInto)
| 599 | } |
| 600 | |
| 601 | func (self *_parser) parseForIn(idx file.Idx, into ast.ForInto) *ast.ForInStatement { |
| 602 | |
| 603 | // Already have consumed "<into> in" |
| 604 | |
| 605 | source := self.parseExpression() |
| 606 | self.expect(token.RIGHT_PARENTHESIS) |
| 607 | |
| 608 | return &ast.ForInStatement{ |
| 609 | For: idx, |
| 610 | Into: into, |
| 611 | Source: source, |
| 612 | Body: self.parseIterationStatement(), |
| 613 | } |
| 614 | } |
| 615 | |
| 616 | func (self *_parser) parseForOf(idx file.Idx, into ast.ForInto) *ast.ForOfStatement { |
| 617 |
no test coverage detected