Package org.mozilla.javascript.ast
Class AstNode.DebugPrintVisitor
- java.lang.Object
- 
- org.mozilla.javascript.ast.AstNode.DebugPrintVisitor
 
- 
- All Implemented Interfaces:
- NodeVisitor
 - Enclosing class:
- AstNode
 
 protected static class AstNode.DebugPrintVisitor extends java.lang.Object implements NodeVisitor 
- 
- 
Constructor SummaryConstructors Constructor Description DebugPrintVisitor(java.lang.StringBuilder buf)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()booleanvisit(AstNode node)Visits an AST node.
 
- 
- 
- 
Method Detail- 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
visitpublic boolean visit(AstNode node) Description copied from interface:NodeVisitorVisits an AST node.- Specified by:
- visitin interface- NodeVisitor
- Parameters:
- node- the AST node. Will never visit an- AstRootnode, since the- AstRootis where the visiting begins.
- Returns:
- trueif the children should be visited. If- false, the subtree rooted at this node is skipped. The- nodeargument should never be- null-- the individual- AstNodeclasses should skip any children that are not present in the source when they invoke this method.
 
 
- 
 
-