Class GraphLanguageParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.hibernate.grammars.graph.GraphLanguageParserBaseVisitor<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>
,GraphLanguageParserVisitor<T>
- Direct Known Subclasses:
GraphParser
public class GraphLanguageParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements GraphLanguageParserVisitor<T>
This class provides an empty implementation ofGraphLanguageParserVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description GraphLanguageParserBaseVisitor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
visitAttributeList(GraphLanguageParser.AttributeListContext ctx)
Visit a parse tree produced byGraphLanguageParser.attributeList()
.T
visitAttributeNode(GraphLanguageParser.AttributeNodeContext ctx)
Visit a parse tree produced byGraphLanguageParser.attributeNode()
.T
visitAttributePath(GraphLanguageParser.AttributePathContext ctx)
Visit a parse tree produced byGraphLanguageParser.attributePath()
.T
visitAttributeQualifier(GraphLanguageParser.AttributeQualifierContext ctx)
Visit a parse tree produced byGraphLanguageParser.attributeQualifier()
.T
visitGraph(GraphLanguageParser.GraphContext ctx)
Visit a parse tree produced byGraphLanguageParser.graph()
.T
visitSubGraph(GraphLanguageParser.SubGraphContext ctx)
Visit a parse tree produced byGraphLanguageParser.subGraph()
.T
visitSubType(GraphLanguageParser.SubTypeContext ctx)
Visit a parse tree produced byGraphLanguageParser.subType()
.-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitGraph
public T visitGraph(GraphLanguageParser.GraphContext ctx)
Visit a parse tree produced byGraphLanguageParser.graph()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGraph
in interfaceGraphLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAttributeList
public T visitAttributeList(GraphLanguageParser.AttributeListContext ctx)
Visit a parse tree produced byGraphLanguageParser.attributeList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAttributeList
in interfaceGraphLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAttributeNode
public T visitAttributeNode(GraphLanguageParser.AttributeNodeContext ctx)
Visit a parse tree produced byGraphLanguageParser.attributeNode()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAttributeNode
in interfaceGraphLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAttributePath
public T visitAttributePath(GraphLanguageParser.AttributePathContext ctx)
Visit a parse tree produced byGraphLanguageParser.attributePath()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAttributePath
in interfaceGraphLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAttributeQualifier
public T visitAttributeQualifier(GraphLanguageParser.AttributeQualifierContext ctx)
Visit a parse tree produced byGraphLanguageParser.attributeQualifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAttributeQualifier
in interfaceGraphLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSubGraph
public T visitSubGraph(GraphLanguageParser.SubGraphContext ctx)
Visit a parse tree produced byGraphLanguageParser.subGraph()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSubGraph
in interfaceGraphLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSubType
public T visitSubType(GraphLanguageParser.SubTypeContext ctx)
Visit a parse tree produced byGraphLanguageParser.subType()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSubType
in interfaceGraphLanguageParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-