com.vladsch.flexmark.ext.tables.TableVisitorExt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flexmark-ext-tables Show documentation
Show all versions of flexmark-ext-tables Show documentation
flexmark-java extension for tables using "|" pipes with optional column spans and table caption
The newest version!
package com.vladsch.flexmark.ext.tables;
import com.vladsch.flexmark.util.ast.VisitHandler;
public class TableVisitorExt {
public static VisitHandler>[] VISIT_HANDLERS(V visitor) {
return new VisitHandler>[] {
new VisitHandler<>(TableBlock.class, visitor::visit),
new VisitHandler<>(TableHead.class, visitor::visit),
new VisitHandler<>(TableSeparator.class, visitor::visit),
new VisitHandler<>(TableBody.class, visitor::visit),
new VisitHandler<>(TableRow.class, visitor::visit),
new VisitHandler<>(TableCell.class, visitor::visit),
new VisitHandler<>(TableCaption.class, visitor::visit),
};
}
}