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

antlr.treepat.TreepatBaseListener 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 antlr/treepat/Treepat.g4 by ANTLR 4.1
package antlr.treepat;

import org.antlr.v4.runtime.ParserRuleContext;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.ErrorNode;
import org.antlr.v4.runtime.tree.TerminalNode;

/**
 * This class provides an empty implementation of {@link TreepatListener},
 * which can be extended to create a listener which only needs to handle a subset
 * of the available methods.
 */
public class TreepatBaseListener implements TreepatListener {
	/**
	 * {@inheritDoc}
	 * 

* The default implementation does nothing. */ @Override public void enterIndentWrapper(@NotNull TreepatParser.IndentWrapperContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitIndentWrapper(@NotNull TreepatParser.IndentWrapperContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterDepthClosure(@NotNull TreepatParser.DepthClosureContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitDepthClosure(@NotNull TreepatParser.DepthClosureContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterIndent(@NotNull TreepatParser.IndentContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitIndent(@NotNull TreepatParser.IndentContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterBreadthClosure(@NotNull TreepatParser.BreadthClosureContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitBreadthClosure(@NotNull TreepatParser.BreadthClosureContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterNestedIndent(@NotNull TreepatParser.NestedIndentContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitNestedIndent(@NotNull TreepatParser.NestedIndentContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterDot(@NotNull TreepatParser.DotContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitDot(@NotNull TreepatParser.DotContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterUnion(@NotNull TreepatParser.UnionContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitUnion(@NotNull TreepatParser.UnionContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterAtomTerm(@NotNull TreepatParser.AtomTermContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitAtomTerm(@NotNull TreepatParser.AtomTermContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterNested(@NotNull TreepatParser.NestedContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitNested(@NotNull TreepatParser.NestedContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterDepthTerm(@NotNull TreepatParser.DepthTermContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitDepthTerm(@NotNull TreepatParser.DepthTermContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterSubtree(@NotNull TreepatParser.SubtreeContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitSubtree(@NotNull TreepatParser.SubtreeContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterNode(@NotNull TreepatParser.NodeContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitNode(@NotNull TreepatParser.NodeContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterSibling(@NotNull TreepatParser.SiblingContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitSibling(@NotNull TreepatParser.SiblingContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterAtomTermWrapper(@NotNull TreepatParser.AtomTermWrapperContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitAtomTermWrapper(@NotNull TreepatParser.AtomTermWrapperContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterTreepat(@NotNull TreepatParser.TreepatContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitTreepat(@NotNull TreepatParser.TreepatContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterChild(@NotNull TreepatParser.ChildContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitChild(@NotNull TreepatParser.ChildContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void enterEveryRule(@NotNull ParserRuleContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void exitEveryRule(@NotNull ParserRuleContext ctx) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void visitTerminal(@NotNull TerminalNode node) { } /** * {@inheritDoc} *

* The default implementation does nothing. */ @Override public void visitErrorNode(@NotNull ErrorNode node) { } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy