|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.ast.Node
org.jruby.ast.AssignableNode
public abstract class AssignableNode
Base class of any node which can be assigned to.
Field Summary |
---|
Fields inherited from class org.jruby.ast.Node |
---|
EMPTY_COMMENT_LIST, nodeId |
Constructor Summary | |
---|---|
AssignableNode(ISourcePosition position,
NodeType id)
|
Method Summary | |
---|---|
Arity |
getArity()
Almost all assignables are only assigned a single value. |
Node |
getValueNode()
Gets the valueNode. |
void |
setValueNode(Node valueNode)
Sets the valueNode. |
Methods inherited from class org.jruby.ast.Node |
---|
accept, addComment, addComments, childNodes, createList, getComments, getNodeName, getPosition, getPositionIncludingComments, hasComments, setPosition, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AssignableNode(ISourcePosition position, NodeType id)
Method Detail |
---|
public Node getValueNode()
public void setValueNode(Node valueNode)
valueNode
- The valueNode to setpublic Arity getArity()
getArity
in interface IArityNode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |