equal
deleted
inserted
replaced
493 */ |
493 */ |
494 public Entry next() { |
494 public Entry next() { |
495 return shadowed; |
495 return shadowed; |
496 } |
496 } |
497 |
497 |
|
498 public Entry next(Filter<Symbol> sf) { |
|
499 if (shadowed.sym == null || sf.accepts(shadowed.sym)) return shadowed; |
|
500 else return shadowed.next(sf); |
|
501 } |
|
502 |
498 public Scope getOrigin() { |
503 public Scope getOrigin() { |
499 // The origin is only recorded for import scopes. For all |
504 // The origin is only recorded for import scopes. For all |
500 // other scope entries, the "enclosing" type is available |
505 // other scope entries, the "enclosing" type is available |
501 // from other sources. See Attr.visitSelect and |
506 // from other sources. See Attr.visitSelect and |
502 // Attr.visitIdent. Rather than throwing an assertion |
507 // Attr.visitIdent. Rather than throwing an assertion |