Class ASTUnaryExpressionNotPlusMinus

  • All Implemented Interfaces:
    Node, JavaNode, TypeNode, ScopedNode

    public class ASTUnaryExpressionNotPlusMinus
    extends AbstractJavaTypeNode
    Represents a boolean negation or bitwise inverse operation. This has the same precedence as UnaryExpression and the like.

    Note that the child of this node is not necessarily an ASTUnaryExpression, rather, it can be an expression with an operator precedence greater or equal to a UnaryExpression.

    
     UnaryExpressionNotPlusMinus ::=  ( "~" | "!" ) UnaryExpression
    
     
    • Method Detail

      • getOperator

        public String getOperator()
        Returns the image of this unary operator, i.e. "~" or "!".