Package org.mozilla.javascript.ast
Class AstNode.DebugPrintVisitor
java.lang.Object
org.mozilla.javascript.ast.AstNode.DebugPrintVisitor
- All Implemented Interfaces:
NodeVisitor
- Enclosing class:
AstNode
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DebugPrintVisitor
-
-
Method Details
-
toString
-
visit
Description copied from interface:NodeVisitor
Visits an AST node.- Specified by:
visit
in interfaceNodeVisitor
- Parameters:
node
- the AST node. Will never visit anAstRoot
node, since theAstRoot
is where the visiting begins.- Returns:
true
if the children should be visited. Iffalse
, the subtree rooted at this node is skipped. Thenode
argument should never benull
-- the individualAstNode
classes should skip any children that are not present in the source when they invoke this method.
-