com.bbn.swede.core.dom
Interface IOASTNodeVisitor

All Known Implementing Classes:
ModelCleanupVisitor, NodeDisplacementVisitor, OASTNode.NodeCleanupVisitor, OASTNode.NodeInitVisitor

public interface IOASTNodeVisitor

Interface for performing preorder traversals against an OAST subtree.

Author:
jlerner
See Also:
OASTNode.accept(IOASTNodeVisitor)

Method Summary
 boolean visit(OASTNode node)
          Performs the recursion's action for a node.
 

Method Detail

visit

public boolean visit(OASTNode node)
Performs the recursion's action for a node. The return value indicates whether to process the node's children.

Parameters:
node - The node
Returns:
true to continue and visit node's children, false to prevent them from being processed.


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.