|
|||||||||||
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.DefsNode
Represents a singleton method definition.
Constructor Summary | |
DefsNode(ISourcePosition position,
INode receiverNode,
java.lang.String name,
INode argsNode,
ScopeNode bodyNode)
|
Method Summary | |
void |
accept(INodeVisitor iVisitor)
Accept for the visitor pattern. |
INode |
getArgsNode()
Gets the argsNode. |
ScopeNode |
getBodyNode()
Gets the bodyNode. |
java.lang.String |
getName()
Gets the name. |
INode |
getReceiverNode()
Gets the receiverNode. |
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 DefsNode(ISourcePosition position, INode receiverNode, java.lang.String name, INode argsNode, ScopeNode bodyNode)
Method Detail |
public void accept(INodeVisitor iVisitor)
iVisitor
- the visitorpublic INode getArgsNode()
public ScopeNode getBodyNode()
public java.lang.String getName()
public INode getReceiverNode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |