public class ArgumentNode extends Node implements INameNode
Constructor and Description |
---|
ArgumentNode(ISourcePosition position,
String identifier) |
ArgumentNode(ISourcePosition position,
String identifier,
int location) |
Modifier and Type | Method and Description |
---|---|
Object |
accept(NodeVisitor visitor) |
List<Node> |
childNodes() |
int |
getDepth()
How many scopes should we burrow down to until we need to set the block variable value.
|
int |
getIndex()
Gets the index within the scope construct that actually holds the eval'd value
of this local variable
|
String |
getName() |
NodeType |
getNodeType() |
void |
setName(String name) |
assign, createList, createList, createList, createList, definition, getNodeName, getPosition, interpret, isNil, setPosition, toString
public ArgumentNode(ISourcePosition position, String identifier)
public ArgumentNode(ISourcePosition position, String identifier, int location)
public NodeType getNodeType()
getNodeType
in class Node
public Object accept(NodeVisitor visitor)
public int getDepth()
public int getIndex()
public void setName(String name)
public List<Node> childNodes()
childNodes
in class Node
Copyright © 2001-2014 JRuby. All Rights Reserved.