(p *prototype)
| 116 | } |
| 117 | |
| 118 | func (d *dumpState) writeDebug(p *prototype) { |
| 119 | d.writeString(p.source) |
| 120 | d.writeInt(len(p.lineInfo)) |
| 121 | d.write(p.lineInfo) |
| 122 | d.writeLocalVariables(p) |
| 123 | |
| 124 | d.writeInt(len(p.upValues)) |
| 125 | |
| 126 | for _, uv := range p.upValues { |
| 127 | d.writeString(uv.name) |
| 128 | } |
| 129 | } |
| 130 | |
| 131 | func (d *dumpState) dumpFunction(p *prototype) { |
| 132 | d.writeInt(p.lineDefined) |
no test coverage detected