org.jruby.ast
Class YieldNode

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

public class YieldNode
extends AbstractNode

Represents a yield statement.

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

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

YieldNode

public YieldNode(ISourcePosition position,
                 INode argsNode)
Method Detail

accept

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

Parameters:
iVisitor - the visitor

getArgsNode

public INode getArgsNode()
Gets the argsNode.

Returns:
Returns a Node


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.