Class NegatedOperandOf
java.lang.Object
org.ek9lang.compiler.phase1.NegatedOperandOf
- All Implemented Interfaces:
Function<EK9Parser.ExpressionContext, EK9Parser.ExpressionContext>, 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.-
Constructor Details
-
NegatedOperandOf
NegatedOperandOf()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<EK9Parser.ExpressionContext, EK9Parser.ExpressionContext>
-