github-pages-deploy-action/node_modules/jsx-ast-utils/lib/values/expressions/ThisExpression.js

15 lines
352 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08: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';
}