Class KGCLBaseVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for 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 theIdAsCURIE
labeled alternative inKGCLParser.id()
.Visit a parse tree produced by theIdAsIRI
labeled alternative inKGCLParser.id()
.Visit a parse tree produced by theIdAsLabel
labeled 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 theObsoleteNoReplacement
labeled alternative inKGCLParser.obsolete()
.Visit a parse tree produced by theObsoleteWithAlternative
labeled alternative inKGCLParser.obsolete()
.Visit a parse tree produced by theObsoleteWithReplacement
labeled 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, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
visitChangeset
in 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:
visitChange
in 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:
visitRename
in interfaceKGCLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitObsoleteNoReplacement
Visit a parse tree produced by theObsoleteNoReplacement
labeled alternative inKGCLParser.obsolete()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitObsoleteNoReplacement
in interfaceKGCLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitObsoleteWithReplacement
Visit a parse tree produced by theObsoleteWithReplacement
labeled alternative inKGCLParser.obsolete()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitObsoleteWithReplacement
in interfaceKGCLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitObsoleteWithAlternative
Visit a parse tree produced by theObsoleteWithAlternative
labeled alternative inKGCLParser.obsolete()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitObsoleteWithAlternative
in 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:
visitUnobsolete
in 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:
visitDelete
in 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:
visitNewSynonym
in 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:
visitRemoveSynonym
in 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:
visitChangeSynonym
in 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:
visitNewDefinition
in 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:
visitRemoveDefinition
in 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:
visitChangeDefinition
in 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:
visitNewNode
in 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:
visitNewEdge
in 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:
visitDeleteEdge
in 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:
visitChangePredicate
in 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:
visitChangeAnnotation
in 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:
visitMove
in 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:
visitAddSubset
in 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:
visitRemoveSubset
in 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:
visitIdlist
in interfaceKGCLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdAsIRI
Visit a parse tree produced by theIdAsIRI
labeled alternative inKGCLParser.id()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIdAsIRI
in interfaceKGCLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdAsCURIE
Visit a parse tree produced by theIdAsCURIE
labeled alternative inKGCLParser.id()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIdAsCURIE
in interfaceKGCLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIdAsLabel
Visit a parse tree produced by theIdAsLabel
labeled alternative inKGCLParser.id()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIdAsLabel
in 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:
visitNodeType
in 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:
visitText
in 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:
visitString
in 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:
visitQualifier
in 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:
visitTypetag
in interfaceKGCLVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-