MCPcopy Index your code
hub / github.com/yuin/gopher-lua / Register

Method Register

compile.go:349–352  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

347}
348
349func (vp *varNamePool) Register(name string) int {
350 vp.names = append(vp.names, name)
351 return len(vp.names) - 1 + vp.offset
352}
353
354/* }}} VarNamePool */
355

Callers 2

RegisterUniqueMethod · 0.95
RegisterLocalVarMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected