projects
/
cycript.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement (modified) ECMA6 array comprehensions.
[cycript.git]
/
ObjectiveC
/
Syntax.hpp
diff --git
a/ObjectiveC/Syntax.hpp
b/ObjectiveC/Syntax.hpp
index a9a9798b649fd9df413cdf554d4f122dc32bbe5f..580ea3adbaddbdf7a468be134c6724d1257c0994 100644
(file)
--- a/
ObjectiveC/Syntax.hpp
+++ b/
ObjectiveC/Syntax.hpp
@@
-77,6
+77,16
@@
struct CYSelector :
struct CYField :
CYNext<CYField>
{
struct CYField :
CYNext<CYField>
{
+ CYExpression *type_;
+ CYIdentifier *name_;
+
+ CYField(CYExpression *type, CYIdentifier *name, CYField *next = NULL) :
+ CYNext<CYField>(next),
+ type_(type),
+ name_(name)
+ {
+ }
+
CYStatement *Replace(CYContext &context) const;
void Output(CYOutput &out) const;
};
CYStatement *Replace(CYContext &context) const;
void Output(CYOutput &out) const;
};