acorn-private-class-elements
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -0,3 +1,7 @@ | ||
## 0.1.1 (2019-02-09) | ||
* Add \_branch() method | ||
## 0.1.0 (2019-02-09) | ||
Initial release |
10
index.js
@@ -27,2 +27,12 @@ "use strict" | ||
Parser = class extends Parser { | ||
_branch() { | ||
this.__branch = this.__branch || new Parser({ecmaVersion: this.options.ecmaVersion}, this.input) | ||
this.__branch.end = this.end | ||
this.__branch.pos = this.pos | ||
this.__branch.type = this.type | ||
this.__branch.value = this.value | ||
this.__branch.containsEsc = this.containsEsc | ||
return this.__branch | ||
} | ||
parsePrivateClassElementName(element) { | ||
@@ -29,0 +39,0 @@ element.computed = false |
@@ -23,3 +23,3 @@ { | ||
}, | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"devDependencies": { | ||
@@ -26,0 +26,0 @@ "acorn": "^6.1.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17244
427