public class AliasNode extends Node
alias newName oldName
).Constructor and Description |
---|
AliasNode(ISourcePosition position,
Node newName,
Node oldName) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor iVisitor)
Accept for the visitor pattern.
|
List<Node> |
childNodes() |
Node |
getNewName()
Gets the newName.
|
NodeType |
getNodeType() |
Node |
getOldName()
Gets the oldName.
|
IRubyObject |
interpret(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, isNil, setPosition, toString
public AliasNode(ISourcePosition position, Node newName, Node oldName)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor iVisitor)
public Node getNewName()
alias newName oldName
public Node getOldName()
alias newName oldName
public List<Node> childNodes()
childNodes
in class Node
public IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2014 JRuby. All Rights Reserved.