class Minjs::ECMA262::ExpIn

Class of the in operator expression element.

@see www.ecma-international.org/ecma-262 ECMA262 11.8

Public Class Methods

new(val, val2) click to toggle source
# File lib/minjs/ecma262/expression.rb, line 1553
def initialize(val, val2)
  @val = val
  @val2 = val2
end

Public Instance Methods

ecma262_typeof() click to toggle source

return results of ‘typeof’ operator.

@return [Symbol] :boolean

# File lib/minjs/ecma262/expression.rb, line 1571
def ecma262_typeof
  :boolean
end
priority() click to toggle source

@return [Fixnum] expression priority

# File lib/minjs/ecma262/expression.rb, line 1564
def priority
  PRIORITY_RELATIONAL
end
sym() click to toggle source

symbol of expression

# File lib/minjs/ecma262/expression.rb, line 1559
def sym
  "in"
end