Package org.apache.lucene.expressions.js
Interface JavascriptVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for 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 theaddsub
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by thebooland
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by theboolcomp
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by thebooleqne
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by theboolor
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by thebwand
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by thebwor
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by thebwshift
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by thebwxor
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced byJavascriptParser.compile()
.Visit a parse tree produced by theconditional
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by theexternal
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by themuldiv
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by thenumeric
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by theprecedence
labeled alternative inJavascriptParser.expression()
.Visit a parse tree produced by theunary
labeled 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 theconditional
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBoolor
Visit a parse tree produced by theboolor
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBoolcomp
Visit a parse tree produced by theboolcomp
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumeric
Visit a parse tree produced by thenumeric
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAddsub
Visit a parse tree produced by theaddsub
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnary
Visit a parse tree produced by theunary
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrecedence
Visit a parse tree produced by theprecedence
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMuldiv
Visit a parse tree produced by themuldiv
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExternal
Visit a parse tree produced by theexternal
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBwshift
Visit a parse tree produced by thebwshift
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBwor
Visit a parse tree produced by thebwor
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBooland
Visit a parse tree produced by thebooland
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBwxor
Visit a parse tree produced by thebwxor
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBwand
Visit a parse tree produced by thebwand
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBooleqne
Visit a parse tree produced by thebooleqne
labeled alternative inJavascriptParser.expression()
.- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-