public class ArgsPreTwoArgNode extends ArgsNode
arity, hasKwargs, hasMasgnArgs, hasOptArgs, isSimple, maxArgsCount, restArg, restArgNode
Constructor and Description |
---|
ArgsPreTwoArgNode(ISourcePosition position,
ListNode pre) |
Modifier and Type | Method and Description |
---|---|
void |
checkArgCount(Ruby runtime,
int length) |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args,
Block block) |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
Block block) |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
Block block) |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
Block block) |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
Block block) |
accept, assignKwargs, assignOptArgs, calculateArity, checkArgCount, childNodes, getArgs, getArity, getBlock, getBlockArgNode, getKeyRest, getKeywords, getMaxArgumentsCount, getNodeType, getOptArgs, getOptionalArgsCount, getPost, getPostCount, getPostIndex, getPre, getPreCount, getRequiredArgsCount, getRestArg, getRestArgNode, hasMasgnArgs, prepare, prepare, prepare, prepare, prepare, prepare, prepare, prepareOptionalArguments, prepareOptOrRestArgs, prepareRestArg, processBlockArg
assign, createList, definition, getNodeName, getPosition, interpret, setPosition, toString
public ArgsPreTwoArgNode(ISourcePosition position, ListNode pre)
public void checkArgCount(Ruby runtime, int length)
checkArgCount
in class ArgsNode
public void prepare(ThreadContext context, Ruby runtime, IRubyObject self, IRubyObject[] args, Block block)
public void prepare(ThreadContext context, Ruby runtime, IRubyObject self, IRubyObject arg0, Block block)
public void prepare(ThreadContext context, Ruby runtime, IRubyObject self, IRubyObject arg0, IRubyObject arg1, Block block)
public void prepare(ThreadContext context, Ruby runtime, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, Block block)
public void prepare(ThreadContext context, Ruby runtime, IRubyObject self, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3, Block block)
Copyright © 2001-2013 JRuby. All Rights Reserved.