()
| 884 | } |
| 885 | |
| 886 | func (self *_parser) parseProgram() *ast.Program { |
| 887 | prg := &ast.Program{ |
| 888 | Body: self.parseSourceElements(), |
| 889 | DeclarationList: self.scope.declarationList, |
| 890 | File: self.file, |
| 891 | } |
| 892 | self.file.SetSourceMap(self.parseSourceMap()) |
| 893 | return prg |
| 894 | } |
| 895 | |
| 896 | func extractSourceMapLine(str string) string { |
| 897 | for { |
no test coverage detected