MCPcopy Create free account
hub / github.com/yuin/gopher-lua / GetNamedLabel

Method GetNamedLabel

compile.go:454–456  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

452}
453
454func (fc *funcContext) GetNamedLabel(name string) *gotoLabelDesc {
455 return fc.Block.GetLabel(name)
456}
457
458func (fc *funcContext) ResolveGoto(from, to *gotoLabelDesc, index int) {
459 if from.NumActiveLocalVars < to.NumActiveLocalVars {

Callers

nothing calls this directly

Calls 1

GetLabelMethod · 0.80

Tested by

no test coverage detected