X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/c6bf437d6a6de20a87041bab01c6589b13e811f2..3fe16be7c02b11754e3d367ffd228beb14da2555:/Parser.hpp diff --git a/Parser.hpp b/Parser.hpp index e68cf1a..e182c57 100644 --- a/Parser.hpp +++ b/Parser.hpp @@ -1776,6 +1776,23 @@ struct CYTypeDefinition : virtual void Output(CYOutput &out, CYFlags flags) const; }; +struct CYTypeBlockWith : + CYTypeModifier +{ + CYTypedParameter *parameters_; + + CYTypeBlockWith(CYTypedParameter *parameters, CYTypeModifier *next = NULL) : + CYTypeModifier(next), + parameters_(parameters) + { + } + + CYPrecedence(0) + + virtual CYExpression *Replace_(CYContext &context, CYExpression *type); + virtual void Output(CYOutput &out, CYIdentifier *identifier) const; +}; + struct CYTypeFunctionWith : CYTypeModifier {