org.jruby.compiler.impl
Class InvokeDynamicInvocationCompiler

java.lang.Object
  extended by org.jruby.compiler.impl.StandardInvocationCompiler
      extended by org.jruby.compiler.impl.InvokeDynamicInvocationCompiler
All Implemented Interfaces:
InvocationCompiler

public class InvokeDynamicInvocationCompiler
extends StandardInvocationCompiler

Author:
headius

Field Summary
 
Fields inherited from class org.jruby.compiler.impl.StandardInvocationCompiler
method, methodCompiler
 
Constructor Summary
InvokeDynamicInvocationCompiler(BaseBodyCompiler methodCompiler, SkinnyMethodAdapter method)
           
 
Method Summary
 void invokeDynamic(java.lang.String name, CompilerCallback receiverCallback, ArgumentsCallback argsCallback, CallType callType, CompilerCallback closureArg, boolean iterator)
          Invoke the named method as a "function", i.e.
 
Methods inherited from class org.jruby.compiler.impl.StandardInvocationCompiler
getMethodAdapter, invokeAttrAssign, invokeAttrAssignMasgn, invokeBinaryFixnumRHS, invokeDynamicNoBlockSpecificArity, invokeDynamicNoBlockZero, invokeDynamicSelfNoBlockSpecificArity, invokeDynamicSelfNoBlockZero, invokeEqq, invokeOpAsgnWithAnd, invokeOpAsgnWithMethod, invokeOpAsgnWithOr, invokeOpElementAsgnWithMethod, opElementAsgnWithAnd, opElementAsgnWithMethod, opElementAsgnWithOr, setMethodAdapter, yield, yieldSpecific
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvokeDynamicInvocationCompiler

public InvokeDynamicInvocationCompiler(BaseBodyCompiler methodCompiler,
                                       SkinnyMethodAdapter method)
Method Detail

invokeDynamic

public void invokeDynamic(java.lang.String name,
                          CompilerCallback receiverCallback,
                          ArgumentsCallback argsCallback,
                          CallType callType,
                          CompilerCallback closureArg,
                          boolean iterator)
Description copied from interface: InvocationCompiler
Invoke the named method as a "function", i.e. as a method on the current "self" object, using the specified argument count. It is expected that previous calls to the compiler has prepared the exact number of argument values necessary for this call. Those values will be consumed, and the result of the call will be generated.

Specified by:
invokeDynamic in interface InvocationCompiler
Overrides:
invokeDynamic in class StandardInvocationCompiler


Copyright © 2002-2009 JRuby Team. All Rights Reserved.