public class HashPatternNode extends Node
containsVariableAssignment, newline| Constructor and Description |
|---|
HashPatternNode(int line,
Node restArg,
HashNode keywordArgs) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> visitor) |
java.util.List<Node> |
childNodes() |
int |
getArgumentSize() |
Node |
getConstant() |
java.util.List |
getKeys() |
HashNode |
getKeywordArgs() |
NodeType |
getNodeType() |
Node |
getRestArg() |
boolean |
hashNamedKeywordRestArg() |
boolean |
hasKeywordArgs() |
boolean |
hasRestArg() |
boolean |
isNamedRestArg() |
void |
setConstant(Node constant) |
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 Node getConstant()
public void setConstant(Node constant)
public int getArgumentSize()
public Node getRestArg()
public boolean hasRestArg()
public boolean isNamedRestArg()
public boolean hasKeywordArgs()
public HashNode getKeywordArgs()
public java.util.List getKeys()
public boolean hashNamedKeywordRestArg()
Copyright © 2001-2023 JRuby. All Rights Reserved.