class Minjs::ECMA262::ExpPostInc
Class of the Postfix increment operator expression element.
@see www.ecma-international.org/ecma-262 ECMA262
11.3.1
Public Class Methods
new(val)
click to toggle source
# File lib/minjs/ecma262/expression.rb, line 797 def initialize(val) @val = val end
Public Instance Methods
priority()
click to toggle source
@return [Fixnum] expression priority
# File lib/minjs/ecma262/expression.rb, line 807 def priority PRIORITY_POSTFIX end
sym()
click to toggle source
symbol of expression
# File lib/minjs/ecma262/expression.rb, line 802 def sym "++" end
to_js(options = {})
click to toggle source
Returns a ECMAScript string containg the representation of element. @see Base#to_js
# File lib/minjs/ecma262/expression.rb, line 813 def to_js(options = {}) concat options, @val, sym end