public class YieldNode extends Node
containsVariableAssignment, newline| Constructor and Description |
|---|
YieldNode(int line,
Node argsNode)
Construct a new YieldNode.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
java.util.List<Node> |
childNodes() |
Node |
getArgsNode()
Gets the argsNode.
|
NodeType |
getNodeType() |
containsVariableAssignment, createList, createList, createList, createList, executesOnce, findFirstChild, getFile, getLine, getNodeName, isNewline, isNil, needsDefinitionCheck, setLine, setNewline, toString, toString, toStringExtraInfo, toStringInternal, unsetNewlinepublic YieldNode(int line,
Node argsNode)
line - position of the node in the sourceargsNode - the arguments to the yield (null == no args)public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public Node getArgsNode()
public java.util.List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2022 JRuby. All Rights Reserved.