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> Taccept(NodeVisitor<T> visitor) intNode[]getKeys()booleanbooleanbooleanbooleanvoidsetConstant(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:
childNodesin classNode
-
getNodeType
- Specified by:
getNodeTypein 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()
-