class RubyRunJs::OPCODES::LOAD_MEMBER_DOT
Public Class Methods
new(prop)
click to toggle source
# File lib/ruby_run_js/opcodes.rb, line 454 def initialize(prop) @prop = prop end
Public Instance Methods
eval(ctx)
click to toggle source
# File lib/ruby_run_js/opcodes.rb, line 458 def eval(ctx) obj = ctx.stack.pop() ctx.stack.append(get_member_dot(obj, @prop, ctx.builtin)) nil end