Class WikiTextBaseASTVisitor<T>

java.lang.Object
com.lucaskjaerozhang.wikitext_parser.visitor.WikiTextBaseASTVisitor<T>
Type Parameters:
T - Whatever you want your visitor to return.
All Implemented Interfaces:
WikiTextASTVisitor<T>
Direct Known Subclasses:
XMLWriter

public abstract class WikiTextBaseASTVisitor<T> extends Object implements WikiTextASTVisitor<T>
Provides a visitor implementation that does the minimum needed to let you skip implementation steps. For a leaf node, it returns Optional.empty(). For a parent node, it returns the value of the last non-empty child.