Class QueryLanguageParser
java.lang.Object
com.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,QueryLanguageParser.VisitArgs>
io.deephaven.engine.table.impl.lang.QueryLanguageParser
- All Implemented Interfaces:
com.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs>
public final class QueryLanguageParser
extends com.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,QueryLanguageParser.VisitArgs>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
static class
static class
-
Field Summary
-
Constructor Summary
ConstructorDescriptionQueryLanguageParser
(String expression, Collection<Package> packageImports, Collection<Class<?>> classImports, Collection<Class<?>> staticImports, Map<String, Class<?>> variables, Map<String, Class<?>[]> variableTypeArguments, @Nullable Map<String, Object> queryScopeVariables, @Nullable Set<String> columnVariables, boolean unboxArguments, @Nullable TimeLiteralReplacedExpression timeConversionResult) Create a QueryLanguageParser and parse the givenexpression
. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
convertBackticks
(String expression) Convert backticks into double-quote characters, unless the backticks are already enclosed in double-quotes.static String
convertSingleEquals
(String expression) Convert single equals signs (the assignment operator) to double-equals signs (equality operator).static String
getOperatorSymbol
(com.github.javaparser.ast.expr.BinaryExpr.Operator op) Retrieves the result of the parser, which includes the translated expression, its return type, and the variables it uses.static boolean
isTypedVector
(Class<?> type) static boolean
isWideningPrimitiveConversion
(Class<?> original, Class<?> target) Checks whether the conversion fromoriginal
totarget
is a widening primitive conversion.Class<?>
visit
(com.github.javaparser.ast.body.AnnotationDeclaration n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.body.AnnotationMemberDeclaration n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.body.ConstructorDeclaration n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.body.EnumConstantDeclaration n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.body.EnumDeclaration n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.body.FieldDeclaration n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.body.InitializerDeclaration n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.body.MethodDeclaration n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.body.Parameter n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.body.VariableDeclarator n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.comments.BlockComment n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.comments.JavadocComment n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.comments.LineComment n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.CompilationUnit n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.ArrayAccessExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.ArrayCreationExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.ArrayInitializerExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.AssignExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.BinaryExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.BooleanLiteralExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.CastExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.CharLiteralExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.ClassExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.ConditionalExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.DoubleLiteralExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.EnclosedExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.FieldAccessExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.InstanceOfExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.IntegerLiteralExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.LambdaExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.LongLiteralExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.MarkerAnnotationExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.MemberValuePair n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.MethodCallExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.MethodReferenceExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.NameExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.NormalAnnotationExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.NullLiteralExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.ObjectCreationExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.SingleMemberAnnotationExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.StringLiteralExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.SuperExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.ThisExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.TypeExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.UnaryExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.expr.VariableDeclarationExpr n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.ImportDeclaration n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.PackageDeclaration n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.AssertStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.BlockStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.BreakStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.CatchClause n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.ContinueStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.DoStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.EmptyStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.ExpressionStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.ForStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.IfStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.LabeledStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.ReturnStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.SwitchStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.SynchronizedStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.ThrowStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.TryStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.stmt.WhileStmt n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.type.ArrayType n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.type.ClassOrInterfaceType n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.type.PrimitiveType n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.type.TypeParameter n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.type.VoidType n, QueryLanguageParser.VisitArgs printer) Class<?>
visit
(com.github.javaparser.ast.type.WildcardType n, QueryLanguageParser.VisitArgs printer) Methods inherited from class com.github.javaparser.ast.visitor.GenericVisitorAdapter
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Field Details
-
NULL_CLASS
-
-
Constructor Details
-
QueryLanguageParser
public QueryLanguageParser(String expression, Collection<Package> packageImports, Collection<Class<?>> classImports, Collection<Class<?>> staticImports, Map<String, Class<?>> variables, Map<String, throws QueryLanguageParser.QueryLanguageParseExceptionClass<?>[]> variableTypeArguments, @Nullable @Nullable Map<String, Object> queryScopeVariables, @Nullable @Nullable Set<String> columnVariables, boolean unboxArguments, @Nullable @Nullable TimeLiteralReplacedExpression timeConversionResult) Create a QueryLanguageParser and parse the givenexpression
. After construction, theresult
of parsing theexpression
is available with thegetResult()
} method.Note that the provided Collections and Maps must not be mutated concurrently with or after construction.
- Parameters:
expression
- The query language expression to parsepackageImports
- Wildcard package importsclassImports
- Individual class importsstaticImports
- Wildcard static imports. All static variables and methods for the given classes are imported.variables
- A map of the names of scope variables to their typesvariableTypeArguments
- A map of the names of scope variables to their type argumentsqueryScopeVariables
- A map of the names of query scope variables to their valuescolumnVariables
- A set of column variable namesunboxArguments
- If true it will unbox the query scope argumentstimeConversionResult
- The result of converting time literals in the expression- Throws:
QueryLanguageParser.QueryLanguageParseException
- If any exception or error is encountered
-
-
Method Details
-
getResult
Retrieves the result of the parser, which includes the translated expression, its return type, and the variables it uses. -
convertSingleEquals
Convert single equals signs (the assignment operator) to double-equals signs (equality operator). The parser will then replace the equality operator with an appropriate equality-checking methods. Assignments are not supported.This method does not have any special handling for backticks; accordingly this method should be run after
convertBackticks(String)
.- Parameters:
expression
- The expression to convert- Returns:
- The expression, with unescaped single-equals signs converted to the equality operator (double-equals)
-
convertBackticks
Convert backticks into double-quote characters, unless the backticks are already enclosed in double-quotes.Also, within backticks, double-quotes are automatically re-escaped. For example, in the following string "`This expression uses \"double quotes\"!`" The string will be converted to: "\"This expression uses \\\"double quotes\\\"!\""
- Parameters:
expression
- The expression to convert- Returns:
- The expression, with backticks and double-quotes appropriately converted and escaped
-
getOperatorSymbol
-
isTypedVector
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.NameExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.type.PrimitiveType n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.ArrayAccessExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.BinaryExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.UnaryExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.CastExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
isWideningPrimitiveConversion
Checks whether the conversion fromoriginal
totarget
is a widening primitive conversion. The arguments must be primitive types (not boxed types).This method return false if
original
andtarget
represent the same type, as such a conversion is the identity conversion, not a widening conversion.See the JLS for more info.
- Parameters:
original
- The type to convert from.target
- The type to convert to.- Returns:
true
if a conversion fromoriginal
totarget
is a widening conversion; otherwise,false
.
-
visit
public Class<?> visit(com.github.javaparser.ast.type.ClassOrInterfaceType n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.type.ArrayType n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.ConditionalExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.EnclosedExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.FieldAccessExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.CharLiteralExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.DoubleLiteralExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.IntegerLiteralExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.LongLiteralExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.StringLiteralExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.BooleanLiteralExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.NullLiteralExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.MethodCallExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.ExpressionStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.ObjectCreationExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.ArrayCreationExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.ArrayInitializerExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.ClassExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.TypeExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.MethodReferenceExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.body.AnnotationDeclaration n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.body.AnnotationMemberDeclaration n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.AssertStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.AssignExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.comments.BlockComment n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.BlockStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.BreakStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.CatchClause n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.body.ClassOrInterfaceDeclaration n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.CompilationUnit n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.body.ConstructorDeclaration n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.ContinueStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.DoStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.EmptyStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.body.EnumConstantDeclaration n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.body.EnumDeclaration n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.ExplicitConstructorInvocationStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.body.FieldDeclaration n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.ForStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.IfStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.ImportDeclaration n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.body.InitializerDeclaration n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.InstanceOfExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.comments.JavadocComment n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.LabeledStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.LambdaExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.comments.LineComment n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.MarkerAnnotationExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.MemberValuePair n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.body.MethodDeclaration n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.NormalAnnotationExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.PackageDeclaration n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.body.Parameter n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.ReturnStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.SingleMemberAnnotationExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.SuperExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.SwitchStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.SynchronizedStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.ThisExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.ThrowStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.TryStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.type.TypeParameter n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.expr.VariableDeclarationExpr n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.body.VariableDeclarator n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.type.VoidType n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.stmt.WhileStmt n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-
visit
public Class<?> visit(com.github.javaparser.ast.type.WildcardType n, QueryLanguageParser.VisitArgs printer) - Specified by:
visit
in interfacecom.github.javaparser.ast.visitor.GenericVisitor<Class<?>,
QueryLanguageParser.VisitArgs> - Overrides:
visit
in classcom.github.javaparser.ast.visitor.GenericVisitorAdapter<Class<?>,
QueryLanguageParser.VisitArgs>
-