|
|||||||||||
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.ForNode
a For statement. this is almost equivalent to an iternode (the difference being the visibility of the local variables defined in the iterator).
IterNode
,
Serialized FormConstructor Summary | |
ForNode(ISourcePosition position,
INode varNode,
INode bodyNode,
INode iterNode)
|
Method Summary | |
void |
accept(INodeVisitor iVisitor)
Accept for the visitor pattern. |
INode |
getBodyNode()
Gets the bodyNode. |
INode |
getIterNode()
Gets the iterNode. |
INode |
getVarNode()
Gets the varNode. |
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 ForNode(ISourcePosition position, INode varNode, INode bodyNode, INode iterNode)
Method Detail |
public void accept(INodeVisitor iVisitor)
iVisitor
- the visitorpublic INode getBodyNode()
public INode getIterNode()
public INode getVarNode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |