Class SearchBaseVisitor<T>

  • Type Parameters:
    T - The return type of the visit operation. Use Void for operations with no return type.
    All Implemented Interfaces:
    SearchVisitor<T>, org.antlr.v4.runtime.tree.ParseTreeVisitor<T>

    public class SearchBaseVisitor<T>
    extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
    implements SearchVisitor<T>
    This class provides an empty implementation of SearchVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
    • Constructor Detail

      • SearchBaseVisitor

        public SearchBaseVisitor()
    • Method Detail

      • visitInput

        public T visitInput​(SearchParser.InputContext ctx)
        Visit a parse tree produced by SearchParser.input().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitInput in interface SearchVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitOpSearch

        public T visitOpSearch​(SearchParser.OpSearchContext ctx)
        Visit a parse tree produced by the opSearch labeled alternative in SearchParser.search().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitOpSearch in interface SearchVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitAtomSearch

        public T visitAtomSearch​(SearchParser.AtomSearchContext ctx)
        Visit a parse tree produced by the atomSearch labeled alternative in SearchParser.search().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitAtomSearch in interface SearchVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitPrioritySearch

        public T visitPrioritySearch​(SearchParser.PrioritySearchContext ctx)
        Visit a parse tree produced by the prioritySearch labeled alternative in SearchParser.search().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitPrioritySearch in interface SearchVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitCriteria

        public T visitCriteria​(SearchParser.CriteriaContext ctx)
        Visit a parse tree produced by SearchParser.criteria().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitCriteria in interface SearchVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitKey

        public T visitKey​(SearchParser.KeyContext ctx)
        Visit a parse tree produced by SearchParser.key().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitKey in interface SearchVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitValue

        public T visitValue​(SearchParser.ValueContext ctx)
        Visit a parse tree produced by SearchParser.value().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitValue in interface SearchVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitOp

        public T visitOp​(SearchParser.OpContext ctx)
        Visit a parse tree produced by SearchParser.op().

        The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

        Specified by:
        visitOp in interface SearchVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result