com.vladsch.flexmark.ext.macros.MacrosVisitorExt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of flexmark-ext-macros Show documentation
Show all versions of flexmark-ext-macros Show documentation
flexmark-java extension for processing macros
package com.vladsch.flexmark.ext.macros;
import com.vladsch.flexmark.util.ast.VisitHandler;
public class MacrosVisitorExt {
public static VisitHandler>[] VISIT_HANDLERS(V visitor) {
return new VisitHandler>[] {
new VisitHandler<>(MacroReference.class, visitor::visit),
new VisitHandler<>(MacroDefinitionBlock.class, visitor::visit),
};
}
}