Package org.codehaus.groovy.classgen.asm
Class BinaryExpressionHelper
java.lang.Object
org.codehaus.groovy.classgen.asm.BinaryExpressionHelper
- Direct Known Subclasses:
BinaryExpressionMultiTypeDispatcher
,IndyBinHelper
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
assignToArray
(Expression parent, Expression receiver, Expression index, Expression rhsValueLoader, boolean safe) void
eval
(BinaryExpression expression) protected void
evaluateArrayAssignmentWithOperator
(String method, BinaryExpression expression, BinaryExpression leftBinExpr) protected void
evaluateBinaryExpression
(String message, BinaryExpression expression) protected void
evaluateBinaryExpressionWithAssignment
(String method, BinaryExpression expression) protected void
evaluateCompareExpression
(MethodCaller compareMethod, BinaryExpression expression) void
evaluateElvisEqual
(BinaryExpression expression) void
evaluateEqual
(BinaryExpression expression, boolean defineVariable) void
evaluatePostfixMethod
(PostfixExpression expression) void
evaluatePrefixMethod
(PrefixExpression expression) void
evaluateTernary
(TernaryExpression expression) protected void
writePostOrPrefixMethod
(int op, String method, Expression expression, Expression orig)
-
Field Details
-
controller
-
-
Constructor Details
-
BinaryExpressionHelper
-
-
Method Details
-
getController
-
getIsCaseMethod
-
eval
-
assignToArray
protected void assignToArray(Expression parent, Expression receiver, Expression index, Expression rhsValueLoader, boolean safe) -
evaluateElvisEqual
-
evaluateEqual
-
evaluateCompareExpression
-
evaluateBinaryExpression
-
evaluateArrayAssignmentWithOperator
protected void evaluateArrayAssignmentWithOperator(String method, BinaryExpression expression, BinaryExpression leftBinExpr) -
evaluateBinaryExpressionWithAssignment
-
evaluatePostfixMethod
-
evaluatePrefixMethod
-
writePostOrPrefixMethod
protected void writePostOrPrefixMethod(int op, String method, Expression expression, Expression orig) -
evaluateTernary
-