public class MultipleAsgnNode extends AssignableNode
| Constructor and Description |
|---|
MultipleAsgnNode(ISourcePosition position,
ListNode pre,
Node rest) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
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() |
boolean |
needsDefinitionCheck()
Check whether the given node is considered always "defined" or whether it
has some form of definition check.
|
getValueNode, setValueNodecreateList, createList, createList, createList, findFirstChild, getNodeName, getPosition, isNil, setPosition, toString, toStringpublic MultipleAsgnNode(ISourcePosition position, ListNode pre, Node rest)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> 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 boolean needsDefinitionCheck()
NodeneedsDefinitionCheck in class NodeCopyright © 2001-2015 JRuby. All Rights Reserved.