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, toString, toStringInternal
public 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 Node
public <T> T accept(NodeVisitor<T> iVisitor)
public Node getArgsNode()
public List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2016 JRuby. All Rights Reserved.