Verified Owner
Top Description Methods
org.jabref.search

public Interface SearchVisitor<T>

extends ParseTreeVisitor<T>
Known Direct Implementers
org.jabref.search.SearchBaseVisitor
Type Parameters
<T>
The return type of the visit operation. Use Void for operations with no return type.
Imports
org.antlr.v4.runtime.tree.ParseTreeVisitor

This interface defines a complete generic visitor for a parse tree produced by SearchParser.

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

the visitor result
visitBinaryExpression
(SearchParser.BinaryExpressionContext
the parse tree
ctx
)

Visit a parse tree produced by the binaryExpression labeled alternative in SearchParser#expression.

public T

Returns:

the visitor result
visitComparison
(SearchParser.ComparisonContext
the parse tree
ctx
)

Visit a parse tree produced by SearchParser#comparison.

public T

Returns:

the visitor result
visitComparisonExpression
(SearchParser.ComparisonExpressionContext
the parse tree
ctx
)

Visit a parse tree produced by the comparisonExpression labeled alternative in SearchParser#expression.

public T

Returns:

the visitor result
visitImplicitAndExpression
(SearchParser.ImplicitAndExpressionContext
the parse tree
ctx
)

Visit a parse tree produced by the implicitAndExpression labeled alternative in SearchParser#andExpression.

public T

Returns:

the visitor result
visitNegatedExpression
(SearchParser.NegatedExpressionContext
the parse tree
ctx
)

Visit a parse tree produced by the negatedExpression labeled alternative in SearchParser#expression.

public T

Returns:

the visitor result
visitOperator
(SearchParser.OperatorContext
the parse tree
ctx
)

Visit a parse tree produced by SearchParser#operator.

public T

Returns:

the visitor result
visitParenExpression
(SearchParser.ParenExpressionContext
the parse tree
ctx
)

Visit a parse tree produced by the parenExpression labeled alternative in SearchParser#expression.

public T

Returns:

the visitor result
visitSearchValue
(SearchParser.SearchValueContext
the parse tree
ctx
)

Visit a parse tree produced by SearchParser#searchValue.

public T

Returns:

the visitor result
visitStart
(SearchParser.StartContext
the parse tree
ctx
)

Visit a parse tree produced by SearchParser#start.

Inherited from org.antlr.v4.runtime.tree.ParseTreeVisitor:
visitvisitChildrenvisitErrorNodevisitTerminal

Method Detail

visitBinaryExpressionback to summary
public T visitBinaryExpression(SearchParser.BinaryExpressionContext ctx)

Visit a parse tree produced by the binaryExpression labeled alternative in SearchParser#expression.

Parameters
ctx:SearchParser.BinaryExpressionContext

the parse tree

Returns:T

the visitor result

visitComparisonback to summary
public T visitComparison(SearchParser.ComparisonContext ctx)

Visit a parse tree produced by SearchParser#comparison.

Parameters
ctx:SearchParser.ComparisonContext

the parse tree

Returns:T

the visitor result

visitComparisonExpressionback to summary
public T visitComparisonExpression(SearchParser.ComparisonExpressionContext ctx)

Visit a parse tree produced by the comparisonExpression labeled alternative in SearchParser#expression.

Parameters
ctx:SearchParser.ComparisonExpressionContext

the parse tree

Returns:T

the visitor result

visitImplicitAndExpressionback to summary
public T visitImplicitAndExpression(SearchParser.ImplicitAndExpressionContext ctx)

Visit a parse tree produced by the implicitAndExpression labeled alternative in SearchParser#andExpression.

Parameters
ctx:SearchParser.ImplicitAndExpressionContext

the parse tree

Returns:T

the visitor result

visitNegatedExpressionback to summary
public T visitNegatedExpression(SearchParser.NegatedExpressionContext ctx)

Visit a parse tree produced by the negatedExpression labeled alternative in SearchParser#expression.

Parameters
ctx:SearchParser.NegatedExpressionContext

the parse tree

Returns:T

the visitor result

visitOperatorback to summary
public T visitOperator(SearchParser.OperatorContext ctx)

Visit a parse tree produced by SearchParser#operator.

Parameters
ctx:SearchParser.OperatorContext

the parse tree

Returns:T

the visitor result

visitParenExpressionback to summary
public T visitParenExpression(SearchParser.ParenExpressionContext ctx)

Visit a parse tree produced by the parenExpression labeled alternative in SearchParser#expression.

Parameters
ctx:SearchParser.ParenExpressionContext

the parse tree

Returns:T

the visitor result

visitSearchValueback to summary
public T visitSearchValue(SearchParser.SearchValueContext ctx)

Visit a parse tree produced by SearchParser#searchValue.

Parameters
ctx:SearchParser.SearchValueContext

the parse tree

Returns:T

the visitor result

visitStartback to summary
public T visitStart(SearchParser.StartContext ctx)

Visit a parse tree produced by SearchParser#start.

Parameters
ctx:SearchParser.StartContext

the parse tree

Returns:T

the visitor result