(node ast.Node)
| 231 | } |
| 232 | |
| 233 | func extractMySQLLimit(node ast.Node) int { |
| 234 | limit, ok := node.(*ast.IntLit) |
| 235 | if !ok { |
| 236 | return -1 |
| 237 | } |
| 238 | return int(limit.Value) |
| 239 | } |
| 240 | |
| 241 | func nodeLocOf(node ast.Node) ast.Loc { |
| 242 | return mysqlNodeLoc(node) |
no outgoing calls
no test coverage detected