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.
Modifiers | Name | Description |
---|---|---|
protected WriterController |
controller |
Constructor and description |
---|
UnaryExpressionHelper(WriterController controller) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
writeBitwiseNegate(BitwiseNegationExpression expression) |
|
public void |
writeNotExpression(NotExpression expression) |
|
public void |
writeUnaryMinus(UnaryMinusExpression expression) |
|
public void |
writeUnaryPlus(UnaryPlusExpression expression) |
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.