Class KGCLBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.incenp.obofoundry.kgcl.parser.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
public class KGCLBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements KGCLVisitor<T>
This class provides an empty implementation ofKGCLVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description KGCLBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitChangeset
public T visitChangeset(KGCLParser.ChangesetContext ctx)
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
public T visitChange(KGCLParser.ChangeContext ctx)
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
public T visitRename(KGCLParser.RenameContext ctx)
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
public T visitObsoleteNoReplacement(KGCLParser.ObsoleteNoReplacementContext ctx)
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
public T visitObsoleteWithReplacement(KGCLParser.ObsoleteWithReplacementContext ctx)
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
public T visitObsoleteWithAlternative(KGCLParser.ObsoleteWithAlternativeContext ctx)
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
public T visitUnobsolete(KGCLParser.UnobsoleteContext ctx)
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
public T visitDelete(KGCLParser.DeleteContext ctx)
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
public T visitNewSynonym(KGCLParser.NewSynonymContext ctx)
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
public T visitRemoveSynonym(KGCLParser.RemoveSynonymContext ctx)
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
public T visitChangeSynonym(KGCLParser.ChangeSynonymContext ctx)
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
public T visitNewDefinition(KGCLParser.NewDefinitionContext ctx)
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
public T visitRemoveDefinition(KGCLParser.RemoveDefinitionContext ctx)
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
public T visitChangeDefinition(KGCLParser.ChangeDefinitionContext ctx)
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
public T visitNewNode(KGCLParser.NewNodeContext ctx)
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
public T visitNewEdge(KGCLParser.NewEdgeContext ctx)
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
public T visitDeleteEdge(KGCLParser.DeleteEdgeContext ctx)
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
public T visitChangePredicate(KGCLParser.ChangePredicateContext ctx)
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
public T visitChangeAnnotation(KGCLParser.ChangeAnnotationContext ctx)
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
public T visitMove(KGCLParser.MoveContext ctx)
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
public T visitAddSubset(KGCLParser.AddSubsetContext ctx)
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
public T visitRemoveSubset(KGCLParser.RemoveSubsetContext ctx)
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
public T visitIdlist(KGCLParser.IdlistContext ctx)
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
public T visitIdAsIRI(KGCLParser.IdAsIRIContext ctx)
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
public T visitIdAsCURIE(KGCLParser.IdAsCURIEContext ctx)
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
public T visitIdAsLabel(KGCLParser.IdAsLabelContext ctx)
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
public T visitNodeType(KGCLParser.NodeTypeContext ctx)
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
public T visitText(KGCLParser.TextContext ctx)
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
public T visitString(KGCLParser.StringContext ctx)
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
public T visitQualifier(KGCLParser.QualifierContext ctx)
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
public T visitTypetag(KGCLParser.TypetagContext ctx)
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
-
-