Class NegatedOperandOf

java.lang.Object
org.ek9lang.compiler.phase1.NegatedOperandOf
All Implemented Interfaces:
Function<EK9Parser.ExpressionContext, EK9Parser.ExpressionContext>, UnaryOperator<EK9Parser.ExpressionContext>

final class NegatedOperandOf extends Object implements UnaryOperator<EK9Parser.ExpressionContext>
THE operand a negation (IsNegation) is applied to, looking through parentheses (Q8): in not (not b) and -(-x) the operand of the outer negation is the inner one. Parentheses group; they do not change what is negated. Part of BinaryExpressions.