Class: Minjs::ECMA262::ExpBitwiseNot

Inherits:
ExpArg1 show all
Includes:
UnaryOperation
Defined in:
lib/minjs/ecma262/exp.rb

Instance Attribute Summary

Attributes inherited from ExpArg1

#val

Instance Method Summary collapse

Methods included from UnaryOperation

#==, #add_paren, #remove_paren

Methods inherited from ExpArg1

#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::ExpArg1

Instance Method Details

#ecma262_typeofObject



665
666
667
# File 'lib/minjs/ecma262/exp.rb', line 665

def ecma262_typeof
  :number
end

#priorityObject



661
662
663
# File 'lib/minjs/ecma262/exp.rb', line 661

def priority
  PRIORITY_UNARY
end

#symObject



657
658
659
# File 'lib/minjs/ecma262/exp.rb', line 657

def sym
  "~"
end