mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
Removing obsolete delete calls.
This commit is contained in:
committed by
Jeremy Ashkenas
parent
52e6399e02
commit
ae70d10996
@@ -460,7 +460,6 @@
|
|||||||
this.last = part;
|
this.last = part;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
del(o, 'chain_root');
|
|
||||||
if (op && this.wrapped) {
|
if (op && this.wrapped) {
|
||||||
return "(" + complete + ")";
|
return "(" + complete + ")";
|
||||||
} else {
|
} else {
|
||||||
@@ -550,7 +549,6 @@
|
|||||||
}).call(this).join(', ');
|
}).call(this).join(', ');
|
||||||
compilation = this.is_super ? this.compile_super(args, o) : ("" + (this.prefix()) + (this.variable.compile(o)) + "(" + args + ")");
|
compilation = this.is_super ? this.compile_super(args, o) : ("" + (this.prefix()) + (this.variable.compile(o)) + "(" + args + ")");
|
||||||
}
|
}
|
||||||
del(o, 'chain_root');
|
|
||||||
if (o.operation && this.wrapped) {
|
if (o.operation && this.wrapped) {
|
||||||
return "(" + compilation + ")";
|
return "(" + compilation + ")";
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -325,8 +325,6 @@ exports.ValueNode: class ValueNode extends BaseNode
|
|||||||
baseline: + part
|
baseline: + part
|
||||||
complete: + part
|
complete: + part
|
||||||
@last: part
|
@last: part
|
||||||
|
|
||||||
del o, 'chain_root'
|
|
||||||
|
|
||||||
if op and @wrapped then "($complete)" else complete
|
if op and @wrapped then "($complete)" else complete
|
||||||
|
|
||||||
@@ -387,7 +385,6 @@ exports.CallNode: class CallNode extends BaseNode
|
|||||||
args: (arg.compile(o) for arg in @args).join(', ')
|
args: (arg.compile(o) for arg in @args).join(', ')
|
||||||
compilation: if @is_super then @compile_super(args, o)
|
compilation: if @is_super then @compile_super(args, o)
|
||||||
else "${@prefix()}${@variable.compile(o)}($args)"
|
else "${@prefix()}${@variable.compile(o)}($args)"
|
||||||
del o, 'chain_root'
|
|
||||||
if o.operation and @wrapped then "($compilation)" else compilation
|
if o.operation and @wrapped then "($compilation)" else compilation
|
||||||
|
|
||||||
# `super()` is converted into a call against the superclass's implementation
|
# `super()` is converted into a call against the superclass's implementation
|
||||||
|
|||||||
Reference in New Issue
Block a user