public class EnsureNode extends Node
containsVariableAssignment, newline| Constructor and Description |
|---|
EnsureNode(ISourcePosition position,
Node bodyNode,
Node ensureNode) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
Node |
getBodyNode()
Gets the bodyNode.
|
Node |
getEnsureNode()
Gets the ensureNode.
|
NodeType |
getNodeType() |
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toStringpublic EnsureNode(ISourcePosition position, Node bodyNode, Node ensureNode)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public Node getBodyNode()
public Node getEnsureNode()
public List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2016 JRuby. All Rights Reserved.