X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/d5618df7c804163dceb3eb48e5406aeb9de79c96..3f9ae37cb15f239389eeba110b3a7da0280a8381:/Output.cpp diff --git a/Output.cpp b/Output.cpp index 53d5bfe..1feff42 100644 --- a/Output.cpp +++ b/Output.cpp @@ -1,5 +1,5 @@ /* 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 {{{ */ @@ -336,6 +336,10 @@ void CYExpression::Output(CYOutput &out, unsigned precedence, CYFlags flags) con Output(out, flags); } +void CYFatArrow::Output(CYOutput &out, CYFlags flags) const { + out << '(' << parameters_ << ')' << ' ' << "=>" << ' ' << code_; +} + void CYFinally::Output(CYOutput &out) const { out << ' ' << "finally" << ' ' << code_; }