public class Interpreted19Block extends ContextAwareBlockBody
arity, scope
ANON_REST_PARAMETER_LIST, argumentType, ARRAY, EMPTY_PARAMETER_LIST, MULTIPLE_ASSIGNMENT, NULL_BODY, SINGLE_RESTARG, ZERO_ARGS
Constructor and Description |
---|
Interpreted19Block(IterNode iterNode) |
Interpreted19Block(LambdaNode lambdaNode) |
arity, getStaticScope, post, pre, setStaticScope
asArgumentType, call, call, call, call, call, call, call, call, getArgumentType, getArgumentTypeWackyHack, isGiven, newArgsArrayFromArgsWithoutUnbox, newArgsArrayFromArgsWithUnbox, prepareArgumentsForCall, yield
public Interpreted19Block(IterNode iterNode)
public Interpreted19Block(LambdaNode lambdaNode)
public static Block newInterpretedClosure(ThreadContext context, BlockBody body, IRubyObject self)
public IRubyObject call(ThreadContext context, IRubyObject[] args, Binding binding, Block.Type type)
public IRubyObject call(ThreadContext context, IRubyObject[] args, Binding binding, Block.Type type, Block block)
public IRubyObject yieldSpecific(ThreadContext context, Binding binding, Block.Type type)
yieldSpecific
in class BlockBody
public IRubyObject yieldSpecific(ThreadContext context, IRubyObject arg0, Binding binding, Block.Type type)
yieldSpecific
in class BlockBody
public IRubyObject yieldSpecific(ThreadContext context, IRubyObject arg0, IRubyObject arg1, Binding binding, Block.Type type)
yieldSpecific
in class BlockBody
public IRubyObject yieldSpecific(ThreadContext context, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Binding binding, Block.Type type)
yieldSpecific
in class BlockBody
public IRubyObject yield(ThreadContext context, IRubyObject value, Binding binding, Block.Type type)
public IRubyObject yield(ThreadContext context, IRubyObject value, IRubyObject self, RubyModule klass, boolean aValue, Binding binding, Block.Type type)
public IRubyObject yield(ThreadContext context, IRubyObject value, IRubyObject self, RubyModule klass, boolean aValue, Binding binding, Block.Type type, Block block)
public ArgsNode getArgs()
public Node getBody()
public String getFile()
BlockBody
public int getLine()
BlockBody
public String[] getParameterList()
getParameterList
in class BlockBody
Copyright © 2001-2016 JRuby. All Rights Reserved.