Add descriptions to transformation/transformers/es3/member-expression-literals
This commit is contained in:
parent
894c3fe481
commit
d67ba39d1c
@ -5,13 +5,28 @@ export var metadata = {
|
||||
};
|
||||
|
||||
/**
|
||||
* [Please add a description.]
|
||||
* Turn member expression reserved word properties into literals.
|
||||
*
|
||||
* @example
|
||||
*
|
||||
* **In**
|
||||
*
|
||||
* ```javascript
|
||||
* foo.catch;
|
||||
* ```
|
||||
*
|
||||
* **Out**
|
||||
*
|
||||
* ```javascript
|
||||
* foo["catch"];
|
||||
* ```
|
||||
*/
|
||||
|
||||
export var visitor = {
|
||||
|
||||
/**
|
||||
* [Please add a description.]
|
||||
* Look for non-computed properties with names that are not valid identifiers.
|
||||
* Turn them into computed properties with literal names.
|
||||
*/
|
||||
|
||||
MemberExpression: {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user