/* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2010 Jay Freeman (saurik)
+ * Copyright (C) 2009-2012 Jay Freeman (saurik)
*/
/* GNU Lesser General Public License, Version 3 {{{ */
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 {
}
value_->Output(out, Precedence(), CYRight(flags));
}
+void CYObjCBlock::Output(CYOutput &out, CYFlags flags) const {
+ // XXX: this is seriously wrong
+ out << "^(";
+ out << ")";
+ out << "{";
+ out << "}";
+}
+
void CYProtocol::Output(CYOutput &out) const {
name_->Output(out, CYAssign::Precedence_, CYNoFlags);
if (next_ != NULL)