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

treepat.TreepatBaseVisitor Maven / Gradle / Ivy

Go to download

Treepat is a language to recognise patterns in trees in a similar way as regular expressions recognize patterns in strings. Treepat includes analogous operators to regex union, concatenation, and closure, which are extended to the notion of trees.

There is a newer version: 2.0.0
Show newest version
// Generated from treepat/Treepat.g4 by ANTLR 4.1
package treepat;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.AbstractParseTreeVisitor;

/**
 * This class provides an empty implementation of {@link TreepatVisitor},
 * which can be extended to create a visitor which only needs to handle a subset
 * of the available methods.
 *
 * @param  The return type of the visit operation. Use {@link Void} for
 * operations with no return type.
 */
public class TreepatBaseVisitor extends AbstractParseTreeVisitor implements TreepatVisitor {
	/**
	 * {@inheritDoc}
	 * 

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitIndentWrapper(@NotNull TreepatParser.IndentWrapperContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitDepthClosure(@NotNull TreepatParser.DepthClosureContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitIndent(@NotNull TreepatParser.IndentContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitBreadthClosure(@NotNull TreepatParser.BreadthClosureContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitNestedIndent(@NotNull TreepatParser.NestedIndentContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitDot(@NotNull TreepatParser.DotContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitUnion(@NotNull TreepatParser.UnionContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitAtomTerm(@NotNull TreepatParser.AtomTermContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitNested(@NotNull TreepatParser.NestedContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitDepthTerm(@NotNull TreepatParser.DepthTermContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitSubtree(@NotNull TreepatParser.SubtreeContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitNode(@NotNull TreepatParser.NodeContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitSibling(@NotNull TreepatParser.SiblingContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitAtomTermWrapper(@NotNull TreepatParser.AtomTermWrapperContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitTreepat(@NotNull TreepatParser.TreepatContext ctx) { return visitChildren(ctx); } /** * {@inheritDoc} *

* The default implementation returns the result of calling * {@link #visitChildren} on {@code ctx}. */ @Override public T visitChild(@NotNull TreepatParser.ChildContext ctx) { return visitChildren(ctx); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy