org.jruby.ast
Class OrNode

java.lang.Object
  extended byorg.jruby.ast.AbstractNode
      extended byorg.jruby.ast.OrNode
All Implemented Interfaces:
INode, java.io.Serializable

public class OrNode
extends AbstractNode

Version:
$Revision: 1.4 $
Author:
jpetersen
See Also:
Serialized Form

Constructor Summary
OrNode(ISourcePosition position, INode firstNode, INode secondNode)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
          Accept for the visitor pattern.
 INode getFirstNode()
          Gets the firstNode.
 INode getSecondNode()
          Gets the secondNode.
 
Methods inherited from class org.jruby.ast.AbstractNode
getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrNode

public OrNode(ISourcePosition position,
              INode firstNode,
              INode secondNode)
Method Detail

accept

public void accept(INodeVisitor iVisitor)
Accept for the visitor pattern.

Parameters:
iVisitor - the visitor

getFirstNode

public INode getFirstNode()
Gets the firstNode.

Returns:
Returns a INode

getSecondNode

public INode getSecondNode()
Gets the secondNode.

Returns:
Returns a INode


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.