All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.vladsch.flexmark.util.ast.VisitHandler Maven / Gradle / Ivy

There is a newer version: 4.15.102
Show newest version
package com.vladsch.flexmark.util.ast;

import com.vladsch.flexmark.util.visitor.AstHandler;
import org.jetbrains.annotations.NotNull;

/**
 * Node visit handler for specific node type
 */
public class VisitHandler extends AstHandler> implements Visitor {
    public VisitHandler(@NotNull Class klass, @NotNull Visitor adapter) {
        super(klass, adapter);
    }

    public void visit(@NotNull Node node) {
        //noinspection unchecked
        getAdapter().visit((N) node);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy