Package org.codehaus.groovy.classgen.asm
Class BinaryFloatExpressionHelper
- java.lang.Object
 - 
- org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
 - 
- org.codehaus.groovy.classgen.asm.BinaryFloatExpressionHelper
 
 
 
- 
public class BinaryFloatExpressionHelper extends BinaryExpressionWriter
 
- 
- 
Field Summary
- 
Fields inherited from class org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
stdCompareCodes 
 - 
 
- 
Constructor Summary
Constructors Constructor Description BinaryFloatExpressionHelper(WriterController controller) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoubleTwoOperands(org.objectweb.asm.MethodVisitor mv)protected intgetBitwiseOperationBytecode(int type)protected intgetCompareCode()protected ClassNodegetDevisionOpResultType()protected ClassNodegetNormalOpResultType()protected intgetShiftOperationBytecode(int type)protected intgetStandardOperationBytecode(int type)protected voidremoveTwoOperands(org.objectweb.asm.MethodVisitor mv)protected booleanwriteBitwiseOp(int type, boolean simulate)writes some the bitwise operations.protected voidwriteMinusMinus(org.objectweb.asm.MethodVisitor mv)protected voidwritePlusPlus(org.objectweb.asm.MethodVisitor mv)protected booleanwriteShiftOp(int type, boolean simulate)Write shifting operations.- 
Methods inherited from class org.codehaus.groovy.classgen.asm.BinaryExpressionWriter
arrayGet, arraySet, getArrayGetCaller, getArrayGetResultType, getArraySetCaller, getController, setArraySetAndGet, supportsDivision, write, writeDivision, writePostOrPrefixMethod, writeSpaceship, writeStdCompare, writeStdOperators 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
BinaryFloatExpressionHelper
public BinaryFloatExpressionHelper(WriterController controller)
 
 - 
 
- 
Method Detail
- 
doubleTwoOperands
protected void doubleTwoOperands(org.objectweb.asm.MethodVisitor mv)
- Specified by:
 doubleTwoOperandsin classBinaryExpressionWriter
 
- 
writeBitwiseOp
protected boolean writeBitwiseOp(int type, boolean simulate)Description copied from class:BinaryExpressionWriterwrites some the bitwise operations. type is one of BITWISE_OR, BITWISE_AND, BITWISE_XOR- Overrides:
 writeBitwiseOpin classBinaryExpressionWriter- Parameters:
 type- the token type- Returns:
 - true if a successful bitwise operation write
 
 
- 
getBitwiseOperationBytecode
protected int getBitwiseOperationBytecode(int type)
- Specified by:
 getBitwiseOperationBytecodein classBinaryExpressionWriter
 
- 
getCompareCode
protected int getCompareCode()
- Specified by:
 getCompareCodein classBinaryExpressionWriter
 
- 
getNormalOpResultType
protected ClassNode getNormalOpResultType()
- Specified by:
 getNormalOpResultTypein classBinaryExpressionWriter
 
- 
writeShiftOp
protected boolean writeShiftOp(int type, boolean simulate)Description copied from class:BinaryExpressionWriterWrite shifting operations. Type is one of LEFT_SHIFT, RIGHT_SHIFT, or RIGHT_SHIFT_UNSIGNED- Overrides:
 writeShiftOpin classBinaryExpressionWriter- Parameters:
 type- the token type- Returns:
 - true on a successful shift operation write
 
 
- 
getShiftOperationBytecode
protected int getShiftOperationBytecode(int type)
- Specified by:
 getShiftOperationBytecodein classBinaryExpressionWriter
 
- 
getStandardOperationBytecode
protected int getStandardOperationBytecode(int type)
- Specified by:
 getStandardOperationBytecodein classBinaryExpressionWriter
 
- 
removeTwoOperands
protected void removeTwoOperands(org.objectweb.asm.MethodVisitor mv)
- Specified by:
 removeTwoOperandsin classBinaryExpressionWriter
 
- 
writeMinusMinus
protected void writeMinusMinus(org.objectweb.asm.MethodVisitor mv)
- Specified by:
 writeMinusMinusin classBinaryExpressionWriter
 
- 
writePlusPlus
protected void writePlusPlus(org.objectweb.asm.MethodVisitor mv)
- Specified by:
 writePlusPlusin classBinaryExpressionWriter
 
- 
getDevisionOpResultType
protected ClassNode getDevisionOpResultType()
- Specified by:
 getDevisionOpResultTypein classBinaryExpressionWriter
 
 - 
 
 -