Package org.apache.lucene.expressions.js
Interface JavascriptVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
JavascriptBaseVisitor
interface JavascriptVisitor<T>
extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
This interface defines a complete generic visitor for a parse tree produced by
JavascriptParser.-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced by theaddsublabeled alternative inJavascriptParser.expression().Visit a parse tree produced by theboolandlabeled alternative inJavascriptParser.expression().Visit a parse tree produced by theboolcomplabeled alternative inJavascriptParser.expression().Visit a parse tree produced by thebooleqnelabeled alternative inJavascriptParser.expression().Visit a parse tree produced by theboolorlabeled alternative inJavascriptParser.expression().Visit a parse tree produced by thebwandlabeled alternative inJavascriptParser.expression().Visit a parse tree produced by thebworlabeled alternative inJavascriptParser.expression().Visit a parse tree produced by thebwshiftlabeled alternative inJavascriptParser.expression().Visit a parse tree produced by thebwxorlabeled alternative inJavascriptParser.expression().Visit a parse tree produced byJavascriptParser.compile().Visit a parse tree produced by theconditionallabeled alternative inJavascriptParser.expression().Visit a parse tree produced by theexternallabeled alternative inJavascriptParser.expression().Visit a parse tree produced by themuldivlabeled alternative inJavascriptParser.expression().Visit a parse tree produced by thenumericlabeled alternative inJavascriptParser.expression().Visit a parse tree produced by theprecedencelabeled alternative inJavascriptParser.expression().Visit a parse tree produced by theunarylabeled alternative inJavascriptParser.expression().Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Method Details
-
visitCompile
Visit a parse tree produced byJavascriptParser.compile().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditional
Visit a parse tree produced by theconditionallabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolor
Visit a parse tree produced by theboolorlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolcomp
Visit a parse tree produced by theboolcomplabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumeric
Visit a parse tree produced by thenumericlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAddsub
Visit a parse tree produced by theaddsublabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnary
Visit a parse tree produced by theunarylabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrecedence
Visit a parse tree produced by theprecedencelabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMuldiv
Visit a parse tree produced by themuldivlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternal
Visit a parse tree produced by theexternallabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBwshift
Visit a parse tree produced by thebwshiftlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBwor
Visit a parse tree produced by thebworlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooland
Visit a parse tree produced by theboolandlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBwxor
Visit a parse tree produced by thebwxorlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBwand
Visit a parse tree produced by thebwandlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleqne
Visit a parse tree produced by thebooleqnelabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-