org.jruby.ast
Class DefnNode

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

public class DefnNode
extends AbstractNode

method definition node.

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

Constructor Summary
DefnNode(ISourcePosition position, java.lang.String name, INode argsNode, ScopeNode bodyNode, Visibility visibility)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
           
 INode getArgsNode()
          Gets the argsNode.
 ScopeNode getBodyNode()
          Gets the bodyNode.
 java.lang.String getName()
          Gets the name.
 Visibility getVisibility()
          Gets the noex.
 
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

DefnNode

public DefnNode(ISourcePosition position,
                java.lang.String name,
                INode argsNode,
                ScopeNode bodyNode,
                Visibility visibility)
Method Detail

accept

public void accept(INodeVisitor iVisitor)

getArgsNode

public INode getArgsNode()
Gets the argsNode.

Returns:
Returns a INode

getBodyNode

public ScopeNode getBodyNode()
Gets the bodyNode.

Returns:
Returns a ScopeNode

getName

public java.lang.String getName()
Gets the name.

Returns:
Returns a String

getVisibility

public Visibility getVisibility()
Gets the noex.

Returns:
Returns a int


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.