newLocalVariable assigns a new JavaScript variable name for the given Go local variable name. In this context "local" means "in scope of the current" functionContext.
(name string)
| 266 | // local variable name. In this context "local" means "in scope of the current" |
| 267 | // functionContext. |
| 268 | func (fc *funcContext) newLocalVariable(name string) string { |
| 269 | return fc.newVariable(name, false) |
| 270 | } |
| 271 | |
| 272 | // newVariable assigns a new JavaScript variable name for the given Go variable |
| 273 | // or type. |
no test coverage detected