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