|
||||||||||
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.AttrAssignNode
public class AttrAssignNode
Node that represents an assignment of either an array element or attribute.
Field Summary |
---|
Fields inherited from class org.jruby.ast.Node |
---|
EMPTY_COMMENT_LIST, nodeId |
Constructor Summary | |
---|---|
AttrAssignNode(ISourcePosition position,
Node receiverNode,
java.lang.String name,
Node argsNode)
|
Method Summary | |
---|---|
Instruction |
accept(NodeVisitor visitor)
Accept for the visitor pattern. |
java.util.List<Node> |
childNodes()
|
Node |
getArgsNode()
Gets the argsNode. |
java.lang.String |
getName()
Gets the name. |
Node |
getReceiverNode()
Gets the receiverNode. |
void |
setArgsNode(Node argsNode)
Set the argsNode |
Methods inherited from class org.jruby.ast.Node |
---|
addComment, addComments, 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 AttrAssignNode(ISourcePosition position, Node receiverNode, java.lang.String name, Node argsNode)
Method Detail |
---|
public Instruction accept(NodeVisitor visitor)
accept
in class Node
visitor
- the visitorpublic java.lang.String getName()
getName
in interface INameNode
public Node getReceiverNode()
public Node getArgsNode()
getArgsNode
in interface IArgumentNode
public void setArgsNode(Node argsNode)
setArgsNode
in interface IArgumentNode
argsNode
- set the arguments for this node.public java.util.List<Node> childNodes()
childNodes
in class Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |