}
if (next_ != NULL) {
if (!send)
- if (next_->name_ != NULL)
+ if (next_->name_ == NULL)
out << ',';
else
out << ' ';
void CYSelector::Output(std::ostream &out) const {
out << '"';
- out << "<unimplemented>";
+ if (name_ != NULL)
+ name_->Output(out);
out << '"';
}
+void CYSelectorPart::Output(std::ostream &out) const {
+ if (name_ != NULL)
+ out << *name_;
+ if (value_)
+ out << ':';
+ if (next_ != NULL)
+ next_->Output(out);
+}
+
void CYSource::Show(std::ostream &out) const {
for (const CYSource *next(this); next != NULL; next = next->next_)
next->Output(out, false);