public class MultipleAsgnNode extends AssignableNode
containsVariableAssignment
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, setValueNode
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getNodeName, getPosition, isNil, setPosition, toString, toString
public MultipleAsgnNode(ISourcePosition position, ListNode pre, Node rest)
public NodeType getNodeType()
getNodeType
in class Node
public <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 IArityNode
getArity
in class AssignableNode
public List<Node> childNodes()
childNodes
in class Node
public boolean needsDefinitionCheck()
Node
needsDefinitionCheck
in class Node
Copyright © 2001-2015 JRuby. All Rights Reserved.