public abstract class AssignableNode extends Node implements IArityNode
Constructor and Description |
---|
AssignableNode(ISourcePosition position) |
AssignableNode(ISourcePosition position,
Node valueNode) |
Modifier and Type | Method and Description |
---|---|
RubyString |
definition(Ruby runtime,
ThreadContext context,
IRubyObject self,
Block aBlock) |
Arity |
getArity()
Almost all assignables are only assigned a single value.
|
Node |
getValueNode()
Gets the valueNode.
|
void |
setValueNode(Node valueNode)
Sets the valueNode.
|
accept, assign, childNodes, createList, createList, createList, createList, getNodeName, getNodeType, getPosition, interpret, isNil, setPosition, toString
public AssignableNode(ISourcePosition position)
public AssignableNode(ISourcePosition position, Node valueNode)
public Node getValueNode()
public void setValueNode(Node valueNode)
valueNode
- The valueNode to setpublic Arity getArity()
getArity
in interface IArityNode
public RubyString definition(Ruby runtime, ThreadContext context, IRubyObject self, Block aBlock)
definition
in class Node
Copyright © 2001-2014 JRuby. All Rights Reserved.