WIP - add extractor, generate snippet_data
This commit is contained in:
15
node_modules/jsx-ast-utils/lib/values/expressions/ThisExpression.js
generated
vendored
Normal file
15
node_modules/jsx-ast-utils/lib/values/expressions/ThisExpression.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
'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';
|
||||
}
|
||||
Reference in New Issue
Block a user