Groovy 1.8.6

org.codehaus.groovy.classgen.asm
[Java] Class BinaryExpressionMultiTypeDispatcher

java.lang.Object
  org.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.

Authors:
Jochen "blackdrag" Theodorou
Roshan Dawrani


Field Summary
static Map typeMap

static String[] typeMapKeyNames

 
Method Summary
def BinaryExpressionMultiTypeDispatcher(WriterController wc)

protected void assignToArray(Expression orig, Expression receiver, Expression index, Expression rhsValueLoader)

protected void evaluateBinaryExpression(String message, BinaryExpression binExp)

protected void evaluateBinaryExpressionWithAssignment(String method, BinaryExpression binExp)

protected void evaluateCompareExpression(MethodCaller compareMethod, BinaryExpression binExp)

protected void writePostOrPrefixMethod(int op, String method, Expression expression, Expression orig)

 
Methods inherited from class BinaryExpressionHelper
assignToArray, eval, evaluateBinaryExpression, evaluateBinaryExpressionWithAssignment, evaluateCompareExpression, evaluateEqual, evaluatePostfixMethod, evaluatePrefixMethod, evaluateTernary, getController, getIsCaseMethod, writePostOrPrefixMethod
 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

typeMap

public static Map typeMap


typeMapKeyNames

public static final String[] typeMapKeyNames


 
Method Detail

BinaryExpressionMultiTypeDispatcher

public def BinaryExpressionMultiTypeDispatcher(WriterController wc)


assignToArray

@Override
protected void assignToArray(Expression orig, Expression receiver, Expression index, Expression rhsValueLoader)


evaluateBinaryExpression

@Override
protected void evaluateBinaryExpression(String message, BinaryExpression binExp)


evaluateBinaryExpressionWithAssignment

@Override
protected void evaluateBinaryExpressionWithAssignment(String method, BinaryExpression binExp)


evaluateCompareExpression

@Override
protected void evaluateCompareExpression(MethodCaller compareMethod, BinaryExpression binExp)


writePostOrPrefixMethod

@Override
protected void writePostOrPrefixMethod(int op, String method, Expression expression, Expression orig)


 

Copyright © 2003-2012 The Codehaus. All rights reserved.