public class ArgumentNode extends Node implements INameNode
ASSIGNMENT_BYTELIST, CLASS_VARIABLE_BYTELIST, CONSTANT_BYTELIST, EXPRESSION_BYTELIST, FALSE_BYTELIST, GLOBAL_VARIABLE_BYTELIST, INSTANCE_VARIABLE_BYTELIST, LOCAL_VARIABLE_BYTELIST, LOCAL_VARIABLE_IN_BLOCK_BYTELIST, METHOD_BYTELIST, NIL_BYTELIST, SELF_BYTELIST, SUPER_BYTELIST, TRUE_BYTELIST, YIELD_BYTELIST| Constructor and Description |
|---|
ArgumentNode(ISourcePosition position,
java.lang.String identifier) |
ArgumentNode(ISourcePosition position,
java.lang.String identifier,
int location) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(NodeVisitor visitor) |
java.util.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
|
java.lang.String |
getName() |
NodeType |
getNodeType() |
void |
setName(java.lang.String name) |
assign, createList, definition, getNodeName, getPosition, interpret, isInvisible, setPosition, toStringpublic ArgumentNode(ISourcePosition position, java.lang.String identifier)
public ArgumentNode(ISourcePosition position, java.lang.String identifier, int location)
public NodeType getNodeType()
getNodeType in class Nodepublic java.lang.Object accept(NodeVisitor visitor)
public int getDepth()
public int getIndex()
public void setName(java.lang.String name)
public java.util.List<Node> childNodes()
childNodes in class NodeCopyright © 2002-2009 JRuby Team. All Rights Reserved.