org.jruby.ast
Class DefinedNode

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

public class DefinedNode
extends AbstractNode

a defined statement.

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

Constructor Summary
DefinedNode(ISourcePosition position, INode expressionNode)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
          Accept for the visitor pattern.
 INode getExpressionNode()
          Gets the expressionNode.
 
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

DefinedNode

public DefinedNode(ISourcePosition position,
                   INode expressionNode)
Method Detail

accept

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

Parameters:
iVisitor - the visitor

getExpressionNode

public INode getExpressionNode()
Gets the expressionNode.

Returns:
Returns a INode


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.