Class PathParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.apache.iotdb.db.qp.sql.PathParserBaseVisitor<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>,PathParserVisitor<T>
public class PathParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements PathParserVisitor<T>
This class provides an empty implementation ofPathParserVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description PathParserBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitPath
public T visitPath(PathParser.PathContext ctx)
Visit a parse tree produced byPathParser.path().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPathin interfacePathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrefixPath
public T visitPrefixPath(PathParser.PrefixPathContext ctx)
Visit a parse tree produced byPathParser.prefixPath().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPrefixPathin interfacePathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSuffixPath
public T visitSuffixPath(PathParser.SuffixPathContext ctx)
Visit a parse tree produced byPathParser.suffixPath().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSuffixPathin interfacePathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNodeName
public T visitNodeName(PathParser.NodeNameContext ctx)
Visit a parse tree produced byPathParser.nodeName().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNodeNamein interfacePathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNodeNameWithoutWildcard
public T visitNodeNameWithoutWildcard(PathParser.NodeNameWithoutWildcardContext ctx)
Visit a parse tree produced byPathParser.nodeNameWithoutWildcard().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNodeNameWithoutWildcardin interfacePathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNodeNameSlice
public T visitNodeNameSlice(PathParser.NodeNameSliceContext ctx)
Visit a parse tree produced byPathParser.nodeNameSlice().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitNodeNameSlicein interfacePathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWildcard
public T visitWildcard(PathParser.WildcardContext ctx)
Visit a parse tree produced byPathParser.wildcard().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWildcardin interfacePathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
public T visitIdentifier(PathParser.IdentifierContext ctx)
Visit a parse tree produced byPathParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierin interfacePathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeyWords
public T visitKeyWords(PathParser.KeyWordsContext ctx)
Visit a parse tree produced byPathParser.keyWords().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeyWordsin interfacePathParserVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-