public class GroovyASTUnsupportedAnalyzerVisitor
extends org.codehaus.groovy.ast.CodeVisitorSupport
Expressions
in the AST if they
can be translated to OQL and flags the Expression
objects
accordingly.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MDKEY_UNSUPPORTED_IN_OQL |
Constructor and Description |
---|
GroovyASTUnsupportedAnalyzerVisitor(EntityI _entity) |
Modifier and Type | Method and Description |
---|---|
void |
collectAndMarkUnsupportedInOQL(org.codehaus.groovy.ast.expr.Expression _expr,
org.codehaus.groovy.ast.expr.Expression[] _exprs) |
EntityI |
getEntity() |
static java.lang.Boolean |
isUnsupportedInOQL(org.codehaus.groovy.ast.expr.Expression _expr) |
static boolean |
isUnsupportedInOQLNN(org.codehaus.groovy.ast.expr.Expression _expr) |
static boolean |
isUnsupportedInOQLNN(org.codehaus.groovy.ast.expr.Expression _expr,
boolean _default) |
void |
markUnsupportedInOQL(org.codehaus.groovy.ast.expr.Expression _expr) |
void |
markUnsupportedInOQL(org.codehaus.groovy.ast.expr.Expression _expr,
java.lang.Boolean _value) |
void |
setEntity(EntityI $9) |
void |
visitArgumentlistExpression(org.codehaus.groovy.ast.expr.ArgumentListExpression _expr) |
void |
visitBinaryExpression(org.codehaus.groovy.ast.expr.BinaryExpression _expr) |
void |
visitConstantExpression(org.codehaus.groovy.ast.expr.ConstantExpression _expr) |
void |
visitMethodCallExpression(org.codehaus.groovy.ast.expr.MethodCallExpression _expr) |
void |
visitNotExpression(org.codehaus.groovy.ast.expr.NotExpression _expr) |
void |
visitPropertyExpression(org.codehaus.groovy.ast.expr.PropertyExpression _expr) |
void |
visitVariableExpression(org.codehaus.groovy.ast.expr.VariableExpression _expr) |
visitArrayExpression, visitAssertStatement, visitAttributeExpression, visitBitwiseNegationExpression, visitBlockStatement, visitBooleanExpression, visitBreakStatement, visitBytecodeExpression, visitCaseStatement, visitCastExpression, visitCatchStatement, visitClassExpression, visitClosureExpression, visitClosureListExpression, visitConstructorCallExpression, visitContinueStatement, visitDeclarationExpression, visitDoWhileLoop, visitExpressionStatement, visitFieldExpression, visitForLoop, visitGStringExpression, visitIfElse, visitListExpression, visitMapEntryExpression, visitMapExpression, visitMethodPointerExpression, visitPostfixExpression, visitPrefixExpression, visitRangeExpression, visitReturnStatement, visitShortTernaryExpression, visitSpreadExpression, visitSpreadMapExpression, visitStaticMethodCallExpression, visitSwitch, visitSynchronizedStatement, visitTernaryExpression, visitThrowStatement, visitTryCatchFinally, visitTupleExpression, visitUnaryMinusExpression, visitUnaryPlusExpression, visitWhileLoop
public static final java.lang.String MDKEY_UNSUPPORTED_IN_OQL
public GroovyASTUnsupportedAnalyzerVisitor(EntityI _entity)
public static boolean isUnsupportedInOQLNN(org.codehaus.groovy.ast.expr.Expression _expr)
public static boolean isUnsupportedInOQLNN(org.codehaus.groovy.ast.expr.Expression _expr, boolean _default)
public static java.lang.Boolean isUnsupportedInOQL(org.codehaus.groovy.ast.expr.Expression _expr)
public void markUnsupportedInOQL(org.codehaus.groovy.ast.expr.Expression _expr)
public void markUnsupportedInOQL(org.codehaus.groovy.ast.expr.Expression _expr, java.lang.Boolean _value)
public void collectAndMarkUnsupportedInOQL(org.codehaus.groovy.ast.expr.Expression _expr, org.codehaus.groovy.ast.expr.Expression[] _exprs)
public void visitBinaryExpression(org.codehaus.groovy.ast.expr.BinaryExpression _expr)
visitBinaryExpression
in interface org.codehaus.groovy.ast.GroovyCodeVisitor
visitBinaryExpression
in class org.codehaus.groovy.ast.CodeVisitorSupport
public void visitNotExpression(org.codehaus.groovy.ast.expr.NotExpression _expr)
visitNotExpression
in interface org.codehaus.groovy.ast.GroovyCodeVisitor
visitNotExpression
in class org.codehaus.groovy.ast.CodeVisitorSupport
public void visitMethodCallExpression(org.codehaus.groovy.ast.expr.MethodCallExpression _expr)
visitMethodCallExpression
in interface org.codehaus.groovy.ast.GroovyCodeVisitor
visitMethodCallExpression
in class org.codehaus.groovy.ast.CodeVisitorSupport
public void visitPropertyExpression(org.codehaus.groovy.ast.expr.PropertyExpression _expr)
visitPropertyExpression
in interface org.codehaus.groovy.ast.GroovyCodeVisitor
visitPropertyExpression
in class org.codehaus.groovy.ast.CodeVisitorSupport
public void visitArgumentlistExpression(org.codehaus.groovy.ast.expr.ArgumentListExpression _expr)
visitArgumentlistExpression
in interface org.codehaus.groovy.ast.GroovyCodeVisitor
visitArgumentlistExpression
in class org.codehaus.groovy.ast.CodeVisitorSupport
public void visitConstantExpression(org.codehaus.groovy.ast.expr.ConstantExpression _expr)
visitConstantExpression
in interface org.codehaus.groovy.ast.GroovyCodeVisitor
visitConstantExpression
in class org.codehaus.groovy.ast.CodeVisitorSupport
public void visitVariableExpression(org.codehaus.groovy.ast.expr.VariableExpression _expr)
visitVariableExpression
in interface org.codehaus.groovy.ast.GroovyCodeVisitor
visitVariableExpression
in class org.codehaus.groovy.ast.CodeVisitorSupport
public EntityI getEntity()
public void setEntity(EntityI $9)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.