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, definition, getNodeName, getPosition, setPosition, toStringpublic AliasNode(ISourcePosition position, Node newName, Node oldName)
public NodeType getNodeType()
getNodeType in class Nodepublic Object accept(NodeVisitor iVisitor)
public Node getNewName()
alias newName oldName public Node getOldName()
alias newName oldNamepublic List<Node> childNodes()
childNodes in class Nodepublic IRubyObject interpret(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
Copyright © 2001-2013 JRuby. All Rights Reserved.