X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/7085e1abd73d7405804870e2404d38c4d22ea73e..d3865d294299f1d5404b59f4482ebb116c8fcee0:/ObjectiveC/Syntax.hpp?ds=inline diff --git a/ObjectiveC/Syntax.hpp b/ObjectiveC/Syntax.hpp index aa55a42..16927ac 100644 --- a/ObjectiveC/Syntax.hpp +++ b/ObjectiveC/Syntax.hpp @@ -97,10 +97,10 @@ struct CYSelectorPart : struct CYSelector : CYLiteral { - CYSelectorPart *name_; + CYSelectorPart *parts_; - CYSelector(CYSelectorPart *name) : - name_(name) + CYSelector(CYSelectorPart *parts) : + parts_(parts) { } @@ -128,11 +128,11 @@ struct CYImplementationField : struct CYMessageParameter : CYNext { - CYWord *tag_; + CYWord *name_; CYTypedIdentifier *type_; - CYMessageParameter(CYWord *tag, CYTypedIdentifier *type) : - tag_(tag), + CYMessageParameter(CYWord *name, CYTypedIdentifier *type) : + name_(name), type_(type) { } @@ -151,10 +151,10 @@ struct CYMessage : CYMessageParameter *parameters_; CYBlock code_; - CYMessage(bool instance, CYTypedIdentifier *type, CYMessageParameter *parameter, CYStatement *code) : + CYMessage(bool instance, CYTypedIdentifier *type, CYMessageParameter *parameters, CYStatement *code) : instance_(instance), type_(type), - parameters_(parameter), + parameters_(parameters), code_(code) { } @@ -185,14 +185,14 @@ struct CYImplementation : CYStatement { CYIdentifier *name_; - CYExpression *super_; + CYExpression *extends_; CYProtocol *protocols_; CYImplementationField *fields_; CYMessage *messages_; - CYImplementation(CYIdentifier *name, CYExpression *super, CYProtocol *protocols, CYImplementationField *fields, CYMessage *messages) : + CYImplementation(CYIdentifier *name, CYExpression *extends, CYProtocol *protocols, CYImplementationField *fields, CYMessage *messages) : name_(name), - super_(super), + extends_(extends), protocols_(protocols), fields_(fields), messages_(messages)