Package org.jruby.ir.targets.simple
Class NormalYieldCompiler
java.lang.Object
org.jruby.ir.targets.simple.NormalYieldCompiler
- All Implemented Interfaces:
YieldCompiler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
yield
(boolean unwrap) Yield argument list to a block.void
Yield to a block.void
yieldValues
(int arity) Yield a number of flat arguments to a block.
-
Constructor Details
-
NormalYieldCompiler
-
-
Method Details
-
yield
public void yield(boolean unwrap) Description copied from interface:YieldCompiler
Yield argument list to a block.Stack required: context, block, argument
- Specified by:
yield
in interfaceYieldCompiler
-
yieldSpecific
public void yieldSpecific()Description copied from interface:YieldCompiler
Yield to a block.Stack required: context, block
- Specified by:
yieldSpecific
in interfaceYieldCompiler
-
yieldValues
public void yieldValues(int arity) Description copied from interface:YieldCompiler
Yield a number of flat arguments to a block.Stack required: context, block
- Specified by:
yieldValues
in interfaceYieldCompiler
-