(offset int, format string, args ...interface{})
| 1286 | } |
| 1287 | |
| 1288 | func (c *compiler) throwSyntaxErrorf(offset int, format string, args ...interface{}) { |
| 1289 | panic(&CompilerSyntaxError{ |
| 1290 | CompilerError: CompilerError{ |
| 1291 | File: c.p.src, |
| 1292 | Offset: offset, |
| 1293 | Message: fmt.Sprintf(format, args...), |
| 1294 | }, |
| 1295 | }) |
| 1296 | } |
| 1297 | |
| 1298 | func (c *compiler) isStrict(list []ast.Statement) *ast.StringLiteral { |
| 1299 | for _, st := range list { |
no outgoing calls
no test coverage detected