|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mozilla.javascript.ast.AstNode.DebugPrintVisitor
protected static class AstNode.DebugPrintVisitor
Constructor Summary | |
---|---|
AstNode.DebugPrintVisitor(java.lang.StringBuilder buf)
|
Method Summary | |
---|---|
java.lang.String |
toString()
|
boolean |
visit(AstNode node)
Visits an AST node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AstNode.DebugPrintVisitor(java.lang.StringBuilder buf)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean visit(AstNode node)
NodeVisitor
visit
in interface NodeVisitor
node
- the AST node. Will never visit an AstRoot
node,
since the AstRoot
is where the visiting begins.
true
if the children should be visited.
If false
, the subtree rooted at this node is skipped.
The node
argument should never be null
--
the individual AstNode
classes should skip any children
that are not present in the source when they invoke this method.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |