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
visitAtomExpression
(SearchParser.AtomExpressionContext
the parse tree
ctx
)

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

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
visitName
(SearchParser.NameContext
the parse tree
ctx
)

Visit a parse tree produced by SearchParser#name.

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
visitStart
(SearchParser.StartContext
the parse tree
ctx
)

Visit a parse tree produced by SearchParser#start.

public T

Returns:

the visitor result
visitUnaryExpression
(SearchParser.UnaryExpressionContext
the parse tree
ctx
)

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

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

Method Detail

visitAtomExpressionback to summary
public T visitAtomExpression(SearchParser.AtomExpressionContext ctx)

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

Parameters
ctx:SearchParser.AtomExpressionContext

the parse tree

Returns:T

the visitor result

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

visitNameback to summary
public T visitName(SearchParser.NameContext ctx)

Visit a parse tree produced by SearchParser#name.

Parameters
ctx:SearchParser.NameContext

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

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

visitUnaryExpressionback to summary
public T visitUnaryExpression(SearchParser.UnaryExpressionContext ctx)

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

Parameters
ctx:SearchParser.UnaryExpressionContext

the parse tree

Returns:T

the visitor result