Package org.codehaus.groovy.classgen.asm
Class UnaryExpressionHelper
java.lang.Object
org.codehaus.groovy.classgen.asm.UnaryExpressionHelper
- Direct Known Subclasses:
StaticTypesUnaryExpressionHelper
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.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
writeBitwiseNegate
(BitwiseNegationExpression expression) void
writeNotExpression
(NotExpression expression) void
writeUnaryMinus
(UnaryMinusExpression expression) void
writeUnaryPlus
(UnaryPlusExpression expression)
-
Field Details
-
controller
-
-
Constructor Details
-
UnaryExpressionHelper
-
-
Method Details
-
writeUnaryPlus
-
writeUnaryMinus
-
writeBitwiseNegate
-
writeNotExpression
-