Class: Minjs::ECMA262::ExpComma

Inherits:
ExpArg2 show all
Includes:
BinaryOperation
Defined in:
lib/minjs/ecma262/exp.rb

Overview

Comma Operator ( , )

Instance Attribute Summary

Attributes inherited from ExpArg2

#val, #val2

Instance Method Summary collapse

Methods included from BinaryOperation

#==, #add_paren, #remove_paren

Methods inherited from ExpArg2

#deep_dup, #initialize, #replace, #to_js, #traverse

Methods inherited from Exp

#reduce, #to_js, #traverse

Methods inherited from Base

#==, #concat, #deep_dup, #replace, #to_js, #to_s

Constructor Details

This class inherits a constructor from Minjs::ECMA262::ExpArg2

Instance Method Details

#priorityObject



1469
1470
1471
# File 'lib/minjs/ecma262/exp.rb', line 1469

def priority
  PRIORITY_COMMA
end

#symObject



1465
1466
1467
# File 'lib/minjs/ecma262/exp.rb', line 1465

def sym
  ","
end