* Gets variable info. * @param {string} name variable name * @returns {ExportedVariableInfo} info for this variable
(name)
| 5530 | * @returns {ExportedVariableInfo} info for this variable |
| 5531 | */ |
| 5532 | getVariableInfo(name) { |
| 5533 | const value = this.scope.definitions.get(name); |
| 5534 | if (value === undefined) { |
| 5535 | return name; |
| 5536 | } |
| 5537 | return value; |
| 5538 | } |
| 5539 | |
| 5540 | /** |
| 5541 | * Updates variable using the provided name. |
no test coverage detected