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, setValueNode
createList, createList, createList, createList, getNodeName, getPosition, isNil, setPosition, toString
public MultipleAsgnNode(ISourcePosition position, ListNode pre, Node rest)
public NodeType getNodeType()
getNodeType
in class Node
public 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 IArityNode
getArity
in class AssignableNode
public List<Node> childNodes()
childNodes
in class Node
public 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.