Lines Matching refs:last
60 var last = this.display[this.display.length - 1];
62 accumulator: last && last[0] || null,
63 operator: last && last[1] || null,
64 operand: last && last[2] || null
211 * adjust the last expected value array by setting only its accumulator value.
229 * of the last expected value array is set and changed as described in the
319 var last = expected[expected.length - 1];
320 var empty = (last && !last[0] && !last[1] && !last[2] && !last[3]);
321 var operand = last && last.slice(2).join('');
328 expected.splice(-1, 1, [operand, last[1], operand], ['', element, '']);
363 * - If the last of the passed in expected values arrays has an expected
367 * - If the last of the passed in expected values arrays has no expected
374 * - If the last of the passed in expected values arrays has a single
381 * - If the last of the passed in expected values arrays has operand prefix
414 var last = expected[expected.length - 1];
415 var prefix = (last && !last[0] && last.length > 3 && last[2]) || '';
416 var suffix = (last && !last[0] && last[last.length - 1]) || number;
417 var append = (last && !last[0]) ? ['', last[1], ''] : ['', '', ''];
418 var start = (last && !last[0]) ? -1 : expected.length;
419 var count = (last && !last[0]) ? 1 : 0;
470 strings.pop(); // Pops the last ', ', or pops '' for empty arrays.