org.jruby.ast
Class VAliasNode

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

public class VAliasNode
extends AbstractNode

Represents an alias of a global variable.

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

Constructor Summary
VAliasNode(ISourcePosition position, java.lang.String newName, java.lang.String oldName)
           
 
Method Summary
 void accept(INodeVisitor iVisitor)
          Accept for the visitor pattern.
 java.lang.String getNewName()
          Gets the newName.
 java.lang.String getOldName()
          Gets the oldName.
 
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

VAliasNode

public VAliasNode(ISourcePosition position,
                  java.lang.String newName,
                  java.lang.String oldName)
Method Detail

accept

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

Parameters:
iVisitor - the visitor

getNewName

public java.lang.String getNewName()
Gets the newName.

Returns:
Returns a String

getOldName

public java.lang.String getOldName()
Gets the oldName.

Returns:
Returns a String


Copyright © 2002 Jan Arne Petersen. All Rights Reserved.