|
Groovy 1.8.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.classgen.asm.BinaryExpressionHelper
org.codehaus.groovy.classgen.asm.BinaryIntExpressionHelper
public class BinaryIntExpressionHelper extends BinaryExpressionHelper
Field Summary | |
---|---|
static int |
LEFT_SHIFT
|
static int |
RIGHT_SHIFT
|
static int |
RIGHT_SHIFT_UNSIGNED
|
Constructor Summary | |
BinaryIntExpressionHelper(WriterController wc)
|
Method Summary | |
---|---|
protected void
|
assignToArray(Expression orig, Expression receiver, Expression index, Expression rhsValueLoader)
|
protected void
|
evaluateBinaryExpression(String message, BinaryExpression binExp)
|
protected void
|
evaluateCompareExpression(MethodCaller compareMethod, BinaryExpression binExp)
|
protected static ClassNode
|
getType(Expression exp, ClassNode current)
return the type of an expression, taking meta data into account |
protected static boolean
|
isIntOperand(Expression exp, ClassNode current)
@return true if expression is an evals to an int |
Methods inherited from class BinaryExpressionHelper | |
---|---|
assignToArray, eval, evaluateBinaryExpression, evaluateCompareExpression, evaluateEqual, evaluatePostfixMethod, evaluatePrefixMethod, getIsCaseMethod |
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
public static final int LEFT_SHIFT
public static final int RIGHT_SHIFT
public static final int RIGHT_SHIFT_UNSIGNED
Constructor Detail |
---|
public BinaryIntExpressionHelper(WriterController wc)
Method Detail |
---|
@Override protected void assignToArray(Expression orig, Expression receiver, Expression index, Expression rhsValueLoader)
@Override protected void evaluateBinaryExpression(String message, BinaryExpression binExp)
@Override protected void evaluateCompareExpression(MethodCaller compareMethod, BinaryExpression binExp)
protected static ClassNode getType(Expression exp, ClassNode current)
protected static boolean isIntOperand(Expression exp, ClassNode current)
Copyright © 2003-2010 The Codehaus. All rights reserved.