the-forest/client/node_modules/jsx-ast-utils/lib/values/expressions/ThisExpression.js

15 lines
352 B
JavaScript
Raw Normal View History

2024-09-17 20:35:18 -04:00
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = extractValueFromThisExpression;
/**
* Extractor function for a ThisExpression type value node.
* A this expression is using `this` as an identifier.
*
* @returns - 'this' as a string.
*/
function extractValueFromThisExpression() {
return 'this';
}