|
|||||||||||
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.GlobalAsgnNode
Represents an assignment to a global variable.
Constructor Summary | |
GlobalAsgnNode(ISourcePosition position,
java.lang.String name,
INode valueNode)
|
Method Summary | |
void |
accept(INodeVisitor iVisitor)
Method used by visitors. |
java.lang.String |
getName()
Gets the name. |
INode |
getValueNode()
Gets the valueNode. |
void |
setName(java.lang.String name)
Sets the name. |
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 GlobalAsgnNode(ISourcePosition position, java.lang.String name, INode valueNode)
Method Detail |
public void accept(INodeVisitor iVisitor)
accept
in interface INode
iVisitor
- the visitor to acceptpublic java.lang.String getName()
public void setName(java.lang.String name)
name
- The name to setpublic 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 |