MCPcopy Index your code
hub / github.com/Shopify/go-lua / writeLocalVariables

Method writeLocalVariables

dump.go:108–116  ·  view source on GitHub ↗
(p *prototype)

Source from the content-addressed store, hash-verified

106}
107
108func (d *dumpState) writeLocalVariables(p *prototype) {
109 d.writeInt(len(p.localVariables))
110
111 for _, lv := range p.localVariables {
112 d.writeString(lv.name)
113 d.writePC(lv.startPC)
114 d.writePC(lv.endPC)
115 }
116}
117
118func (d *dumpState) writeDebug(p *prototype) {
119 d.writeString(p.source)

Callers 1

writeDebugMethod · 0.95

Calls 3

writeIntMethod · 0.95
writeStringMethod · 0.95
writePCMethod · 0.95

Tested by

no test coverage detected