|
Groovy Documentation | |||||||
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.BinaryExpressionMultiTypeDispatcher
public class BinaryExpressionMultiTypeDispatcher extends BinaryExpressionHelper
This class is for internal use only! This class will dispatch to the right type adapters according to the kind of binary expression that is provided.
Field Summary | |
---|---|
protected BinaryExpressionWriter[] |
binExpWriter
|
static java.util.Map |
typeMap
|
static java.lang.String[] |
typeMapKeyNames
|
Method Summary | |
---|---|
java.lang.Object
|
BinaryExpressionMultiTypeDispatcher(WriterController wc)
|
protected void
|
assignToArray(Expression orig, Expression receiver, Expression index, Expression rhsValueLoader)
|
protected boolean
|
doPrimtiveCompare(ClassNode leftType, ClassNode rightType, BinaryExpression binExp)
|
protected void
|
evaluateBinaryExpression(java.lang.String message, BinaryExpression binExp)
|
protected void
|
evaluateBinaryExpressionWithAssignment(java.lang.String method, BinaryExpression binExp)
|
protected void
|
evaluateCompareExpression(MethodCaller compareMethod, BinaryExpression binExp)
|
protected int
|
getOperandType(ClassNode type)
|
protected BinaryExpressionWriter[]
|
initializeDelegateHelpers()
|
protected void
|
writePostOrPrefixMethod(int op, java.lang.String method, Expression expression, Expression orig)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
protected BinaryExpressionWriter[] binExpWriter
public static java.util.Map typeMap
public static final java.lang.String[] typeMapKeyNames
Method Detail |
---|
public java.lang.Object BinaryExpressionMultiTypeDispatcher(WriterController wc)
operandStack.doGroovyCast(arrayComponentType); protected void assignToArray(Expression orig, Expression receiver, Expression index, Expression rhsValueLoader)
protected boolean doPrimtiveCompare(ClassNode leftType, ClassNode rightType, BinaryExpression binExp)
@Override protected void evaluateBinaryExpression(java.lang.String message, BinaryExpression binExp)
binExp.getLeftExpression().visit(getController().getAcg()); protected void evaluateBinaryExpressionWithAssignment(java.lang.String method, BinaryExpression binExp)
@Override protected void evaluateCompareExpression(MethodCaller compareMethod, BinaryExpression binExp)
protected int getOperandType(ClassNode type)
protected BinaryExpressionWriter[] initializeDelegateHelpers()
protected void writePostOrPrefixMethod(int op, java.lang.String method, Expression expression, Expression orig)
Groovy Documentation