Class LexParserBaseVisitor<T>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- eu.clarin.sru.fcs.qlparser.lex.LexParserBaseVisitor<T>
-
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
LexParserVisitor<T>
,org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
public class LexParserBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements LexParserVisitor<T>
This class provides an empty implementation ofLexParserVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.
-
-
Constructor Summary
Constructors Constructor Description LexParserBaseVisitor()
-
Method Summary
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
-
-
-
-
Method Detail
-
visitQuery
public T visitQuery(LexParser.QueryContext ctx)
Visit a parse tree produced byLexParser.query()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuery
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBoolean_query
public T visitBoolean_query(LexParser.Boolean_queryContext ctx)
Visit a parse tree produced byLexParser.boolean_query()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBoolean_query
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSubquery
public T visitSubquery(LexParser.SubqueryContext ctx)
Visit a parse tree produced byLexParser.subquery()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSubquery
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSearch_clause
public T visitSearch_clause(LexParser.Search_clauseContext ctx)
Visit a parse tree produced byLexParser.search_clause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSearch_clause
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSearch_term
public T visitSearch_term(LexParser.Search_termContext ctx)
Visit a parse tree produced byLexParser.search_term()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSearch_term
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIndex
public T visitIndex(LexParser.IndexContext ctx)
Visit a parse tree produced byLexParser.index()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIndex
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRelation_modified
public T visitRelation_modified(LexParser.Relation_modifiedContext ctx)
Visit a parse tree produced byLexParser.relation_modified()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRelation_modified
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRelation
public T visitRelation(LexParser.RelationContext ctx)
Visit a parse tree produced byLexParser.relation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRelation
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRelation_name
public T visitRelation_name(LexParser.Relation_nameContext ctx)
Visit a parse tree produced byLexParser.relation_name()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRelation_name
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRelation_symbol
public T visitRelation_symbol(LexParser.Relation_symbolContext ctx)
Visit a parse tree produced byLexParser.relation_symbol()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRelation_symbol
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBoolean_modified
public T visitBoolean_modified(LexParser.Boolean_modifiedContext ctx)
Visit a parse tree produced byLexParser.boolean_modified()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBoolean_modified
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitR_boolean
public T visitR_boolean(LexParser.R_booleanContext ctx)
Visit a parse tree produced byLexParser.r_boolean()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitR_boolean
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifier_list
public T visitModifier_list(LexParser.Modifier_listContext ctx)
Visit a parse tree produced byLexParser.modifier_list()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitModifier_list
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifier
public T visitModifier(LexParser.ModifierContext ctx)
Visit a parse tree produced byLexParser.modifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitModifier
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifier_name
public T visitModifier_name(LexParser.Modifier_nameContext ctx)
Visit a parse tree produced byLexParser.modifier_name()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitModifier_name
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifier_relation
public T visitModifier_relation(LexParser.Modifier_relationContext ctx)
Visit a parse tree produced byLexParser.modifier_relation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitModifier_relation
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitModifier_value
public T visitModifier_value(LexParser.Modifier_valueContext ctx)
Visit a parse tree produced byLexParser.modifier_value()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitModifier_value
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrefix_name
public T visitPrefix_name(LexParser.Prefix_nameContext ctx)
Visit a parse tree produced byLexParser.prefix_name()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrefix_name
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrefix
public T visitPrefix(LexParser.PrefixContext ctx)
Visit a parse tree produced byLexParser.prefix()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrefix
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimple_name
public T visitSimple_name(LexParser.Simple_nameContext ctx)
Visit a parse tree produced byLexParser.simple_name()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSimple_name
in interfaceLexParserVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-