Lines Matching refs:left
128 // Constructs a JavaScript snippet that evaluates and compares the left and
135 std::string BuildJSCondition(std::string left, std::string right) {
136 return "var leftval = " + left + ";" +
142 left + " [\" + leftval + \"] != " +
191 // The property on the left will be set to the value on the right, then
202 std::string left = tests[i];
204 // left = right;
205 std::string js = left;
209 js.append(BuildJSCondition(left, right));
234 // The expression on the left is expected to return the value on the right.
262 std::string left = tests[i];
264 std::string js = BuildJSCondition(left, right);