Class AstCollectingVisitor
java.lang.Object
com.vladsch.flexmark.util.ast.NodeVisitorBase
com.vladsch.flexmark.test.util.AstCollectingVisitor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringprotected booleanprotected intprotected StringBuilder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidprotected voidvoidclear()voidcollectAndGetAstText(Node node) getAst()protected voidMethods inherited from class 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:
visitin classNodeVisitorBase
-