|
|||||||||||
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.NewlineNode
A new (logical) source code line. This is used to change the value of the ruby interpreter source and line values. There is one such node for each logical line. Logical line differs from physical line in that a ';' can be used to make several logical line out of a physical line and a physical line if it is in a comment or in a string does not necessarily correspond to a physical line. This is normally a wrapper around another more significant node. The parser generates such a node around each separate statement.
Constructor Summary | |
NewlineNode(ISourcePosition position,
INode nextNode)
|
Method Summary | |
void |
accept(INodeVisitor iVisitor)
Method used by visitors. |
INode |
getNextNode()
Gets the nextNode. |
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 NewlineNode(ISourcePosition position, INode nextNode)
Method Detail |
public void accept(INodeVisitor iVisitor)
iVisitor
- the visitor to acceptpublic INode getNextNode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |