antlr.treepat.TreepatListener Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Treepat Show documentation
Show all versions of Treepat Show documentation
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.
// Generated from antlr/treepat/Treepat.g4 by ANTLR 4.1
package antlr.treepat;
import org.antlr.v4.runtime.misc.NotNull;
import org.antlr.v4.runtime.tree.ParseTreeListener;
/**
* This interface defines a complete listener for a parse tree produced by
* {@link TreepatParser}.
*/
public interface TreepatListener extends ParseTreeListener {
/**
* Enter a parse tree produced by {@link TreepatParser#indentWrapper}.
* @param ctx the parse tree
*/
void enterIndentWrapper(@NotNull TreepatParser.IndentWrapperContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#indentWrapper}.
* @param ctx the parse tree
*/
void exitIndentWrapper(@NotNull TreepatParser.IndentWrapperContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#depthClosure}.
* @param ctx the parse tree
*/
void enterDepthClosure(@NotNull TreepatParser.DepthClosureContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#depthClosure}.
* @param ctx the parse tree
*/
void exitDepthClosure(@NotNull TreepatParser.DepthClosureContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#indent}.
* @param ctx the parse tree
*/
void enterIndent(@NotNull TreepatParser.IndentContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#indent}.
* @param ctx the parse tree
*/
void exitIndent(@NotNull TreepatParser.IndentContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#breadthClosure}.
* @param ctx the parse tree
*/
void enterBreadthClosure(@NotNull TreepatParser.BreadthClosureContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#breadthClosure}.
* @param ctx the parse tree
*/
void exitBreadthClosure(@NotNull TreepatParser.BreadthClosureContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#nestedIndent}.
* @param ctx the parse tree
*/
void enterNestedIndent(@NotNull TreepatParser.NestedIndentContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#nestedIndent}.
* @param ctx the parse tree
*/
void exitNestedIndent(@NotNull TreepatParser.NestedIndentContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#dot}.
* @param ctx the parse tree
*/
void enterDot(@NotNull TreepatParser.DotContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#dot}.
* @param ctx the parse tree
*/
void exitDot(@NotNull TreepatParser.DotContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#union}.
* @param ctx the parse tree
*/
void enterUnion(@NotNull TreepatParser.UnionContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#union}.
* @param ctx the parse tree
*/
void exitUnion(@NotNull TreepatParser.UnionContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#atomTerm}.
* @param ctx the parse tree
*/
void enterAtomTerm(@NotNull TreepatParser.AtomTermContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#atomTerm}.
* @param ctx the parse tree
*/
void exitAtomTerm(@NotNull TreepatParser.AtomTermContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#nested}.
* @param ctx the parse tree
*/
void enterNested(@NotNull TreepatParser.NestedContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#nested}.
* @param ctx the parse tree
*/
void exitNested(@NotNull TreepatParser.NestedContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#depthTerm}.
* @param ctx the parse tree
*/
void enterDepthTerm(@NotNull TreepatParser.DepthTermContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#depthTerm}.
* @param ctx the parse tree
*/
void exitDepthTerm(@NotNull TreepatParser.DepthTermContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#subtree}.
* @param ctx the parse tree
*/
void enterSubtree(@NotNull TreepatParser.SubtreeContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#subtree}.
* @param ctx the parse tree
*/
void exitSubtree(@NotNull TreepatParser.SubtreeContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#node}.
* @param ctx the parse tree
*/
void enterNode(@NotNull TreepatParser.NodeContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#node}.
* @param ctx the parse tree
*/
void exitNode(@NotNull TreepatParser.NodeContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#sibling}.
* @param ctx the parse tree
*/
void enterSibling(@NotNull TreepatParser.SiblingContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#sibling}.
* @param ctx the parse tree
*/
void exitSibling(@NotNull TreepatParser.SiblingContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#atomTermWrapper}.
* @param ctx the parse tree
*/
void enterAtomTermWrapper(@NotNull TreepatParser.AtomTermWrapperContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#atomTermWrapper}.
* @param ctx the parse tree
*/
void exitAtomTermWrapper(@NotNull TreepatParser.AtomTermWrapperContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#treepat}.
* @param ctx the parse tree
*/
void enterTreepat(@NotNull TreepatParser.TreepatContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#treepat}.
* @param ctx the parse tree
*/
void exitTreepat(@NotNull TreepatParser.TreepatContext ctx);
/**
* Enter a parse tree produced by {@link TreepatParser#child}.
* @param ctx the parse tree
*/
void enterChild(@NotNull TreepatParser.ChildContext ctx);
/**
* Exit a parse tree produced by {@link TreepatParser#child}.
* @param ctx the parse tree
*/
void exitChild(@NotNull TreepatParser.ChildContext ctx);
}