15 lines
352 B
JavaScript
15 lines
352 B
JavaScript
|
'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';
|
||
|
}
|