()
| 534 | return v |
| 535 | } |
| 536 | func (fc *funcContext) BlockLocalVarsCount() int { |
| 537 | count := 0 |
| 538 | for block := fc.Block; block != nil; block = block.Parent { |
| 539 | count += len(block.LocalVars.Names()) |
| 540 | } |
| 541 | return count |
| 542 | } |
| 543 | |
| 544 | func (fc *funcContext) RegisterLocalVar(name string) int { |
| 545 | ret := fc.Block.LocalVars.Register(name) |
no test coverage detected