public class ArrayPatternNode extends Node
containsVariableAssignment, newline| Constructor and Description |
|---|
ArrayPatternNode(int line,
ListNode preArgs,
Node restArg,
ListNode postArgs) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> visitor) |
java.util.List<Node> |
childNodes() |
Node |
getConstant() |
NodeType |
getNodeType() |
ListNode |
getPostArgs() |
ListNode |
getPreArgs() |
Node |
getRestArg() |
boolean |
hasConstant() |
boolean |
hasRestArg() |
boolean |
isNamedRestArg() |
int |
minimumArgsNum() |
int |
postArgsNum() |
int |
preArgsNum() |
void |
setConstant(Node constant) |
void |
setPreArgs(ListNode preArgs) |
boolean |
usesRestNum() |
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewlinepublic <T> T accept(NodeVisitor<T> visitor)
public java.util.List<Node> childNodes()
childNodes in class Nodepublic NodeType getNodeType()
getNodeType in class Nodepublic void setConstant(Node constant)
public boolean hasConstant()
public Node getConstant()
public ListNode getPreArgs()
public ListNode getPostArgs()
public void setPreArgs(ListNode preArgs)
public Node getRestArg()
public boolean hasRestArg()
public boolean isNamedRestArg()
public boolean usesRestNum()
public int preArgsNum()
public int postArgsNum()
public int minimumArgsNum()
Copyright © 2001-2023 JRuby. All Rights Reserved.