public class MultipleAsgnNode extends AssignableNode
| Constructor and Description |
|---|
MultipleAsgnNode(ISourcePosition position,
ListNode pre,
Node rest) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
IRubyObject |
assign(Ruby runtime,
ThreadContext context,
IRubyObject self,
IRubyObject value,
Block block,
boolean checkArity) |
List<Node> |
childNodes() |
Node |
getArgsNode()
Gets the argsNode.
|
Arity |
getArity()
Number of arguments is dependent on headNodes size
|
ListNode |
getHeadNode()
Gets the headNode.
|
NodeType |
getNodeType() |
ListNode |
getPre() |
int |
getPreCount() |
Node |
getRest() |
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
definition, getValueNode, setValueNodecreateList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toStringpublic MultipleAsgnNode(ISourcePosition position, ListNode pre, Node rest)
public NodeType getNodeType()
getNodeType in class Nodepublic Object accept(NodeVisitor iVisitor)
public ListNode getHeadNode()
public ListNode getPre()
public int getPreCount()
public Node getArgsNode()
public Node getRest()
public Arity getArity()
getArity in interface IArityNodegetArity in class AssignableNodepublic List<Node> childNodes()
childNodes in class Nodepublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
public IRubyObject assign(Ruby runtime, ThreadContext context, IRubyObject self, IRubyObject value, Block block, boolean checkArity)
Copyright © 2001-2014 JRuby. All Rights Reserved.