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
Constructors -
Method Summary
-
Constructor Details
-
DebugPrintVisitor
-
-
Method Details
-
toString
-
visit
Description copied from interface:NodeVisitorVisits an AST node.- Specified by:
visitin interfaceNodeVisitor- Parameters:
node- the AST node. Will never visit anAstRootnode, since theAstRootis where the visiting begins.- Returns:
trueif the children should be visited. Iffalse, the subtree rooted at this node is skipped. Thenodeargument should never benull-- the individualAstNodeclasses should skip any children that are not present in the source when they invoke this method.
-