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

Method LocalVariable

code.go:143–146  ·  view source on GitHub ↗
(i int)

Source from the content-addressed store, hash-verified

141}
142
143func (f *function) LocalVariable(i int) *localVariable {
144 index := f.p.activeVariables[f.firstLocal+i]
145 return &f.f.localVariables[index]
146}
147
148func (f *function) AdjustLocalVariables(n int) {
149 for f.activeVariableCount += n; n != 0; n-- {

Callers 5

AdjustLocalVariablesMethod · 0.95
removeLocalVariablesMethod · 0.95
closeGotoMethod · 0.95
singleVariableHelperFunction · 0.80
localFunctionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected