public class OrNode extends Node implements BinaryOperatorNode
containsVariableAssignment, newline| 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, isNewline, isNil, needsDefinitionCheck, setNewline, setPosition, toString, toStringpublic OrNode(ISourcePosition position, Node firstNode, Node secondNode)
public NodeType getNodeType()
getNodeType in class Nodepublic <T> T accept(NodeVisitor<T> iVisitor)
public Node getFirstNode()
getFirstNode in interface BinaryOperatorNodepublic Node getSecondNode()
getSecondNode in interface BinaryOperatorNodepublic List<Node> childNodes()
childNodes in class NodeCopyright © 2001-2015 JRuby. All Rights Reserved.