mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-18 19:34:27 -05:00
cleaning up the grammar rule for Super
This commit is contained in:
@@ -371,10 +371,10 @@ exports.CallNode: class CallNode extends BaseNode
|
||||
children: ['variable', 'args']
|
||||
|
||||
constructor: (variable, args) ->
|
||||
@isNew: false
|
||||
@isSuper: variable is 'super'
|
||||
@variable: if @isSuper then null else variable
|
||||
@args: (args or [])
|
||||
@isNew: false
|
||||
@isSuper: variable is 'super'
|
||||
@variable: if @isSuper then null else variable
|
||||
@args: (args or [])
|
||||
@compileSplatArguments: (o) ->
|
||||
SplatNode.compileMixedArray.call(this, @args, o)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user