org.codehaus.groovy.classgen.asm.sc
[Java] Class StaticTypesBinaryExpressionMultiTypeDispatcher
java.lang.Object
org.codehaus.groovy.classgen.asm.BinaryExpressionHelper
org.codehaus.groovy.classgen.asm.BinaryExpressionMultiTypeDispatcher
org.codehaus.groovy.classgen.asm.sc.StaticTypesBinaryExpressionMultiTypeDispatcher
- All Implemented Interfaces:
- org.objectweb.asm.Opcodes
public class StaticTypesBinaryExpressionMultiTypeDispatcher
extends BinaryExpressionMultiTypeDispatcher
A specialized version of the multi type binary expression dispatcher which is aware of static compilation.
It is able to generate optimized bytecode for some operations using JVM instructions when available.
- Authors:
- Cedric Champeau
Methods inherited from class BinaryExpressionMultiTypeDispatcher
|
eval, getController, evaluateTernary, evaluateEqual, evaluatePostfixMethod, evaluatePrefixMethod, getIsCaseMethod, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Methods inherited from class BinaryExpressionHelper
|
eval, getController, evaluateTernary, evaluateEqual, evaluatePostfixMethod, evaluatePrefixMethod, getIsCaseMethod, wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
StaticTypesBinaryExpressionMultiTypeDispatcher
public StaticTypesBinaryExpressionMultiTypeDispatcher(WriterController wc)
-
assignToArray
protected void assignToArray(Expression parent, Expression receiver, Expression index, Expression rhsValueLoader)
-
evaluateEqual
@Override
public void evaluateEqual(BinaryExpression expression, boolean defineVariable)
-
writePostOrPrefixMethod
@Override
protected void writePostOrPrefixMethod(int op, String method, Expression expression, Expression orig)
-
Copyright © 2003-2013 The Codehaus. All rights reserved.