|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.classgen.asm.UnaryExpressionHelper
public class UnaryExpressionHelper extends Object
A helper class used to generate bytecode for unary expressions. AST transformations willing to use a custom unary expression helper may set the WriterControllerFactory node metadata on a class node to provide a custom WriterController which would in turn use a custom expression helper.
Constructor Summary | |
UnaryExpressionHelper(WriterController controller)
|
Method Summary | |
---|---|
void
|
writeBitwiseNegate(BitwiseNegationExpression expression)
|
void
|
writeNotExpression(NotExpression expression)
|
void
|
writeUnaryMinus(UnaryMinusExpression expression)
|
void
|
writeUnaryPlus(UnaryPlusExpression expression)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Constructor Detail |
---|
public UnaryExpressionHelper(WriterController controller)
Method Detail |
---|
public void writeBitwiseNegate(BitwiseNegationExpression expression)
public void writeNotExpression(NotExpression expression)
public void writeUnaryMinus(UnaryMinusExpression expression)
public void writeUnaryPlus(UnaryPlusExpression expression)
Copyright © 2003-2013 The Codehaus. All rights reserved.