X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/417dcc1222fa08913a7b671c988878a3568095c2..a2f3ecabdf36b8b6e35dff67380ab7482993c60b:/ObjectiveC/Syntax.hpp diff --git a/ObjectiveC/Syntax.hpp b/ObjectiveC/Syntax.hpp index 8fa10ee..4c15344 100644 --- a/ObjectiveC/Syntax.hpp +++ b/ObjectiveC/Syntax.hpp @@ -24,6 +24,22 @@ #include "Parser.hpp" +struct CYInstanceLiteral : + CYExpression +{ + CYNumber *number_; + + CYInstanceLiteral(CYNumber *number) : + number_(number) + { + } + + CYPrecedence(1) + + virtual CYExpression *Replace(CYContext &context); + virtual void Output(CYOutput &out, CYFlags flags) const; +}; + struct CYObjCBlock : CYExpression {