Lines Matching refs:value
104 public KCode toInverseCode(KCode value) {
114 value = new KCode(cast).app("(", value).app(")");
117 case '+': // const + x = value => x = value - const
118 return varExpr.toInverseCode(value.app(" - (", constExpr.toCode()).app(")"));
119 case '*': // const * x = value => x = value / const
120 return varExpr.toInverseCode(value.app(" / (", constExpr.toCode()).app(")"));
122 if (!left.isDynamic()) { // const - x = value => x = const - value)
125 .app(") - (", value)
127 } else { // x - const = value => x = value + const)
128 return varExpr.toInverseCode(value.app(" + ", constExpr.toCode()));
131 if (!left.isDynamic()) { // const / x = value => x = const / value
134 .app(") / (", value)
136 } else { // x / const = value => x = value * const
138 .app("", value)