ThisExpression.js 352 B

123456789101112131415
  1. 'use strict';
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = extractValueFromThisExpression;
  6. /**
  7. * Extractor function for a ThisExpression type value node.
  8. * A this expression is using `this` as an identifier.
  9. *
  10. * @returns - 'this' as a string.
  11. */
  12. function extractValueFromThisExpression() {
  13. return 'this';
  14. }