public class YieldNode extends Node
containsVariableAssignment, newline| Constructor and Description | 
|---|
YieldNode(ISourcePosition position,
         Node argsNode)
Construct a new YieldNode. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T> T | 
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern. 
 | 
List<Node> | 
childNodes()  | 
Node | 
getArgsNode()
Gets the argsNode. 
 | 
NodeType | 
getNodeType()  | 
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toStringpublic YieldNode(ISourcePosition position, Node argsNode)
position - 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 List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2015 JRuby. All Rights Reserved.