Exemple #1
0
SymSet SubtypeUnqualifier::bindings() const {
  SymSet r;
  for (SubtypeEliminators::const_iterator e = this->eliminators.begin(); e != this->eliminators.end(); ++e) {
    SymSet x = (*e)->bindings();
    r.insert(x.begin(), x.end());
  }
  return r;
}
Exemple #2
0
SymSet UnqualifierSet::bindings() const {
  SymSet r;
  for (Unqualifiers::const_iterator uq = this->uqs.begin(); uq != this->uqs.end(); ++uq) {
    SymSet qr = uq->second->bindings();
    r.insert(qr.begin(), qr.end());
  }
  return r;
}