public class OrNode extends Node implements BinaryOperatorNode
containsVariableAssignment
Constructor and Description |
---|
OrNode(ISourcePosition position,
Node firstNode,
Node secondNode) |
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(NodeVisitor<T> iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
Node |
getFirstNode()
Gets the firstNode.
|
NodeType |
getNodeType() |
Node |
getSecondNode()
Gets the secondNode.
|
containsVariableAssignment, createList, createList, createList, createList, findFirstChild, getLine, getNodeName, getPosition, isNil, needsDefinitionCheck, setPosition, toString, toString
public OrNode(ISourcePosition position, Node firstNode, Node secondNode)
public NodeType getNodeType()
getNodeType
in class Node
public <T> T accept(NodeVisitor<T> iVisitor)
public Node getFirstNode()
getFirstNode
in interface BinaryOperatorNode
public Node getSecondNode()
getSecondNode
in interface BinaryOperatorNode
public List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2015 JRuby. All Rights Reserved.