X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b6a675801f361a9a419b81095662f29ed0d6f4de..ccb4e34c0af3a2d318ce9c11ba1e98e1e1163b77:/ObjectiveC/Syntax.hpp diff --git a/ObjectiveC/Syntax.hpp b/ObjectiveC/Syntax.hpp index 642aae4..0f3cc38 100644 --- a/ObjectiveC/Syntax.hpp +++ b/ObjectiveC/Syntax.hpp @@ -45,12 +45,12 @@ struct CYObjCBlock : { CYTypedIdentifier *typed_; CYTypedParameter *parameters_; - CYStatement *statements_; + CYStatement *code_; - CYObjCBlock(CYTypedIdentifier *typed, CYTypedParameter *parameters, CYStatement *statements) : + CYObjCBlock(CYTypedIdentifier *typed, CYTypedParameter *parameters, CYStatement *code) : typed_(typed), parameters_(parameters), - statements_(statements) + code_(code) { } @@ -151,11 +151,11 @@ struct CYMessage : CYMessageParameter *parameters_; CYBlock code_; - CYMessage(bool instance, CYTypedIdentifier *type, CYMessageParameter *parameter, CYStatement *statements) : + CYMessage(bool instance, CYTypedIdentifier *type, CYMessageParameter *parameter, CYStatement *code) : instance_(instance), type_(type), parameters_(parameter), - code_(statements) + code_(code) { } @@ -228,6 +228,8 @@ struct CYClassStatement : { } + CYCompact(None) + virtual CYStatement *Replace(CYContext &context); virtual void Output(CYOutput &out, CYFlags flags) const; }; @@ -244,6 +246,8 @@ struct CYCategory : { } + CYCompact(None) + virtual CYStatement *Replace(CYContext &context); virtual void Output(CYOutput &out, CYFlags flags) const; };