Class KGCLBaseVisitor<T>

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

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

      • KGCLBaseVisitor

        public KGCLBaseVisitor()
    • Method Detail

      • visitChangeset

        public T visitChangeset​(KGCLParser.ChangesetContext ctx)
        Visit a parse tree produced by KGCLParser.changeset().

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

        Specified by:
        visitChangeset in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitChange

        public T visitChange​(KGCLParser.ChangeContext ctx)
        Visit a parse tree produced by KGCLParser.change().

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

        Specified by:
        visitChange in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitRename

        public T visitRename​(KGCLParser.RenameContext ctx)
        Visit a parse tree produced by KGCLParser.rename().

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

        Specified by:
        visitRename in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitUnobsolete

        public T visitUnobsolete​(KGCLParser.UnobsoleteContext ctx)
        Visit a parse tree produced by KGCLParser.unobsolete().

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

        Specified by:
        visitUnobsolete in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitDelete

        public T visitDelete​(KGCLParser.DeleteContext ctx)
        Visit a parse tree produced by KGCLParser.delete().

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

        Specified by:
        visitDelete in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitNewSynonym

        public T visitNewSynonym​(KGCLParser.NewSynonymContext ctx)
        Visit a parse tree produced by KGCLParser.newSynonym().

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

        Specified by:
        visitNewSynonym in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitNewNode

        public T visitNewNode​(KGCLParser.NewNodeContext ctx)
        Visit a parse tree produced by KGCLParser.newNode().

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

        Specified by:
        visitNewNode in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitNewEdge

        public T visitNewEdge​(KGCLParser.NewEdgeContext ctx)
        Visit a parse tree produced by KGCLParser.newEdge().

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

        Specified by:
        visitNewEdge in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitDeleteEdge

        public T visitDeleteEdge​(KGCLParser.DeleteEdgeContext ctx)
        Visit a parse tree produced by KGCLParser.deleteEdge().

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

        Specified by:
        visitDeleteEdge in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMove

        public T visitMove​(KGCLParser.MoveContext ctx)
        Visit a parse tree produced by KGCLParser.move().

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

        Specified by:
        visitMove in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitAddSubset

        public T visitAddSubset​(KGCLParser.AddSubsetContext ctx)
        Visit a parse tree produced by KGCLParser.addSubset().

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

        Specified by:
        visitAddSubset in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitIdlist

        public T visitIdlist​(KGCLParser.IdlistContext ctx)
        Visit a parse tree produced by KGCLParser.idlist().

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

        Specified by:
        visitIdlist in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitIdAsIRI

        public T visitIdAsIRI​(KGCLParser.IdAsIRIContext ctx)
        Visit a parse tree produced by the IdAsIRI labeled alternative in KGCLParser.id().

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

        Specified by:
        visitIdAsIRI in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitIdAsCURIE

        public T visitIdAsCURIE​(KGCLParser.IdAsCURIEContext ctx)
        Visit a parse tree produced by the IdAsCURIE labeled alternative in KGCLParser.id().

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

        Specified by:
        visitIdAsCURIE in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitIdAsLabel

        public T visitIdAsLabel​(KGCLParser.IdAsLabelContext ctx)
        Visit a parse tree produced by the IdAsLabel labeled alternative in KGCLParser.id().

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

        Specified by:
        visitIdAsLabel in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitNodeType

        public T visitNodeType​(KGCLParser.NodeTypeContext ctx)
        Visit a parse tree produced by KGCLParser.nodeType().

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

        Specified by:
        visitNodeType in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitText

        public T visitText​(KGCLParser.TextContext ctx)
        Visit a parse tree produced by KGCLParser.text().

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

        Specified by:
        visitText in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitString

        public T visitString​(KGCLParser.StringContext ctx)
        Visit a parse tree produced by KGCLParser.string().

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

        Specified by:
        visitString in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitQualifier

        public T visitQualifier​(KGCLParser.QualifierContext ctx)
        Visit a parse tree produced by KGCLParser.qualifier().

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

        Specified by:
        visitQualifier in interface KGCLVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitTypetag

        public T visitTypetag​(KGCLParser.TypetagContext ctx)
        Visit a parse tree produced by KGCLParser.typetag().

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

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