Class KGCLBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,KGCLVisitor<T>
- Direct Known Subclasses:
ParseTree2ChangeVisitor
KGCLVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byKGCLParser.addSubset().Visit a parse tree produced byKGCLParser.change().Visit a parse tree produced byKGCLParser.changeAnnotation().Visit a parse tree produced byKGCLParser.changeDefinition().Visit a parse tree produced byKGCLParser.changePredicate().Visit a parse tree produced byKGCLParser.changeset().Visit a parse tree produced byKGCLParser.changeSynonym().Visit a parse tree produced byKGCLParser.delete().Visit a parse tree produced byKGCLParser.deleteEdge().Visit a parse tree produced by theIdAsCURIElabeled alternative inKGCLParser.id().Visit a parse tree produced by theIdAsIRIlabeled alternative inKGCLParser.id().Visit a parse tree produced by theIdAsLabellabeled alternative inKGCLParser.id().Visit a parse tree produced byKGCLParser.idlist().Visit a parse tree produced byKGCLParser.move().Visit a parse tree produced byKGCLParser.newDefinition().Visit a parse tree produced byKGCLParser.newEdge().Visit a parse tree produced byKGCLParser.newNode().Visit a parse tree produced byKGCLParser.newSynonym().Visit a parse tree produced byKGCLParser.nodeType().Visit a parse tree produced by theObsoleteNoReplacementlabeled alternative inKGCLParser.obsolete().Visit a parse tree produced by theObsoleteWithAlternativelabeled alternative inKGCLParser.obsolete().Visit a parse tree produced by theObsoleteWithReplacementlabeled alternative inKGCLParser.obsolete().Visit a parse tree produced byKGCLParser.qualifier().Visit a parse tree produced byKGCLParser.removeDefinition().Visit a parse tree produced byKGCLParser.removeSubset().Visit a parse tree produced byKGCLParser.removeSynonym().Visit a parse tree produced byKGCLParser.rename().Visit a parse tree produced byKGCLParser.string().Visit a parse tree produced byKGCLParser.text().Visit a parse tree produced byKGCLParser.typetag().Visit a parse tree produced byKGCLParser.unobsolete().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
KGCLBaseVisitor
public KGCLBaseVisitor()
-
-
Method Details
-
visitChangeset
Visit a parse tree produced byKGCLParser.changeset().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitChangesetin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitChange
Visit a parse tree produced byKGCLParser.change().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitChangein interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRename
Visit a parse tree produced byKGCLParser.rename().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRenamein interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObsoleteNoReplacement
Visit a parse tree produced by theObsoleteNoReplacementlabeled alternative inKGCLParser.obsolete().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObsoleteNoReplacementin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObsoleteWithReplacement
Visit a parse tree produced by theObsoleteWithReplacementlabeled alternative inKGCLParser.obsolete().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObsoleteWithReplacementin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitObsoleteWithAlternative
Visit a parse tree produced by theObsoleteWithAlternativelabeled alternative inKGCLParser.obsolete().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitObsoleteWithAlternativein interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnobsolete
Visit a parse tree produced byKGCLParser.unobsolete().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitUnobsoletein interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDelete
Visit a parse tree produced byKGCLParser.delete().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDeletein interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNewSynonym
Visit a parse tree produced byKGCLParser.newSynonym().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNewSynonymin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRemoveSynonym
Visit a parse tree produced byKGCLParser.removeSynonym().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRemoveSynonymin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitChangeSynonym
Visit a parse tree produced byKGCLParser.changeSynonym().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitChangeSynonymin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNewDefinition
Visit a parse tree produced byKGCLParser.newDefinition().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNewDefinitionin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRemoveDefinition
Visit a parse tree produced byKGCLParser.removeDefinition().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRemoveDefinitionin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitChangeDefinition
Visit a parse tree produced byKGCLParser.changeDefinition().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitChangeDefinitionin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNewNode
Visit a parse tree produced byKGCLParser.newNode().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNewNodein interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNewEdge
Visit a parse tree produced byKGCLParser.newEdge().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNewEdgein interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDeleteEdge
Visit a parse tree produced byKGCLParser.deleteEdge().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDeleteEdgein interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitChangePredicate
Visit a parse tree produced byKGCLParser.changePredicate().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitChangePredicatein interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitChangeAnnotation
Visit a parse tree produced byKGCLParser.changeAnnotation().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitChangeAnnotationin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMove
Visit a parse tree produced byKGCLParser.move().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMovein interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAddSubset
Visit a parse tree produced byKGCLParser.addSubset().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitAddSubsetin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRemoveSubset
Visit a parse tree produced byKGCLParser.removeSubset().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRemoveSubsetin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdlist
Visit a parse tree produced byKGCLParser.idlist().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdlistin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdAsIRI
Visit a parse tree produced by theIdAsIRIlabeled alternative inKGCLParser.id().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdAsIRIin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdAsCURIE
Visit a parse tree produced by theIdAsCURIElabeled alternative inKGCLParser.id().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdAsCURIEin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdAsLabel
Visit a parse tree produced by theIdAsLabellabeled alternative inKGCLParser.id().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdAsLabelin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNodeType
Visit a parse tree produced byKGCLParser.nodeType().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNodeTypein interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitText
Visit a parse tree produced byKGCLParser.text().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTextin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitString
Visit a parse tree produced byKGCLParser.string().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStringin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQualifier
Visit a parse tree produced byKGCLParser.qualifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQualifierin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTypetag
Visit a parse tree produced byKGCLParser.typetag().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTypetagin interfaceKGCLVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-