CYClass::Output(out, flags);
}
-void CYEncodedType::Output(CYOutput &out, CYFlags flags) const {
- out << "@encode(";
- // XXX: this is seriously wrong
- out << ")";
-}
-
void CYField::Output(CYOutput &out) const {
}
out << "@import";
}
+void CYInstanceLiteral::Output(CYOutput &out, CYFlags flags) const {
+ out << '#';
+ number_->Output(out, CYRight(flags));
+}
+
void CYMessage::Output(CYOutput &out, bool replace) const {
out << (instance_ ? '-' : '+');
out << code_;
}
+void CYModule::Output(CYOutput &out) const {
+ out << part_;
+ if (next_ != NULL)
+ out << '.' << next_;
+}
+
void CYBox::Output(CYOutput &out, CYFlags flags) const {
out << '@';
value_->Output(out, Precedence(), CYRight(flags));