public class EnsureNode extends Node
containsVariableAssignment
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, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toString
public EnsureNode(ISourcePosition position, Node bodyNode, Node ensureNode)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public Node getBodyNode()
public Node getEnsureNode()
public List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2015 JRuby. All Rights Reserved.