Methods
Modifier and Type |
Method and Description |
java.lang.Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
protected int |
assignOptArgs(IRubyObject[] args,
Ruby runtime,
ThreadContext context,
IRubyObject self,
int givenArgsCount) |
protected Arity |
calculateArity() |
void |
checkArgCount(Ruby runtime,
int argsLength) |
java.util.List<Node> |
childNodes() |
ListNode |
getArgs()
Deprecated.
|
Arity |
getArity() |
BlockArgNode |
getBlock()
Gets the explicit block argument of the parameter list (&block).
|
BlockArgNode |
getBlockArgNode()
Deprecated.
|
int |
getMaxArgumentsCount() |
NodeType |
getNodeType() |
ListNode |
getOptArgs()
Gets the optArgs.
|
int |
getOptionalArgsCount() |
ListNode |
getPost() |
int |
getPostCount() |
int |
getPostIndex() |
ListNode |
getPre()
Gets the required arguments at the beginning of the argument definition
|
int |
getPreCount() |
int |
getRequiredArgsCount() |
int |
getRestArg()
Gets the restArg.
|
ArgumentNode |
getRestArgNode()
Gets the restArgNode.
|
protected boolean |
hasMasgnArgs() |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
Block block) |
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) |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
Block block) |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
Block block) |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
Block block) |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
IRubyObject arg7,
Block block) |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
IRubyObject arg7,
IRubyObject arg8,
Block block) |
void |
prepare(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject arg0,
IRubyObject arg1,
IRubyObject arg2,
IRubyObject arg3,
IRubyObject arg4,
IRubyObject arg5,
IRubyObject arg6,
IRubyObject arg7,
IRubyObject arg8,
IRubyObject arg9,
Block block) |
protected int |
prepareOptionalArguments(ThreadContext context,
Ruby runtime,
IRubyObject self,
IRubyObject[] args) |
protected void |
prepareOptOrRestArgs(ThreadContext context,
Ruby runtime,
DynamicScope scope,
IRubyObject self,
IRubyObject[] args) |
protected void |
prepareRestArg(ThreadContext context,
Ruby runtime,
DynamicScope scope,
IRubyObject[] args,
int givenArgsCount) |
protected void |
processBlockArg(DynamicScope scope,
Ruby runtime,
Block block) |