com.vladsch.flexmark.superscript.SuperscriptVisitorExt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flexmark-ext-superscript Show documentation
Show all versions of flexmark-ext-superscript Show documentation
flexmark-java extension for superscript
package com.vladsch.flexmark.superscript;
import com.vladsch.flexmark.ast.VisitHandler;
import com.vladsch.flexmark.ast.Visitor;
public class SuperscriptVisitorExt {
public static VisitHandler>[] VISIT_HANDLERS(final V visitor) {
return new VisitHandler>[] {
// @formatter:off
new VisitHandler(Superscript.class, new Visitor() { @Override public void visit(Superscript node) { visitor.visit(node); } }),
// new VisitHandler<>(SuperscriptBlock.class, new Visitor() { @Override public void visit(SuperscriptBlock node) { visitor.visit(node); } }),
// @formatter:on
};
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy