(f closure)
| 272 | } |
| 273 | |
| 274 | func (l *State) collectValidLines(f closure) { |
| 275 | if lc, ok := f.(*luaClosure); !ok { |
| 276 | l.apiPush(nil) |
| 277 | } else { |
| 278 | t := newTable() |
| 279 | l.apiPush(t) |
| 280 | for _, i := range lc.prototype.lineInfo { |
| 281 | t.putAtInt(int(i), true) |
| 282 | } |
| 283 | } |
| 284 | } |
| 285 | |
| 286 | // Info gets information about a specific function or function invocation. |
| 287 | // |