X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/9a39f7051ad983d4377917e66222727dcbe6c099..c22e009d49bb891a560f8a6219fe3499859eff4b:/ObjectiveC/Output.cpp diff --git a/ObjectiveC/Output.cpp b/ObjectiveC/Output.cpp index fd2a8d8..d67971f 100644 --- a/ObjectiveC/Output.cpp +++ b/ObjectiveC/Output.cpp @@ -81,6 +81,11 @@ void CYImport::Output(CYOutput &out, CYFlags flags) 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_ ? '-' : '+'); @@ -94,6 +99,12 @@ void CYMessage::Output(CYOutput &out, bool replace) const { 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));