Lines Matching refs:sr

244             SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
245 sr.mergeWith(csp(tree.body));
246 result = sr;
250 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
252 sr.mergeWith(csp(tree.init));
253 result = sr;
258 SourceRange sr = new SourceRange(startPos(tree), startPos(tree));
259 result = sr;
263 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
265 result = sr;
269 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
270 sr.mergeWith(csp(tree.body));
271 sr.mergeWith(csp(tree.cond));
272 result = sr;
276 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
277 sr.mergeWith(csp(tree.cond));
278 sr.mergeWith(csp(tree.body));
279 result = sr;
283 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
284 sr.mergeWith(csp(tree.init));
285 sr.mergeWith(csp(tree.cond));
286 sr.mergeWith(csp(tree.step));
287 sr.mergeWith(csp(tree.body));
288 result = sr;
292 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
293 sr.mergeWith(csp(tree.var));
294 sr.mergeWith(csp(tree.expr));
295 sr.mergeWith(csp(tree.body));
296 result = sr;
300 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
301 sr.mergeWith(csp(tree.body));
302 result = sr;
306 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
307 sr.mergeWith(csp(tree.selector));
308 sr.mergeWith(cspCases(tree.cases));
309 result = sr;
313 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
314 sr.mergeWith(csp(tree.pat));
315 sr.mergeWith(csp(tree.stats));
316 result = sr;
320 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
321 sr.mergeWith(csp(tree.lock));
322 sr.mergeWith(csp(tree.body));
323 result = sr;
327 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
328 sr.mergeWith(csp(tree.resources));
329 sr.mergeWith(csp(tree.body));
330 sr.mergeWith(cspCatchers(tree.catchers));
331 sr.mergeWith(csp(tree.finalizer));
332 result = sr;
336 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
337 sr.mergeWith(csp(tree.param));
338 sr.mergeWith(csp(tree.body));
339 result = sr;
343 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
344 sr.mergeWith(csp(tree.cond));
345 sr.mergeWith(csp(tree.truepart));
346 sr.mergeWith(csp(tree.falsepart));
347 result = sr;
351 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
352 sr.mergeWith(csp(tree.cond));
353 sr.mergeWith(csp(tree.thenpart));
354 sr.mergeWith(csp(tree.elsepart));
355 result = sr;
359 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
360 sr.mergeWith(csp(tree.expr));
361 result = sr;
365 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
366 result = sr;
370 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
371 result = sr;
375 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
376 sr.mergeWith(csp(tree.expr));
377 result = sr;
381 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
382 sr.mergeWith(csp(tree.expr));
383 result = sr;
387 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
388 sr.mergeWith(csp(tree.cond));
389 sr.mergeWith(csp(tree.detail));
390 result = sr;
394 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
395 sr.mergeWith(csp(tree.meth));
396 sr.mergeWith(csp(tree.args));
397 result = sr;
401 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
402 sr.mergeWith(csp(tree.encl));
403 sr.mergeWith(csp(tree.clazz));
404 sr.mergeWith(csp(tree.args));
405 sr.mergeWith(csp(tree.def));
406 result = sr;
410 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
411 sr.mergeWith(csp(tree.elemtype));
412 sr.mergeWith(csp(tree.dims));
413 sr.mergeWith(csp(tree.elems));
414 result = sr;
418 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
419 sr.mergeWith(csp(tree.expr));
420 result = sr;
424 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
425 sr.mergeWith(csp(tree.lhs));
426 sr.mergeWith(csp(tree.rhs));
427 result = sr;
431 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
432 sr.mergeWith(csp(tree.lhs));
433 sr.mergeWith(csp(tree.rhs));
434 result = sr;
438 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
439 sr.mergeWith(csp(tree.arg));
440 result = sr;
444 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
445 sr.mergeWith(csp(tree.lhs));
446 sr.mergeWith(csp(tree.rhs));
447 result = sr;
451 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
452 sr.mergeWith(csp(tree.clazz));
453 sr.mergeWith(csp(tree.expr));
454 result = sr;
458 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
459 sr.mergeWith(csp(tree.expr));
460 sr.mergeWith(csp(tree.clazz));
461 result = sr;
465 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
466 sr.mergeWith(csp(tree.indexed));
467 sr.mergeWith(csp(tree.index));
468 result = sr;
472 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
473 sr.mergeWith(csp(tree.selected));
474 result = sr;
478 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
479 result = sr;
483 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
484 result = sr;
488 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
489 result = sr;
493 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
494 sr.mergeWith(csp(tree.elemtype));
495 result = sr;
499 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
500 sr.mergeWith(csp(tree.clazz));
501 sr.mergeWith(csp(tree.arguments));
502 result = sr;
506 SourceRange sr = new SourceRange(startPos(tree), endPos(tree));
507 sr.mergeWith(csp(tree.bounds));
508 result = sr;
603 SourceRange mergeWith(SourceRange sr) {
604 if (sr == null) return this;
606 startPos = sr.startPos;
607 else if (sr.startPos != Position.NOPOS)
608 startPos = (startPos < sr.startPos ? startPos : sr.startPos);
610 endPos = sr.endPos;
611 else if (sr.endPos != Position.NOPOS)
612 endPos = (endPos > sr.endPos ? endPos : sr.endPos);