Package org.jruby.ast

Class VAliasNode

java.lang.Object
org.jruby.ast.Node
org.jruby.ast.VAliasNode

public class VAliasNode extends Node
Represents an alias of a global variable.
  • Constructor Details

  • Method Details

    • getNodeType

      public NodeType getNodeType()
      Specified by:
      getNodeType in class Node
      Returns:
      the nodeId
    • accept

      public <T> T accept(NodeVisitor<T> iVisitor)
      Accept for the visitor pattern.
      Specified by:
      accept in class Node
      Parameters:
      iVisitor - the visitor
    • getNewName

      public RubySymbol getNewName()
      Gets the newName.
      Returns:
      Returns a String
    • getOldName

      public RubySymbol getOldName()
      Gets the oldName.
      Returns:
      Returns a String
    • childNodes

      public List<Node> childNodes()
      Specified by:
      childNodes in class Node