class RubyRunJs::OPCODES::CALL_METHOD_DOT_NO_ARGS
Public Class Methods
new(prop)
click to toggle source
# File lib/ruby_run_js/opcodes.rb, line 688 def initialize(prop) @prop = prop end
Public Instance Methods
eval(ctx)
click to toggle source
# File lib/ruby_run_js/opcodes.rb, line 692 def eval(ctx) base = ctx.stack.pop() func = get_member_dot(base, @prop, ctx.builtin) return OPCODES.bytecode_call(ctx, func, base, []) end