Package org.jruby.ast
Class RequiredKeywordArgumentValueNode
java.lang.Object
org.jruby.ast.Node
org.jruby.ast.RequiredKeywordArgumentValueNode
- All Implemented Interfaces:
InvisibleNode
Marker to indicate that rather than assigning nil (where in multiple
places we have nulls getting implicitly converted to nils) we should
raise an error.
MRI passes a -1 as a special value so we are doing something similar
but more explicit.
-
Field Summary
Fields inherited from class org.jruby.ast.Node
containsVariableAssignment, newline
-
Constructor Summary
Constructors -
Method Summary
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
-
RequiredKeywordArgumentValueNode
public RequiredKeywordArgumentValueNode()
-
-
Method Details
-
accept
-
childNodes
- Specified by:
childNodes
in classNode
-
getNodeType
- Specified by:
getNodeType
in classNode
- Returns:
- the nodeId
-