|
Groovy 1.8.4 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.classgen.asm.BinaryExpressionWriter
public abstract class BinaryExpressionWriter extends Object
Field Summary | |
---|---|
protected static int[] |
stdCompareCodes
|
Constructor Summary | |
BinaryExpressionWriter(WriterController controller)
|
Method Summary | |
---|---|
boolean
|
arrayGet(int operation, boolean simulate)
|
boolean
|
arraySet(boolean simulate)
|
protected void
|
doubleTwoOperands(org.objectweb.asm.MethodVisitor mv)
|
protected MethodCaller
|
getArrayGetCaller()
|
protected ClassNode
|
getArrayGetResultType()
|
protected MethodCaller
|
getArraySetCaller()
|
protected int
|
getBitwiseOperationBytecode(int type)
|
protected int
|
getCompareCode()
|
protected ClassNode
|
getDevisionOpResultType()
|
protected ClassNode
|
getNormalOpResultType()
|
protected int
|
getShiftOperationBytecode(int type)
|
protected int
|
getStandardOperationBytecode(int type)
|
protected void
|
removeTwoOperands(org.objectweb.asm.MethodVisitor mv)
|
protected boolean
|
supportsDivision()
|
boolean
|
write(int operation, boolean simulate)
|
protected boolean
|
writeBitwiseOp(int type, boolean simulate)
writes some the bitwise operations. type is one of BITWISE_OR, BITWISE_AND, BIWISE_XOR |
protected boolean
|
writeDivision(boolean simulate)
|
protected void
|
writeMinusMinus(org.objectweb.asm.MethodVisitor mv)
|
protected void
|
writePlusPlus(org.objectweb.asm.MethodVisitor mv)
|
boolean
|
writePostOrPrefixMethod(int operation, boolean simulate)
|
protected boolean
|
writeShiftOp(int type, boolean simulate)
Write shifting operations. |
protected boolean
|
writeSpaceship(int type, boolean simulate)
|
protected boolean
|
writeStdCompare(int type, boolean simulate)
writes some int standard operations. type is one of IADD, ISUB, IMUL, IDIV or IREM |
protected boolean
|
writeStdOperators(int type, boolean simulate)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail |
---|
protected static final int[] stdCompareCodes
Constructor Detail |
---|
public BinaryExpressionWriter(WriterController controller)
Method Detail |
---|
public boolean arrayGet(int operation, boolean simulate)
public boolean arraySet(boolean simulate)
protected void doubleTwoOperands(org.objectweb.asm.MethodVisitor mv)
protected MethodCaller getArrayGetCaller()
protected ClassNode getArrayGetResultType()
protected MethodCaller getArraySetCaller()
protected int getBitwiseOperationBytecode(int type)
protected int getCompareCode()
protected ClassNode getDevisionOpResultType()
protected ClassNode getNormalOpResultType()
protected int getShiftOperationBytecode(int type)
protected int getStandardOperationBytecode(int type)
protected void removeTwoOperands(org.objectweb.asm.MethodVisitor mv)
protected boolean supportsDivision()
public boolean write(int operation, boolean simulate)
protected boolean writeBitwiseOp(int type, boolean simulate)
type
- the token type
protected boolean writeDivision(boolean simulate)
protected void writeMinusMinus(org.objectweb.asm.MethodVisitor mv)
protected void writePlusPlus(org.objectweb.asm.MethodVisitor mv)
public boolean writePostOrPrefixMethod(int operation, boolean simulate)
protected boolean writeShiftOp(int type, boolean simulate)
type
- the token type
protected boolean writeSpaceship(int type, boolean simulate)
protected boolean writeStdCompare(int type, boolean simulate)
type
- the token type
protected boolean writeStdOperators(int type, boolean simulate)
Copyright © 2003-2011 The Codehaus. All rights reserved.