Package com.vladsch.flexmark.test.util
Class AstCollectingVisitor
java.lang.Object
com.vladsch.flexmark.util.ast.NodeVisitorBase
com.vladsch.flexmark.test.util.AstCollectingVisitor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
protected boolean
protected int
protected StringBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
protected void
void
clear()
void
collectAndGetAstText
(Node node) getAst()
protected void
Methods inherited from class com.vladsch.flexmark.util.ast.NodeVisitorBase
visitChildren
-
Field Details
-
EOL
- See Also:
-
output
-
indent
protected int indent -
eolPending
protected boolean eolPending
-
-
Constructor Details
-
AstCollectingVisitor
public AstCollectingVisitor()
-
-
Method Details
-
getAst
-
clear
public void clear() -
appendIndent
protected void appendIndent() -
appendEOL
protected void appendEOL() -
appendPendingEOL
protected void appendPendingEOL() -
collectAndGetAstText
-
collect
-
visit
- Specified by:
visit
in classNodeVisitorBase
-