Package org.jruby.ast
Class HashPatternNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.HashPatternNode
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(NodeVisitor<T> visitor) int
Node[]
getKeys()
boolean
boolean
boolean
boolean
void
setConstant
(Node constant) Methods inherited from class org.jruby.ast.Node
containsVariableAssignment, createList, createList, createList, createList, executesOnce, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewline
-
Constructor Details
-
HashPatternNode
-
-
Method Details
-
accept
-
childNodes
- Specified by:
childNodes
in classNode
-
getNodeType
- Specified by:
getNodeType
in classNode
- Returns:
- the nodeId
-
getConstant
-
setConstant
-
getArgumentSize
public int getArgumentSize() -
getRestArg
-
hasRestArg
public boolean hasRestArg() -
isNamedRestArg
public boolean isNamedRestArg() -
hasKeywordArgs
public boolean hasKeywordArgs() -
getKeywordArgs
-
getKeys
-
hashNamedKeywordRestArg
public boolean hashNamedKeywordRestArg()
-