org.mozilla.javascript
Class PreorderNodeIterator

java.lang.Object
  |
  +--org.mozilla.javascript.PreorderNodeIterator

public class PreorderNodeIterator
extends java.lang.Object

This class implements a preorder tree iterator for the Node class.

Author:
Norris Boyd
See Also:
Node

Constructor Summary
PreorderNodeIterator(Node n)
           
 
Method Summary
 Node currentNode()
           
 Node getCurrentParent()
           
 Node nextNode()
           
 void replaceCurrent(Node newNode)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreorderNodeIterator

public PreorderNodeIterator(Node n)
Method Detail

currentNode

public Node currentNode()

getCurrentParent

public Node getCurrentParent()

nextNode

public Node nextNode()

replaceCurrent

public void replaceCurrent(Node newNode)