Fix Parens

This commit is contained in:
Geoffrey Booth
2018-09-30 23:15:46 -07:00
parent ca04dd6e47
commit 3fbf76e135
2 changed files with 3 additions and 15 deletions

View File

@@ -5470,12 +5470,8 @@
}
}
astType() {
return this.body.unwrap().astType();
}
astProperties() {
return this.body.unwrap().astProperties();
ast() {
return this.body.unwrap().ast();
}
};
@@ -5486,8 +5482,6 @@
}).call(this);
// Dont unwrap for `astLocationData`; keep the location data of `Parens`.
//### StringWithInterpolations
exports.StringWithInterpolations = StringWithInterpolations = (function() {
class StringWithInterpolations extends Base {

View File

@@ -3668,13 +3668,7 @@ exports.Parens = class Parens extends Base
return @wrapInBraces fragments if @csxAttribute
if bare then fragments else @wrapInParentheses fragments
astType: ->
@body.unwrap().astType()
astProperties: ->
@body.unwrap().astProperties()
# Dont unwrap for `astLocationData`; keep the location data of `Parens`.
ast: -> @body.unwrap().ast()
#### StringWithInterpolations