|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jruby.ast.AbstractNode
org.jruby.ast.ClassVarAsgnNode
Class variable assignment node.
Constructor Summary | |
ClassVarAsgnNode(ISourcePosition position,
java.lang.String name,
INode valueNode)
|
Method Summary | |
void |
accept(INodeVisitor iVisitor)
Accept for the visitor pattern. |
java.lang.String |
getName()
Gets the name. |
INode |
getValueNode()
Gets the valueNode. |
void |
setValueNode(INode valueNode)
Sets the valueNode. |
Methods inherited from class org.jruby.ast.AbstractNode |
getPosition |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ClassVarAsgnNode(ISourcePosition position, java.lang.String name, INode valueNode)
name
- id of the class variable to assign tovalueNode
- Node used to compute the new value when the assignment is evaledMethod Detail |
public void accept(INodeVisitor iVisitor)
accept
in interface INode
iVisitor
- the visitorpublic java.lang.String getName()
public INode getValueNode()
getValueNode
in interface IAssignableNode
public void setValueNode(INode valueNode)
setValueNode
in interface IAssignableNode
valueNode
- The valueNode to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |