]> git.saurik.com Git - cycript.git/blobdiff - ObjectiveC/Syntax.hpp
Add an empty Execute.cpp for Java support backend.
[cycript.git] / ObjectiveC / Syntax.hpp
index 4c15344da5a4265c5889a51f370957d1ac1d5e0f..7578d7e8bddfefc8297d2ef0620cbd9e92461ddb 100644 (file)
@@ -113,13 +113,11 @@ struct CYSelector :
 struct CYField :
     CYNext<CYField>
 {
-    CYExpression *type_;
-    CYIdentifier *name_;
+    CYTypedIdentifier *typed_;
 
-    CYField(CYExpression *type, CYIdentifier *name, CYField *next = NULL) :
+    CYField(CYTypedIdentifier *typed, CYField *next = NULL) :
         CYNext<CYField>(next),
-        type_(type),
-        name_(name)
+        typed_(typed)
     {
     }
 
@@ -185,36 +183,6 @@ struct CYProtocol :
     void Output(CYOutput &out) const;
 };
 
-struct CYModule :
-    CYNext<CYModule>,
-    CYThing
-{
-    CYWord *part_;
-
-    CYModule(CYWord *part, CYModule *next = NULL) :
-        CYNext<CYModule>(next),
-        part_(part)
-    {
-    }
-
-    CYString *Replace(CYContext &context, const char *separator) const;
-    void Output(CYOutput &out) const;
-};
-
-struct CYImport :
-    CYStatement
-{
-    CYModule *module_;
-
-    CYImport(CYModule *module) :
-        module_(module)
-    {
-    }
-
-    virtual CYStatement *Replace(CYContext &context);
-    virtual void Output(CYOutput &out, CYFlags flags) const;
-};
-
 struct CYClass {
     CYClassName *name_;
     CYExpression *super_;