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 byJavascriptParser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TvisitAddsub(JavascriptParser.AddsubContext ctx)Visit a parse tree produced by theaddsublabeled alternative inJavascriptParser.expression().TvisitBooland(JavascriptParser.BoolandContext ctx)Visit a parse tree produced by theboolandlabeled alternative inJavascriptParser.expression().TvisitBoolcomp(JavascriptParser.BoolcompContext ctx)Visit a parse tree produced by theboolcomplabeled alternative inJavascriptParser.expression().TvisitBooleqne(JavascriptParser.BooleqneContext ctx)Visit a parse tree produced by thebooleqnelabeled alternative inJavascriptParser.expression().TvisitBoolor(JavascriptParser.BoolorContext ctx)Visit a parse tree produced by theboolorlabeled alternative inJavascriptParser.expression().TvisitBwand(JavascriptParser.BwandContext ctx)Visit a parse tree produced by thebwandlabeled alternative inJavascriptParser.expression().TvisitBwor(JavascriptParser.BworContext ctx)Visit a parse tree produced by thebworlabeled alternative inJavascriptParser.expression().TvisitBwshift(JavascriptParser.BwshiftContext ctx)Visit a parse tree produced by thebwshiftlabeled alternative inJavascriptParser.expression().TvisitBwxor(JavascriptParser.BwxorContext ctx)Visit a parse tree produced by thebwxorlabeled alternative inJavascriptParser.expression().TvisitCompile(JavascriptParser.CompileContext ctx)Visit a parse tree produced byJavascriptParser.compile().TvisitConditional(JavascriptParser.ConditionalContext ctx)Visit a parse tree produced by theconditionallabeled alternative inJavascriptParser.expression().TvisitExternal(JavascriptParser.ExternalContext ctx)Visit a parse tree produced by theexternallabeled alternative inJavascriptParser.expression().TvisitMuldiv(JavascriptParser.MuldivContext ctx)Visit a parse tree produced by themuldivlabeled alternative inJavascriptParser.expression().TvisitNumeric(JavascriptParser.NumericContext ctx)Visit a parse tree produced by thenumericlabeled alternative inJavascriptParser.expression().TvisitPrecedence(JavascriptParser.PrecedenceContext ctx)Visit a parse tree produced by theprecedencelabeled alternative inJavascriptParser.expression().TvisitUnary(JavascriptParser.UnaryContext ctx)Visit a parse tree produced by theunarylabeled alternative inJavascriptParser.expression().
-
-
-
Method Detail
-
visitCompile
T visitCompile(JavascriptParser.CompileContext ctx)
Visit a parse tree produced byJavascriptParser.compile().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitConditional
T visitConditional(JavascriptParser.ConditionalContext ctx)
Visit a parse tree produced by theconditionallabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolor
T visitBoolor(JavascriptParser.BoolorContext ctx)
Visit a parse tree produced by theboolorlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBoolcomp
T visitBoolcomp(JavascriptParser.BoolcompContext ctx)
Visit a parse tree produced by theboolcomplabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitNumeric
T visitNumeric(JavascriptParser.NumericContext ctx)
Visit a parse tree produced by thenumericlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitAddsub
T visitAddsub(JavascriptParser.AddsubContext ctx)
Visit a parse tree produced by theaddsublabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitUnary
T visitUnary(JavascriptParser.UnaryContext ctx)
Visit a parse tree produced by theunarylabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPrecedence
T visitPrecedence(JavascriptParser.PrecedenceContext ctx)
Visit a parse tree produced by theprecedencelabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMuldiv
T visitMuldiv(JavascriptParser.MuldivContext ctx)
Visit a parse tree produced by themuldivlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExternal
T visitExternal(JavascriptParser.ExternalContext ctx)
Visit a parse tree produced by theexternallabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBwshift
T visitBwshift(JavascriptParser.BwshiftContext ctx)
Visit a parse tree produced by thebwshiftlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBwor
T visitBwor(JavascriptParser.BworContext ctx)
Visit a parse tree produced by thebworlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooland
T visitBooland(JavascriptParser.BoolandContext ctx)
Visit a parse tree produced by theboolandlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBwxor
T visitBwxor(JavascriptParser.BwxorContext ctx)
Visit a parse tree produced by thebwxorlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBwand
T visitBwand(JavascriptParser.BwandContext ctx)
Visit a parse tree produced by thebwandlabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitBooleqne
T visitBooleqne(JavascriptParser.BooleqneContext ctx)
Visit a parse tree produced by thebooleqnelabeled alternative inJavascriptParser.expression().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-