]> git.saurik.com Git - cycript.git/blobdiff - ObjectiveC/Output.mm
Add support for Objective-C boxed expression syntax.
[cycript.git] / ObjectiveC / Output.mm
index e406493cf4662b413ce5e587f0941976950f357e..a34826d6dca594f2487e799bf5fd1ca8881b5f1c 100644 (file)
@@ -95,6 +95,11 @@ void CYMessage::Output(CYOutput &out, bool replace) const {
     out << code_;
 }
 
+void CYBox::Output(CYOutput &out, CYFlags flags) const {
+    out << '@';
+    value_->Output(out, Precedence(), CYRight(flags));
+}
+
 void CYProtocol::Output(CYOutput &out) const {
     name_->Output(out, CYAssign::Precedence_, CYNoFlags);
     if (next_ != NULL)