| vala.h | | vala.h | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| #include <vala/valacreationmethod.h> | | #include <vala/valacreationmethod.h> | |
| #include <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
| #include <vala/valadeclarationstatement.h> | | #include <vala/valadeclarationstatement.h> | |
| #include <vala/valadelegate.h> | | #include <vala/valadelegate.h> | |
| #include <vala/valadestructor.h> | | #include <vala/valadestructor.h> | |
| #include <vala/valadostatement.h> | | #include <vala/valadostatement.h> | |
| #include <vala/valaelementaccess.h> | | #include <vala/valaelementaccess.h> | |
| #include <vala/valaemptystatement.h> | | #include <vala/valaemptystatement.h> | |
| #include <vala/valaenum.h> | | #include <vala/valaenum.h> | |
| #include <vala/valaenumvalue.h> | | #include <vala/valaenumvalue.h> | |
|
| | | #include <vala/valaerrorcode.h> | |
| | | #include <vala/valaerrordomain.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valaexpressionstatement.h> | | #include <vala/valaexpressionstatement.h> | |
| #include <vala/valafield.h> | | #include <vala/valafield.h> | |
| #include <vala/valaforeachstatement.h> | | #include <vala/valaforeachstatement.h> | |
| #include <vala/valaformalparameter.h> | | #include <vala/valaformalparameter.h> | |
| #include <vala/valaforstatement.h> | | #include <vala/valaforstatement.h> | |
| #include <vala/valaifstatement.h> | | #include <vala/valaifstatement.h> | |
| #include <vala/valainitializerlist.h> | | #include <vala/valainitializerlist.h> | |
| #include <vala/valaintegerliteral.h> | | #include <vala/valaintegerliteral.h> | |
| #include <vala/valainterface.h> | | #include <vala/valainterface.h> | |
| | | | |
| skipping to change at line 81 | | skipping to change at line 83 | |
| #include <vala/valaswitchlabel.h> | | #include <vala/valaswitchlabel.h> | |
| #include <vala/valaswitchsection.h> | | #include <vala/valaswitchsection.h> | |
| #include <vala/valaswitchstatement.h> | | #include <vala/valaswitchstatement.h> | |
| #include <vala/valathrowstatement.h> | | #include <vala/valathrowstatement.h> | |
| #include <vala/valatrystatement.h> | | #include <vala/valatrystatement.h> | |
| #include <vala/valatypecheck.h> | | #include <vala/valatypecheck.h> | |
| #include <vala/valatypeofexpression.h> | | #include <vala/valatypeofexpression.h> | |
| #include <vala/valatypeparameter.h> | | #include <vala/valatypeparameter.h> | |
| #include <vala/valatypesymbol.h> | | #include <vala/valatypesymbol.h> | |
| #include <vala/valaunaryexpression.h> | | #include <vala/valaunaryexpression.h> | |
|
| | | #include <vala/valaunresolvedsymbol.h> | |
| #include <vala/valaunresolvedtype.h> | | #include <vala/valaunresolvedtype.h> | |
| #include <vala/valavariabledeclarator.h> | | #include <vala/valavariabledeclarator.h> | |
| #include <vala/valavoidtype.h> | | #include <vala/valavoidtype.h> | |
| #include <vala/valawhilestatement.h> | | #include <vala/valawhilestatement.h> | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 3 lines changed or added | |
|
| valaattribute.h | | valaattribute.h | |
| /* valaattribute.vala | | /* valaattribute.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2007 Jürg Billeter | | * Copyright (C) 2006-2008 Jürg Billeter | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| | | | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAATTRIBUTE_H__ | | #ifndef __VALA_VALAATTRIBUTE_H__ | |
| #define __VALA_VALAATTRIBUTE_H__ | | #define __VALA_VALAATTRIBUTE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <gee/list.h> | | #include <gee/list.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| | | #include <float.h> | |
| | | #include <math.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_ATTRIBUTE (vala_attribute_get_type ()) | | #define VALA_TYPE_ATTRIBUTE (vala_attribute_get_type ()) | |
| #define VALA_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_A
TTRIBUTE, ValaAttribute)) | | #define VALA_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_A
TTRIBUTE, ValaAttribute)) | |
| #define VALA_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_ATTRIBUTE, ValaAttributeClass)) | | #define VALA_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_ATTRIBUTE, ValaAttributeClass)) | |
| #define VALA_IS_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_ATTRIBUTE)) | | #define VALA_IS_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_ATTRIBUTE)) | |
| #define VALA_IS_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_ATTRIBUTE)) | | #define VALA_IS_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_ATTRIBUTE)) | |
| #define VALA_ATTRIBUTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA
LA_TYPE_ATTRIBUTE, ValaAttributeClass)) | | #define VALA_ATTRIBUTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA
LA_TYPE_ATTRIBUTE, ValaAttributeClass)) | |
| | | | |
| skipping to change at line 61 | | skipping to change at line 63 | |
| }; | | }; | |
| struct _ValaAttributeClass { | | struct _ValaAttributeClass { | |
| ValaCodeNodeClass parent_class; | | ValaCodeNodeClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaAttribute* vala_attribute_new (const char* name, ValaSourceReference* s
ource_reference); | | ValaAttribute* vala_attribute_new (const char* name, ValaSourceReference* s
ource_reference); | |
| void vala_attribute_add_argument (ValaAttribute* self, ValaNamedArgument* a
rg); | | void vala_attribute_add_argument (ValaAttribute* self, ValaNamedArgument* a
rg); | |
| gboolean vala_attribute_has_argument (ValaAttribute* self, const char* name
); | | gboolean vala_attribute_has_argument (ValaAttribute* self, const char* name
); | |
| char* vala_attribute_get_string (ValaAttribute* self, const char* name); | | char* vala_attribute_get_string (ValaAttribute* self, const char* name); | |
| gint vala_attribute_get_integer (ValaAttribute* self, const char* name); | | gint vala_attribute_get_integer (ValaAttribute* self, const char* name); | |
|
| | | double vala_attribute_get_double (ValaAttribute* self, const char* name); | |
| gboolean vala_attribute_get_bool (ValaAttribute* self, const char* name); | | gboolean vala_attribute_get_bool (ValaAttribute* self, const char* name); | |
| char* vala_attribute_get_name (ValaAttribute* self); | | char* vala_attribute_get_name (ValaAttribute* self); | |
| void vala_attribute_set_name (ValaAttribute* self, const char* value); | | void vala_attribute_set_name (ValaAttribute* self, const char* value); | |
| GType vala_attribute_get_type (void); | | GType vala_attribute_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 1 lines changed or deleted | | 4 lines changed or added | |
|
| valaccodecommaexpression.h | | valaccodecommaexpression.h | |
| /* valaccodecommaexpression.vala | | /* valaccodecommaexpression.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2007 Jürg Billeter | | * Copyright (C) 2006-2008 Jürg Billeter | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| | | | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 28 | | skipping to change at line 28 | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __CCODE_VALACCODECOMMAEXPRESSION_H__ | | #ifndef __CCODE_VALACCODECOMMAEXPRESSION_H__ | |
| #define __CCODE_VALACCODECOMMAEXPRESSION_H__ | | #define __CCODE_VALACCODECOMMAEXPRESSION_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/collection.h> | |
| #include <ccode/valaccodeexpression.h> | | #include <ccode/valaccodeexpression.h> | |
| #include <ccode/valaccodewriter.h> | | #include <ccode/valaccodewriter.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CCODE_COMMA_EXPRESSION (vala_ccode_comma_expression_get_t
ype ()) | | #define VALA_TYPE_CCODE_COMMA_EXPRESSION (vala_ccode_comma_expression_get_t
ype ()) | |
| #define VALA_CCODE_COMMA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj)
, VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpression)) | | #define VALA_CCODE_COMMA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj)
, VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpression)) | |
| #define VALA_CCODE_COMMA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (
(klass), VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpressionClass)) | | #define VALA_CCODE_COMMA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (
(klass), VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpressionClass)) | |
| #define VALA_IS_CCODE_COMMA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o
bj), VALA_TYPE_CCODE_COMMA_EXPRESSION)) | | #define VALA_IS_CCODE_COMMA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o
bj), VALA_TYPE_CCODE_COMMA_EXPRESSION)) | |
| #define VALA_IS_CCODE_COMMA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP
E ((klass), VALA_TYPE_CCODE_COMMA_EXPRESSION)) | | #define VALA_IS_CCODE_COMMA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP
E ((klass), VALA_TYPE_CCODE_COMMA_EXPRESSION)) | |
| | | | |
| skipping to change at line 56 | | skipping to change at line 57 | |
| */ | | */ | |
| struct _ValaCCodeCommaExpression { | | struct _ValaCCodeCommaExpression { | |
| ValaCCodeExpression parent_instance; | | ValaCCodeExpression parent_instance; | |
| ValaCCodeCommaExpressionPrivate * priv; | | ValaCCodeCommaExpressionPrivate * priv; | |
| }; | | }; | |
| struct _ValaCCodeCommaExpressionClass { | | struct _ValaCCodeCommaExpressionClass { | |
| ValaCCodeExpressionClass parent_class; | | ValaCCodeExpressionClass parent_class; | |
| }; | | }; | |
| | | | |
| void vala_ccode_comma_expression_append_expression (ValaCCodeCommaExpressio
n* self, ValaCCodeExpression* expr); | | void vala_ccode_comma_expression_append_expression (ValaCCodeCommaExpressio
n* self, ValaCCodeExpression* expr); | |
|
| | | GeeCollection* vala_ccode_comma_expression_get_inner (ValaCCodeCommaExpress
ion* self); | |
| ValaCCodeCommaExpression* vala_ccode_comma_expression_new (void); | | ValaCCodeCommaExpression* vala_ccode_comma_expression_new (void); | |
| GType vala_ccode_comma_expression_get_type (void); | | GType vala_ccode_comma_expression_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 1 lines changed or deleted | | 3 lines changed or added | |
|
| valaccodegenerator.h | | valaccodegenerator.h | |
| | | | |
| skipping to change at line 21 | | skipping to change at line 21 | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| * You should have received a copy of the GNU Lesser General Public | | * You should have received a copy of the GNU Lesser General Public | |
| * License along with this library; if not, write to the Free Software | | * License along with this library; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
|
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __GOBJECT_VALACCODEGENERATOR_H__ | | #ifndef __GOBJECT_VALACCODEGENERATOR_H__ | |
| #define __GOBJECT_VALACCODEGENERATOR_H__ | | #define __GOBJECT_VALACCODEGENERATOR_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <vala/valacodegenerator.h> | | #include <vala/valacodegenerator.h> | |
| #include <vala/valatypesymbol.h> | | #include <vala/valatypesymbol.h> | |
|
| | | #include <vala/valaclass.h> | |
| | | #include <ccode/valaccodefragment.h> | |
| #include <gee/arraylist.h> | | #include <gee/arraylist.h> | |
| #include <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
|
| | | #include <vala/valaerrortype.h> | |
| #include <vala/valacodecontext.h> | | #include <vala/valacodecontext.h> | |
| #include <vala/valaenum.h> | | #include <vala/valaenum.h> | |
| #include <vala/valaenumvalue.h> | | #include <vala/valaenumvalue.h> | |
|
| | | #include <vala/valaerrordomain.h> | |
| | | #include <vala/valaerrorcode.h> | |
| #include <vala/valadelegate.h> | | #include <vala/valadelegate.h> | |
| #include <vala/valamember.h> | | #include <vala/valamember.h> | |
| #include <vala/valaconstant.h> | | #include <vala/valaconstant.h> | |
| #include <vala/valafield.h> | | #include <vala/valafield.h> | |
|
| | | #include <ccode/valaccodeexpression.h> | |
| #include <vala/valaformalparameter.h> | | #include <vala/valaformalparameter.h> | |
| #include <vala/valaproperty.h> | | #include <vala/valaproperty.h> | |
| #include <vala/valapropertyaccessor.h> | | #include <vala/valapropertyaccessor.h> | |
| #include <vala/valaconstructor.h> | | #include <vala/valaconstructor.h> | |
| #include <vala/valadestructor.h> | | #include <vala/valadestructor.h> | |
| #include <vala/valablock.h> | | #include <vala/valablock.h> | |
| #include <vala/valaemptystatement.h> | | #include <vala/valaemptystatement.h> | |
| #include <vala/valadeclarationstatement.h> | | #include <vala/valadeclarationstatement.h> | |
| #include <vala/valavariabledeclarator.h> | | #include <vala/valavariabledeclarator.h> | |
| #include <vala/valainitializerlist.h> | | #include <vala/valainitializerlist.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| #include <ccode/valaccodeexpression.h> | | | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valaexpressionstatement.h> | | #include <vala/valaexpressionstatement.h> | |
| #include <vala/valaifstatement.h> | | #include <vala/valaifstatement.h> | |
| #include <vala/valaswitchstatement.h> | | #include <vala/valaswitchstatement.h> | |
| #include <vala/valaswitchsection.h> | | #include <vala/valaswitchsection.h> | |
| #include <vala/valawhilestatement.h> | | #include <vala/valawhilestatement.h> | |
| #include <vala/valadostatement.h> | | #include <vala/valadostatement.h> | |
| #include <vala/valaforstatement.h> | | #include <vala/valaforstatement.h> | |
| #include <vala/valaforeachstatement.h> | | #include <vala/valaforeachstatement.h> | |
| #include <vala/valabreakstatement.h> | | #include <vala/valabreakstatement.h> | |
| #include <vala/valacontinuestatement.h> | | #include <vala/valacontinuestatement.h> | |
| #include <vala/valareturnstatement.h> | | #include <vala/valareturnstatement.h> | |
| #include <vala/valathrowstatement.h> | | #include <vala/valathrowstatement.h> | |
| #include <vala/valatrystatement.h> | | #include <vala/valatrystatement.h> | |
| #include <vala/valacatchclause.h> | | #include <vala/valacatchclause.h> | |
| #include <vala/valalockstatement.h> | | #include <vala/valalockstatement.h> | |
|
| | | #include <vala/valadeletestatement.h> | |
| #include <vala/valaarraycreationexpression.h> | | #include <vala/valaarraycreationexpression.h> | |
| #include <vala/valabooleanliteral.h> | | #include <vala/valabooleanliteral.h> | |
| #include <vala/valacharacterliteral.h> | | #include <vala/valacharacterliteral.h> | |
| #include <vala/valaintegerliteral.h> | | #include <vala/valaintegerliteral.h> | |
| #include <vala/valarealliteral.h> | | #include <vala/valarealliteral.h> | |
| #include <vala/valastringliteral.h> | | #include <vala/valastringliteral.h> | |
| #include <vala/valanullliteral.h> | | #include <vala/valanullliteral.h> | |
| #include <vala/valaliteralexpression.h> | | #include <vala/valaliteralexpression.h> | |
| #include <vala/valaparenthesizedexpression.h> | | #include <vala/valaparenthesizedexpression.h> | |
| #include <vala/valaelementaccess.h> | | #include <vala/valaelementaccess.h> | |
| | | | |
| skipping to change at line 95 | | skipping to change at line 101 | |
| #include <vala/valapointerindirection.h> | | #include <vala/valapointerindirection.h> | |
| #include <vala/valaaddressofexpression.h> | | #include <vala/valaaddressofexpression.h> | |
| #include <vala/valareferencetransferexpression.h> | | #include <vala/valareferencetransferexpression.h> | |
| #include <vala/valabinaryexpression.h> | | #include <vala/valabinaryexpression.h> | |
| #include <vala/valatypecheck.h> | | #include <vala/valatypecheck.h> | |
| #include <vala/valaconditionalexpression.h> | | #include <vala/valaconditionalexpression.h> | |
| #include <vala/valalambdaexpression.h> | | #include <vala/valalambdaexpression.h> | |
| #include <vala/valaassignment.h> | | #include <vala/valaassignment.h> | |
| #include <ccode/valaccodefunctioncall.h> | | #include <ccode/valaccodefunctioncall.h> | |
| #include <vala/valamemberaccess.h> | | #include <vala/valamemberaccess.h> | |
|
| | | #include <stdlib.h> | |
| | | #include <string.h> | |
| #include <vala/valacodebinding.h> | | #include <vala/valacodebinding.h> | |
| #include <vala/valanamespace.h> | | #include <vala/valanamespace.h> | |
|
| #include <vala/valaclass.h> | | | |
| #include <vala/valastruct.h> | | #include <vala/valastruct.h> | |
| #include <vala/valainterface.h> | | #include <vala/valainterface.h> | |
| #include <vala/valamethod.h> | | #include <vala/valamethod.h> | |
| #include <vala/valacreationmethod.h> | | #include <vala/valacreationmethod.h> | |
| #include <vala/valasignal.h> | | #include <vala/valasignal.h> | |
| #include <vala/valatypeparameter.h> | | #include <vala/valatypeparameter.h> | |
| #include <vala/valalocalvariabledeclaration.h> | | #include <vala/valalocalvariabledeclaration.h> | |
| #include <vala/valaswitchlabel.h> | | #include <vala/valaswitchlabel.h> | |
| #include <vala/valainvocationexpression.h> | | #include <vala/valainvocationexpression.h> | |
| #include <ccode/valaccodeidentifier.h> | | #include <ccode/valaccodeidentifier.h> | |
|
| #include <stdlib.h> | | #include <float.h> | |
| #include <string.h> | | #include <math.h> | |
| #include <vala/valasourcefile.h> | | #include <vala/valasourcefile.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CCODE_GENERATOR (vala_ccode_generator_get_type ()) | | #define VALA_TYPE_CCODE_GENERATOR (vala_ccode_generator_get_type ()) | |
| #define VALA_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_CCODE_GENERATOR, ValaCCodeGenerator)) | | #define VALA_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_CCODE_GENERATOR, ValaCCodeGenerator)) | |
| #define VALA_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | | #define VALA_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | |
| #define VALA_IS_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_CCODE_GENERATOR)) | | #define VALA_IS_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_CCODE_GENERATOR)) | |
| #define VALA_IS_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_CCODE_GENERATOR)) | | #define VALA_IS_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_CCODE_GENERATOR)) | |
| #define VALA_CCODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | | #define VALA_CCODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | |
| | | | |
| skipping to change at line 132 | | skipping to change at line 139 | |
| typedef struct _ValaCCodeGeneratorClass ValaCCodeGeneratorClass; | | typedef struct _ValaCCodeGeneratorClass ValaCCodeGeneratorClass; | |
| typedef struct _ValaCCodeGeneratorPrivate ValaCCodeGeneratorPrivate; | | typedef struct _ValaCCodeGeneratorPrivate ValaCCodeGeneratorPrivate; | |
| | | | |
| /** | | /** | |
| * Code visitor generating C Code. | | * Code visitor generating C Code. | |
| */ | | */ | |
| struct _ValaCCodeGenerator { | | struct _ValaCCodeGenerator { | |
| ValaCodeGenerator parent_instance; | | ValaCodeGenerator parent_instance; | |
| ValaCCodeGeneratorPrivate * priv; | | ValaCCodeGeneratorPrivate * priv; | |
| ValaTypesymbol* current_type_symbol; | | ValaTypesymbol* current_type_symbol; | |
|
| | | ValaClass* current_class; | |
| | | ValaCCodeFragment* source_type_member_declaration; | |
| | | ValaCCodeFragment* source_type_member_definition; | |
| GeeArrayList* temp_vars; | | GeeArrayList* temp_vars; | |
| gboolean in_creation_method; | | gboolean in_creation_method; | |
| ValaDataType* bool_type; | | ValaDataType* bool_type; | |
| ValaDataType* char_type; | | ValaDataType* char_type; | |
| ValaDataType* unichar_type; | | ValaDataType* unichar_type; | |
| ValaDataType* short_type; | | ValaDataType* short_type; | |
| ValaDataType* ushort_type; | | ValaDataType* ushort_type; | |
| ValaDataType* int_type; | | ValaDataType* int_type; | |
| ValaDataType* uint_type; | | ValaDataType* uint_type; | |
| ValaDataType* long_type; | | ValaDataType* long_type; | |
| ValaDataType* ulong_type; | | ValaDataType* ulong_type; | |
| ValaDataType* int64_type; | | ValaDataType* int64_type; | |
| ValaDataType* uint64_type; | | ValaDataType* uint64_type; | |
| ValaDataType* string_type; | | ValaDataType* string_type; | |
| ValaDataType* float_type; | | ValaDataType* float_type; | |
| ValaDataType* double_type; | | ValaDataType* double_type; | |
|
| | | ValaTypesymbol* gtype_type; | |
| ValaTypesymbol* gtypeinstance_type; | | ValaTypesymbol* gtypeinstance_type; | |
| ValaTypesymbol* gobject_type; | | ValaTypesymbol* gobject_type; | |
|
| ValaTypesymbol* gerror_type; | | ValaErrorType* gerror_type; | |
| ValaTypesymbol* glist_type; | | ValaTypesymbol* glist_type; | |
| ValaTypesymbol* gslist_type; | | ValaTypesymbol* gslist_type; | |
| ValaTypesymbol* gstring_type; | | ValaTypesymbol* gstring_type; | |
|
| | | ValaTypesymbol* gstringbuilder_type; | |
| ValaTypesymbol* garray_type; | | ValaTypesymbol* garray_type; | |
| ValaDataType* gquark_type; | | ValaDataType* gquark_type; | |
| ValaDataType* mutex_type; | | ValaDataType* mutex_type; | |
| ValaTypesymbol* type_module_type; | | ValaTypesymbol* type_module_type; | |
| ValaTypesymbol* iterable_type; | | ValaTypesymbol* iterable_type; | |
| ValaTypesymbol* iterator_type; | | ValaTypesymbol* iterator_type; | |
| ValaTypesymbol* list_type; | | ValaTypesymbol* list_type; | |
| ValaTypesymbol* map_type; | | ValaTypesymbol* map_type; | |
| ValaTypesymbol* connection_type; | | ValaTypesymbol* connection_type; | |
| }; | | }; | |
| struct _ValaCCodeGeneratorClass { | | struct _ValaCCodeGeneratorClass { | |
| ValaCodeGeneratorClass parent_class; | | ValaCodeGeneratorClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaCCodeGenerator* vala_ccode_generator_new (void); | | ValaCCodeGenerator* vala_ccode_generator_new (void); | |
|
| | | gboolean vala_ccode_generator_is_pure_ccode_expression (ValaCCodeGenerator*
self, ValaCCodeExpression* cexpr); | |
| ValaVariableDeclarator* vala_ccode_generator_get_temp_variable_declarator (
ValaCCodeGenerator* self, ValaDataType* type, gboolean takes_ownership, Val
aCodeNode* node_reference); | | ValaVariableDeclarator* vala_ccode_generator_get_temp_variable_declarator (
ValaCCodeGenerator* self, ValaDataType* type, gboolean takes_ownership, Val
aCodeNode* node_reference); | |
| ValaCCodeExpression* vala_ccode_generator_get_unref_expression (ValaCCodeGe
nerator* self, ValaCCodeExpression* cvar, ValaDataType* type, ValaExpressio
n* expr); | | ValaCCodeExpression* vala_ccode_generator_get_unref_expression (ValaCCodeGe
nerator* self, ValaCCodeExpression* cvar, ValaDataType* type, ValaExpressio
n* expr); | |
| ValaCCodeExpression* vala_ccode_generator_get_array_length_cexpression (Val
aCCodeGenerator* self, ValaExpression* array_expr, gint dim); | | ValaCCodeExpression* vala_ccode_generator_get_array_length_cexpression (Val
aCCodeGenerator* self, ValaExpression* array_expr, gint dim); | |
| ValaCCodeExpression* vala_ccode_generator_get_delegate_target_cexpression (
ValaCCodeGenerator* self, ValaExpression* delegate_expr); | | ValaCCodeExpression* vala_ccode_generator_get_delegate_target_cexpression (
ValaCCodeGenerator* self, ValaExpression* delegate_expr); | |
| void vala_ccode_generator_visit_expression (ValaCCodeGenerator* self, ValaE
xpression* expr); | | void vala_ccode_generator_visit_expression (ValaCCodeGenerator* self, ValaE
xpression* expr); | |
| ValaCCodeExpression* vala_ccode_generator_convert_from_generic_pointer (Val
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_typ
e); | | ValaCCodeExpression* vala_ccode_generator_convert_from_generic_pointer (Val
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_typ
e); | |
| ValaCCodeExpression* vala_ccode_generator_convert_to_generic_pointer (ValaC
CodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_type)
; | | ValaCCodeExpression* vala_ccode_generator_convert_to_generic_pointer (ValaC
CodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_type)
; | |
| ValaCCodeExpression* vala_ccode_generator_get_implicit_cast_expression (Val
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* expression
_type, ValaDataType* target_type); | | ValaCCodeExpression* vala_ccode_generator_get_implicit_cast_expression (Val
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* expression
_type, ValaDataType* target_type); | |
| ValaCCodeFunctionCall* vala_ccode_generator_get_property_set_call (ValaCCod
eGenerator* self, ValaProperty* prop, ValaMemberAccess* ma, ValaCCodeExpres
sion* cexpr); | | ValaCCodeFunctionCall* vala_ccode_generator_get_property_set_call (ValaCCod
eGenerator* self, ValaProperty* prop, ValaMemberAccess* ma, ValaCCodeExpres
sion* cexpr); | |
|
| | | gboolean vala_ccode_generator_is_address_of_possible (ValaCCodeGenerator* s | |
| | | elf, ValaExpression* e); | |
| | | ValaCCodeExpression* vala_ccode_generator_get_address_of_expression (ValaCC | |
| | | odeGenerator* self, ValaExpression* e, ValaCCodeExpression* ce); | |
| | | gboolean vala_ccode_generator_add_wrapper (ValaCCodeGenerator* self, const | |
| | | char* wrapper_name); | |
| ValaCCodeIdentifier* vala_ccode_generator_get_value_setter_function (ValaCC
odeGenerator* self, ValaDataType* type_reference); | | ValaCCodeIdentifier* vala_ccode_generator_get_value_setter_function (ValaCC
odeGenerator* self, ValaDataType* type_reference); | |
|
| | | gint vala_ccode_generator_get_param_pos (ValaCCodeGenerator* self, double p
aram_pos, gboolean ellipsis); | |
| char* vala_ccode_generator_get_signal_marshaller_function (ValaCCodeGenerat
or* self, ValaSignal* sig, const char* prefix); | | char* vala_ccode_generator_get_signal_marshaller_function (ValaCCodeGenerat
or* self, ValaSignal* sig, const char* prefix); | |
| GType vala_ccode_generator_get_type (void); | | GType vala_ccode_generator_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 17 change blocks. |
| 6 lines changed or deleted | | 26 lines changed or added | |
|
| valaclass.h | | valaclass.h | |
| | | | |
| skipping to change at line 72 | | skipping to change at line 72 | |
| void vala_class_add_field (ValaClass* self, ValaField* f); | | void vala_class_add_field (ValaClass* self, ValaField* f); | |
| GeeCollection* vala_class_get_fields (ValaClass* self); | | GeeCollection* vala_class_get_fields (ValaClass* self); | |
| void vala_class_add_method (ValaClass* self, ValaMethod* m); | | void vala_class_add_method (ValaClass* self, ValaMethod* m); | |
| GeeCollection* vala_class_get_methods (ValaClass* self); | | GeeCollection* vala_class_get_methods (ValaClass* self); | |
| void vala_class_add_property (ValaClass* self, ValaProperty* prop, gboolean
no_field); | | void vala_class_add_property (ValaClass* self, ValaProperty* prop, gboolean
no_field); | |
| GeeCollection* vala_class_get_properties (ValaClass* self); | | GeeCollection* vala_class_get_properties (ValaClass* self); | |
| void vala_class_add_signal (ValaClass* self, ValaSignal* sig); | | void vala_class_add_signal (ValaClass* self, ValaSignal* sig); | |
| GeeCollection* vala_class_get_signals (ValaClass* self); | | GeeCollection* vala_class_get_signals (ValaClass* self); | |
| void vala_class_add_class (ValaClass* self, ValaClass* cl); | | void vala_class_add_class (ValaClass* self, ValaClass* cl); | |
| void vala_class_add_struct (ValaClass* self, ValaStruct* st); | | void vala_class_add_struct (ValaClass* self, ValaStruct* st); | |
|
| | | void vala_class_add_enum (ValaClass* self, ValaEnum* en); | |
| | | void vala_class_add_delegate (ValaClass* self, ValaDelegate* d); | |
| char* vala_class_get_default_cname (ValaClass* self); | | char* vala_class_get_default_cname (ValaClass* self); | |
| void vala_class_set_cname (ValaClass* self, const char* cname); | | void vala_class_set_cname (ValaClass* self, const char* cname); | |
| void vala_class_process_attributes (ValaClass* self); | | void vala_class_process_attributes (ValaClass* self); | |
| void vala_class_set_type_id (ValaClass* self, const char* type_id); | | void vala_class_set_type_id (ValaClass* self, const char* type_id); | |
| void vala_class_set_ref_function (ValaClass* self, const char* name); | | void vala_class_set_ref_function (ValaClass* self, const char* name); | |
| void vala_class_set_unref_function (ValaClass* self, const char* name); | | void vala_class_set_unref_function (ValaClass* self, const char* name); | |
| void vala_class_set_dup_function (ValaClass* self, const char* name); | | void vala_class_set_dup_function (ValaClass* self, const char* name); | |
| char* vala_class_get_default_free_function (ValaClass* self); | | char* vala_class_get_default_free_function (ValaClass* self); | |
| void vala_class_set_free_function (ValaClass* self, const char* name); | | void vala_class_set_free_function (ValaClass* self, const char* name); | |
| ValaClass* vala_class_get_base_class (ValaClass* self); | | ValaClass* vala_class_get_base_class (ValaClass* self); | |
| | | | |
| skipping to change at line 94 | | skipping to change at line 96 | |
| void vala_class_set_is_abstract (ValaClass* self, gboolean value); | | void vala_class_set_is_abstract (ValaClass* self, gboolean value); | |
| gboolean vala_class_get_is_static (ValaClass* self); | | gboolean vala_class_get_is_static (ValaClass* self); | |
| void vala_class_set_is_static (ValaClass* self, gboolean value); | | void vala_class_set_is_static (ValaClass* self, gboolean value); | |
| gboolean vala_class_get_has_private_fields (ValaClass* self); | | gboolean vala_class_get_has_private_fields (ValaClass* self); | |
| ValaMethod* vala_class_get_default_construction_method (ValaClass* self); | | ValaMethod* vala_class_get_default_construction_method (ValaClass* self); | |
| void vala_class_set_default_construction_method (ValaClass* self, ValaMetho
d* value); | | void vala_class_set_default_construction_method (ValaClass* self, ValaMetho
d* value); | |
| ValaConstructor* vala_class_get_constructor (ValaClass* self); | | ValaConstructor* vala_class_get_constructor (ValaClass* self); | |
| void vala_class_set_constructor (ValaClass* self, ValaConstructor* value); | | void vala_class_set_constructor (ValaClass* self, ValaConstructor* value); | |
| ValaDestructor* vala_class_get_destructor (ValaClass* self); | | ValaDestructor* vala_class_get_destructor (ValaClass* self); | |
| void vala_class_set_destructor (ValaClass* self, ValaDestructor* value); | | void vala_class_set_destructor (ValaClass* self, ValaDestructor* value); | |
|
| | | gboolean vala_class_get_is_error_base (ValaClass* self); | |
| | | void vala_class_set_is_error_base (ValaClass* self, gboolean value); | |
| GType vala_class_get_type (void); | | GType vala_class_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 2 change blocks. |
| 0 lines changed or deleted | | 4 lines changed or added | |
|
| valacodecontext.h | | valacodecontext.h | |
| | | | |
| skipping to change at line 71 | | skipping to change at line 71 | |
| GeeCollection* vala_code_context_get_c_source_files (ValaCodeContext* self)
; | | GeeCollection* vala_code_context_get_c_source_files (ValaCodeContext* self)
; | |
| void vala_code_context_add_source_file (ValaCodeContext* self, ValaSourceFi
le* file); | | void vala_code_context_add_source_file (ValaCodeContext* self, ValaSourceFi
le* file); | |
| void vala_code_context_add_c_source_file (ValaCodeContext* self, const char
* file); | | void vala_code_context_add_c_source_file (ValaCodeContext* self, const char
* file); | |
| GeeCollection* vala_code_context_get_packages (ValaCodeContext* self); | | GeeCollection* vala_code_context_get_packages (ValaCodeContext* self); | |
| gboolean vala_code_context_has_package (ValaCodeContext* self, const char*
pkg); | | gboolean vala_code_context_has_package (ValaCodeContext* self, const char*
pkg); | |
| void vala_code_context_add_package (ValaCodeContext* self, const char* pkg)
; | | void vala_code_context_add_package (ValaCodeContext* self, const char* pkg)
; | |
| void vala_code_context_accept (ValaCodeContext* self, ValaCodeVisitor* visi
tor); | | void vala_code_context_accept (ValaCodeContext* self, ValaCodeVisitor* visi
tor); | |
| void vala_code_context_find_header_cycles (ValaCodeContext* self); | | void vala_code_context_find_header_cycles (ValaCodeContext* self); | |
| void vala_code_context_add_define (ValaCodeContext* self, const char* defin
e); | | void vala_code_context_add_define (ValaCodeContext* self, const char* defin
e); | |
| gboolean vala_code_context_ignore_node (ValaCodeContext* self, ValaCodeNode
* node); | | gboolean vala_code_context_ignore_node (ValaCodeContext* self, ValaCodeNode
* node); | |
|
| | | char* vala_code_context_get_package_path (ValaCodeContext* self, const char
* pkg, int vapi_directories_length1, char** vapi_directories); | |
| ValaNamespace* vala_code_context_create_namespace (ValaCodeContext* self, c
onst char* name, ValaSourceReference* source_reference); | | ValaNamespace* vala_code_context_create_namespace (ValaCodeContext* self, c
onst char* name, ValaSourceReference* source_reference); | |
| ValaClass* vala_code_context_create_class (ValaCodeContext* self, const cha
r* name, ValaSourceReference* source_reference); | | ValaClass* vala_code_context_create_class (ValaCodeContext* self, const cha
r* name, ValaSourceReference* source_reference); | |
| ValaStruct* vala_code_context_create_struct (ValaCodeContext* self, const c
har* name, ValaSourceReference* source_reference); | | ValaStruct* vala_code_context_create_struct (ValaCodeContext* self, const c
har* name, ValaSourceReference* source_reference); | |
| ValaInterface* vala_code_context_create_interface (ValaCodeContext* self, c
onst char* name, ValaSourceReference* source_reference); | | ValaInterface* vala_code_context_create_interface (ValaCodeContext* self, c
onst char* name, ValaSourceReference* source_reference); | |
| ValaEnum* vala_code_context_create_enum (ValaCodeContext* self, const char*
name, ValaSourceReference* source_reference); | | ValaEnum* vala_code_context_create_enum (ValaCodeContext* self, const char*
name, ValaSourceReference* source_reference); | |
|
| ValaEnumValue* vala_code_context_create_enum_value (ValaCodeContext* self, | | ValaEnumValue* vala_code_context_create_enum_value (ValaCodeContext* self, | |
| const char* name); | | const char* name, ValaSourceReference* source_reference); | |
| ValaEnumValue* vala_code_context_create_enum_value_with_value (ValaCodeCont | | ValaEnumValue* vala_code_context_create_enum_value_with_value (ValaCodeCont | |
| ext* self, const char* name, ValaExpression* value); | | ext* self, const char* name, ValaExpression* value, ValaSourceReference* so | |
| | | urce_reference); | |
| | | ValaErrorDomain* vala_code_context_create_error_domain (ValaCodeContext* se | |
| | | lf, const char* name, ValaSourceReference* source_reference); | |
| | | ValaErrorCode* vala_code_context_create_error_code (ValaCodeContext* self, | |
| | | const char* name); | |
| | | ValaErrorCode* vala_code_context_create_error_code_with_value (ValaCodeCont | |
| | | ext* self, const char* name, ValaExpression* value); | |
| ValaDelegate* vala_code_context_create_delegate (ValaCodeContext* self, con
st char* name, ValaDataType* return_type, ValaSourceReference* source_refer
ence); | | ValaDelegate* vala_code_context_create_delegate (ValaCodeContext* self, con
st char* name, ValaDataType* return_type, ValaSourceReference* source_refer
ence); | |
| ValaConstant* vala_code_context_create_constant (ValaCodeContext* self, con
st char* name, ValaDataType* type_reference, ValaExpression* initializer, V
alaSourceReference* source_reference); | | ValaConstant* vala_code_context_create_constant (ValaCodeContext* self, con
st char* name, ValaDataType* type_reference, ValaExpression* initializer, V
alaSourceReference* source_reference); | |
| ValaField* vala_code_context_create_field (ValaCodeContext* self, const cha
r* name, ValaDataType* type_reference, ValaExpression* initializer, ValaSou
rceReference* source_reference); | | ValaField* vala_code_context_create_field (ValaCodeContext* self, const cha
r* name, ValaDataType* type_reference, ValaExpression* initializer, ValaSou
rceReference* source_reference); | |
| ValaMethod* vala_code_context_create_method (ValaCodeContext* self, const c
har* name, ValaDataType* return_type, ValaSourceReference* source_reference
); | | ValaMethod* vala_code_context_create_method (ValaCodeContext* self, const c
har* name, ValaDataType* return_type, ValaSourceReference* source_reference
); | |
| ValaCreationMethod* vala_code_context_create_creation_method (ValaCodeConte
xt* self, const char* type_name, const char* name, ValaSourceReference* sou
rce_reference); | | ValaCreationMethod* vala_code_context_create_creation_method (ValaCodeConte
xt* self, const char* type_name, const char* name, ValaSourceReference* sou
rce_reference); | |
| ValaFormalParameter* vala_code_context_create_formal_parameter (ValaCodeCon
text* self, const char* name, ValaDataType* type_reference, ValaSourceRefer
ence* source_reference); | | ValaFormalParameter* vala_code_context_create_formal_parameter (ValaCodeCon
text* self, const char* name, ValaDataType* type_reference, ValaSourceRefer
ence* source_reference); | |
| ValaFormalParameter* vala_code_context_create_formal_parameter_with_ellipsi
s (ValaCodeContext* self, ValaSourceReference* source_reference); | | ValaFormalParameter* vala_code_context_create_formal_parameter_with_ellipsi
s (ValaCodeContext* self, ValaSourceReference* source_reference); | |
| ValaProperty* vala_code_context_create_property (ValaCodeContext* self, con
st char* name, ValaDataType* type_reference, ValaPropertyAccessor* get_acce
ssor, ValaPropertyAccessor* set_accessor, ValaSourceReference* source_refer
ence); | | ValaProperty* vala_code_context_create_property (ValaCodeContext* self, con
st char* name, ValaDataType* type_reference, ValaPropertyAccessor* get_acce
ssor, ValaPropertyAccessor* set_accessor, ValaSourceReference* source_refer
ence); | |
| ValaPropertyAccessor* vala_code_context_create_property_accessor (ValaCodeC
ontext* self, gboolean readable, gboolean writable, gboolean construction,
ValaBlock* body, ValaSourceReference* source_reference); | | ValaPropertyAccessor* vala_code_context_create_property_accessor (ValaCodeC
ontext* self, gboolean readable, gboolean writable, gboolean construction,
ValaBlock* body, ValaSourceReference* source_reference); | |
| ValaSignal* vala_code_context_create_signal (ValaCodeContext* self, const c
har* name, ValaDataType* return_type, ValaSourceReference* source_reference
); | | ValaSignal* vala_code_context_create_signal (ValaCodeContext* self, const c
har* name, ValaDataType* return_type, ValaSourceReference* source_reference
); | |
| | | | |
| skipping to change at line 115 | | skipping to change at line 119 | |
| ValaDoStatement* vala_code_context_create_do_statement (ValaCodeContext* se
lf, ValaBlock* body, ValaExpression* condition, ValaSourceReference* source
_reference); | | ValaDoStatement* vala_code_context_create_do_statement (ValaCodeContext* se
lf, ValaBlock* body, ValaExpression* condition, ValaSourceReference* source
_reference); | |
| ValaForStatement* vala_code_context_create_for_statement (ValaCodeContext*
self, ValaExpression* condition, ValaBlock* body, ValaSourceReference* sour
ce_reference); | | ValaForStatement* vala_code_context_create_for_statement (ValaCodeContext*
self, ValaExpression* condition, ValaBlock* body, ValaSourceReference* sour
ce_reference); | |
| ValaForeachStatement* vala_code_context_create_foreach_statement (ValaCodeC
ontext* self, ValaDataType* type_reference, const char* variable_name, Vala
Expression* collection, ValaBlock* body, ValaSourceReference* source_refere
nce); | | ValaForeachStatement* vala_code_context_create_foreach_statement (ValaCodeC
ontext* self, ValaDataType* type_reference, const char* variable_name, Vala
Expression* collection, ValaBlock* body, ValaSourceReference* source_refere
nce); | |
| ValaBreakStatement* vala_code_context_create_break_statement (ValaCodeConte
xt* self, ValaSourceReference* source_reference); | | ValaBreakStatement* vala_code_context_create_break_statement (ValaCodeConte
xt* self, ValaSourceReference* source_reference); | |
| ValaContinueStatement* vala_code_context_create_continue_statement (ValaCod
eContext* self, ValaSourceReference* source_reference); | | ValaContinueStatement* vala_code_context_create_continue_statement (ValaCod
eContext* self, ValaSourceReference* source_reference); | |
| ValaReturnStatement* vala_code_context_create_return_statement (ValaCodeCon
text* self, ValaExpression* return_expression, ValaSourceReference* source_
reference); | | ValaReturnStatement* vala_code_context_create_return_statement (ValaCodeCon
text* self, ValaExpression* return_expression, ValaSourceReference* source_
reference); | |
| ValaThrowStatement* vala_code_context_create_throw_statement (ValaCodeConte
xt* self, ValaExpression* error_expression, ValaSourceReference* source_ref
erence); | | ValaThrowStatement* vala_code_context_create_throw_statement (ValaCodeConte
xt* self, ValaExpression* error_expression, ValaSourceReference* source_ref
erence); | |
| ValaTryStatement* vala_code_context_create_try_statement (ValaCodeContext*
self, ValaBlock* body, ValaBlock* finally_body, ValaSourceReference* source
_reference); | | ValaTryStatement* vala_code_context_create_try_statement (ValaCodeContext*
self, ValaBlock* body, ValaBlock* finally_body, ValaSourceReference* source
_reference); | |
| ValaCatchClause* vala_code_context_create_catch_clause (ValaCodeContext* se
lf, ValaDataType* type_reference, const char* variable_name, ValaBlock* bod
y, ValaSourceReference* source_reference); | | ValaCatchClause* vala_code_context_create_catch_clause (ValaCodeContext* se
lf, ValaDataType* type_reference, const char* variable_name, ValaBlock* bod
y, ValaSourceReference* source_reference); | |
| ValaLockStatement* vala_code_context_create_lock_statement (ValaCodeContext
* self, ValaExpression* resource, ValaBlock* body, ValaSourceReference* sou
rce_reference); | | ValaLockStatement* vala_code_context_create_lock_statement (ValaCodeContext
* self, ValaExpression* resource, ValaBlock* body, ValaSourceReference* sou
rce_reference); | |
|
| | | ValaDeleteStatement* vala_code_context_create_delete_statement (ValaCodeCon
text* self, ValaExpression* expression, ValaSourceReference* source_referen
ce); | |
| ValaArrayCreationExpression* vala_code_context_create_array_creation_expres
sion (ValaCodeContext* self, ValaDataType* element_type, gint rank, ValaIni
tializerList* initializer_list, ValaSourceReference* source_reference); | | ValaArrayCreationExpression* vala_code_context_create_array_creation_expres
sion (ValaCodeContext* self, ValaDataType* element_type, gint rank, ValaIni
tializerList* initializer_list, ValaSourceReference* source_reference); | |
| ValaBooleanLiteral* vala_code_context_create_boolean_literal (ValaCodeConte
xt* self, gboolean value, ValaSourceReference* source_reference); | | ValaBooleanLiteral* vala_code_context_create_boolean_literal (ValaCodeConte
xt* self, gboolean value, ValaSourceReference* source_reference); | |
| ValaCharacterLiteral* vala_code_context_create_character_literal (ValaCodeC
ontext* self, const char* value, ValaSourceReference* source_reference); | | ValaCharacterLiteral* vala_code_context_create_character_literal (ValaCodeC
ontext* self, const char* value, ValaSourceReference* source_reference); | |
| ValaIntegerLiteral* vala_code_context_create_integer_literal (ValaCodeConte
xt* self, const char* value, ValaSourceReference* source_reference); | | ValaIntegerLiteral* vala_code_context_create_integer_literal (ValaCodeConte
xt* self, const char* value, ValaSourceReference* source_reference); | |
| ValaRealLiteral* vala_code_context_create_real_literal (ValaCodeContext* se
lf, const char* value, ValaSourceReference* source_reference); | | ValaRealLiteral* vala_code_context_create_real_literal (ValaCodeContext* se
lf, const char* value, ValaSourceReference* source_reference); | |
| ValaStringLiteral* vala_code_context_create_string_literal (ValaCodeContext
* self, const char* value, ValaSourceReference* source_reference); | | ValaStringLiteral* vala_code_context_create_string_literal (ValaCodeContext
* self, const char* value, ValaSourceReference* source_reference); | |
| ValaNullLiteral* vala_code_context_create_null_literal (ValaCodeContext* se
lf, ValaSourceReference* source_reference); | | ValaNullLiteral* vala_code_context_create_null_literal (ValaCodeContext* se
lf, ValaSourceReference* source_reference); | |
| ValaLiteralExpression* vala_code_context_create_literal_expression (ValaCod
eContext* self, ValaLiteral* literal, ValaSourceReference* source_reference
); | | ValaLiteralExpression* vala_code_context_create_literal_expression (ValaCod
eContext* self, ValaLiteral* literal, ValaSourceReference* source_reference
); | |
| ValaParenthesizedExpression* vala_code_context_create_parenthesized_express
ion (ValaCodeContext* self, ValaExpression* inner, ValaSourceReference* sou
rce_reference); | | ValaParenthesizedExpression* vala_code_context_create_parenthesized_express
ion (ValaCodeContext* self, ValaExpression* inner, ValaSourceReference* sou
rce_reference); | |
| ValaMemberAccess* vala_code_context_create_member_access (ValaCodeContext*
self, ValaExpression* inner, const char* member_name, ValaSourceReference*
source_reference); | | ValaMemberAccess* vala_code_context_create_member_access (ValaCodeContext*
self, ValaExpression* inner, const char* member_name, ValaSourceReference*
source_reference); | |
| | | | |
End of changes. 3 change blocks. |
| 4 lines changed or deleted | | 13 lines changed or added | |
|
| valacodegenerator.h | | valacodegenerator.h | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 59 | |
| }; | | }; | |
| struct _ValaCodeGeneratorClass { | | struct _ValaCodeGeneratorClass { | |
| ValaCodeVisitorClass parent_class; | | ValaCodeVisitorClass parent_class; | |
| void (*emit) (ValaCodeGenerator* self, ValaCodeContext* context); | | void (*emit) (ValaCodeGenerator* self, ValaCodeContext* context); | |
| ValaCodeBinding* (*create_namespace_binding) (ValaCodeGenerator* sel
f, ValaNamespace* node); | | ValaCodeBinding* (*create_namespace_binding) (ValaCodeGenerator* sel
f, ValaNamespace* node); | |
| ValaCodeBinding* (*create_class_binding) (ValaCodeGenerator* self, V
alaClass* node); | | ValaCodeBinding* (*create_class_binding) (ValaCodeGenerator* self, V
alaClass* node); | |
| ValaCodeBinding* (*create_struct_binding) (ValaCodeGenerator* self,
ValaStruct* node); | | ValaCodeBinding* (*create_struct_binding) (ValaCodeGenerator* self,
ValaStruct* node); | |
| ValaCodeBinding* (*create_interface_binding) (ValaCodeGenerator* sel
f, ValaInterface* node); | | ValaCodeBinding* (*create_interface_binding) (ValaCodeGenerator* sel
f, ValaInterface* node); | |
| ValaCodeBinding* (*create_enum_binding) (ValaCodeGenerator* self, Va
laEnum* node); | | ValaCodeBinding* (*create_enum_binding) (ValaCodeGenerator* self, Va
laEnum* node); | |
| ValaCodeBinding* (*create_enum_value_binding) (ValaCodeGenerator* se
lf, ValaEnumValue* node); | | ValaCodeBinding* (*create_enum_value_binding) (ValaCodeGenerator* se
lf, ValaEnumValue* node); | |
|
| | | ValaCodeBinding* (*create_error_domain_binding) (ValaCodeGenerator* | |
| | | self, ValaErrorDomain* node); | |
| | | ValaCodeBinding* (*create_error_code_binding) (ValaCodeGenerator* se | |
| | | lf, ValaErrorCode* node); | |
| ValaCodeBinding* (*create_delegate_binding) (ValaCodeGenerator* self
, ValaDelegate* node); | | ValaCodeBinding* (*create_delegate_binding) (ValaCodeGenerator* self
, ValaDelegate* node); | |
| ValaCodeBinding* (*create_constant_binding) (ValaCodeGenerator* self
, ValaConstant* node); | | ValaCodeBinding* (*create_constant_binding) (ValaCodeGenerator* self
, ValaConstant* node); | |
| ValaCodeBinding* (*create_field_binding) (ValaCodeGenerator* self, V
alaField* node); | | ValaCodeBinding* (*create_field_binding) (ValaCodeGenerator* self, V
alaField* node); | |
| ValaCodeBinding* (*create_method_binding) (ValaCodeGenerator* self,
ValaMethod* node); | | ValaCodeBinding* (*create_method_binding) (ValaCodeGenerator* self,
ValaMethod* node); | |
| ValaCodeBinding* (*create_creation_method_binding) (ValaCodeGenerato
r* self, ValaCreationMethod* node); | | ValaCodeBinding* (*create_creation_method_binding) (ValaCodeGenerato
r* self, ValaCreationMethod* node); | |
| ValaCodeBinding* (*create_formal_parameter_binding) (ValaCodeGenerat
or* self, ValaFormalParameter* node); | | ValaCodeBinding* (*create_formal_parameter_binding) (ValaCodeGenerat
or* self, ValaFormalParameter* node); | |
| ValaCodeBinding* (*create_property_binding) (ValaCodeGenerator* self
, ValaProperty* node); | | ValaCodeBinding* (*create_property_binding) (ValaCodeGenerator* self
, ValaProperty* node); | |
| ValaCodeBinding* (*create_property_accessor_binding) (ValaCodeGenera
tor* self, ValaPropertyAccessor* node); | | ValaCodeBinding* (*create_property_accessor_binding) (ValaCodeGenera
tor* self, ValaPropertyAccessor* node); | |
| ValaCodeBinding* (*create_signal_binding) (ValaCodeGenerator* self,
ValaSignal* node); | | ValaCodeBinding* (*create_signal_binding) (ValaCodeGenerator* self,
ValaSignal* node); | |
| ValaCodeBinding* (*create_constructor_binding) (ValaCodeGenerator* s
elf, ValaConstructor* node); | | ValaCodeBinding* (*create_constructor_binding) (ValaCodeGenerator* s
elf, ValaConstructor* node); | |
| | | | |
| skipping to change at line 93 | | skipping to change at line 95 | |
| ValaCodeBinding* (*create_do_statement_binding) (ValaCodeGenerator*
self, ValaDoStatement* node); | | ValaCodeBinding* (*create_do_statement_binding) (ValaCodeGenerator*
self, ValaDoStatement* node); | |
| ValaCodeBinding* (*create_for_statement_binding) (ValaCodeGenerator*
self, ValaForStatement* node); | | ValaCodeBinding* (*create_for_statement_binding) (ValaCodeGenerator*
self, ValaForStatement* node); | |
| ValaCodeBinding* (*create_foreach_statement_binding) (ValaCodeGenera
tor* self, ValaForeachStatement* node); | | ValaCodeBinding* (*create_foreach_statement_binding) (ValaCodeGenera
tor* self, ValaForeachStatement* node); | |
| ValaCodeBinding* (*create_break_statement_binding) (ValaCodeGenerato
r* self, ValaBreakStatement* node); | | ValaCodeBinding* (*create_break_statement_binding) (ValaCodeGenerato
r* self, ValaBreakStatement* node); | |
| ValaCodeBinding* (*create_continue_statement_binding) (ValaCodeGener
ator* self, ValaContinueStatement* node); | | ValaCodeBinding* (*create_continue_statement_binding) (ValaCodeGener
ator* self, ValaContinueStatement* node); | |
| ValaCodeBinding* (*create_return_statement_binding) (ValaCodeGenerat
or* self, ValaReturnStatement* node); | | ValaCodeBinding* (*create_return_statement_binding) (ValaCodeGenerat
or* self, ValaReturnStatement* node); | |
| ValaCodeBinding* (*create_throw_statement_binding) (ValaCodeGenerato
r* self, ValaThrowStatement* node); | | ValaCodeBinding* (*create_throw_statement_binding) (ValaCodeGenerato
r* self, ValaThrowStatement* node); | |
| ValaCodeBinding* (*create_try_statement_binding) (ValaCodeGenerator*
self, ValaTryStatement* node); | | ValaCodeBinding* (*create_try_statement_binding) (ValaCodeGenerator*
self, ValaTryStatement* node); | |
| ValaCodeBinding* (*create_catch_clause_binding) (ValaCodeGenerator*
self, ValaCatchClause* node); | | ValaCodeBinding* (*create_catch_clause_binding) (ValaCodeGenerator*
self, ValaCatchClause* node); | |
| ValaCodeBinding* (*create_lock_statement_binding) (ValaCodeGenerator
* self, ValaLockStatement* node); | | ValaCodeBinding* (*create_lock_statement_binding) (ValaCodeGenerator
* self, ValaLockStatement* node); | |
|
| | | ValaCodeBinding* (*create_delete_statement_binding) (ValaCodeGenerat
or* self, ValaDeleteStatement* node); | |
| ValaCodeBinding* (*create_array_creation_expression_binding) (ValaCo
deGenerator* self, ValaArrayCreationExpression* node); | | ValaCodeBinding* (*create_array_creation_expression_binding) (ValaCo
deGenerator* self, ValaArrayCreationExpression* node); | |
| ValaCodeBinding* (*create_boolean_literal_binding) (ValaCodeGenerato
r* self, ValaBooleanLiteral* node); | | ValaCodeBinding* (*create_boolean_literal_binding) (ValaCodeGenerato
r* self, ValaBooleanLiteral* node); | |
| ValaCodeBinding* (*create_character_literal_binding) (ValaCodeGenera
tor* self, ValaCharacterLiteral* node); | | ValaCodeBinding* (*create_character_literal_binding) (ValaCodeGenera
tor* self, ValaCharacterLiteral* node); | |
| ValaCodeBinding* (*create_integer_literal_binding) (ValaCodeGenerato
r* self, ValaIntegerLiteral* node); | | ValaCodeBinding* (*create_integer_literal_binding) (ValaCodeGenerato
r* self, ValaIntegerLiteral* node); | |
| ValaCodeBinding* (*create_real_literal_binding) (ValaCodeGenerator*
self, ValaRealLiteral* node); | | ValaCodeBinding* (*create_real_literal_binding) (ValaCodeGenerator*
self, ValaRealLiteral* node); | |
| ValaCodeBinding* (*create_string_literal_binding) (ValaCodeGenerator
* self, ValaStringLiteral* node); | | ValaCodeBinding* (*create_string_literal_binding) (ValaCodeGenerator
* self, ValaStringLiteral* node); | |
| ValaCodeBinding* (*create_null_literal_binding) (ValaCodeGenerator*
self, ValaNullLiteral* node); | | ValaCodeBinding* (*create_null_literal_binding) (ValaCodeGenerator*
self, ValaNullLiteral* node); | |
| ValaCodeBinding* (*create_literal_expression_binding) (ValaCodeGener
ator* self, ValaLiteralExpression* node); | | ValaCodeBinding* (*create_literal_expression_binding) (ValaCodeGener
ator* self, ValaLiteralExpression* node); | |
| ValaCodeBinding* (*create_parenthesized_expression_binding) (ValaCod
eGenerator* self, ValaParenthesizedExpression* node); | | ValaCodeBinding* (*create_parenthesized_expression_binding) (ValaCod
eGenerator* self, ValaParenthesizedExpression* node); | |
| ValaCodeBinding* (*create_member_access_binding) (ValaCodeGenerator*
self, ValaMemberAccess* node); | | ValaCodeBinding* (*create_member_access_binding) (ValaCodeGenerator*
self, ValaMemberAccess* node); | |
| | | | |
| skipping to change at line 131 | | skipping to change at line 134 | |
| ValaCodeBinding* (*create_assignment_binding) (ValaCodeGenerator* se
lf, ValaAssignment* node); | | ValaCodeBinding* (*create_assignment_binding) (ValaCodeGenerator* se
lf, ValaAssignment* node); | |
| }; | | }; | |
| | | | |
| void vala_code_generator_emit (ValaCodeGenerator* self, ValaCodeContext* co
ntext); | | void vala_code_generator_emit (ValaCodeGenerator* self, ValaCodeContext* co
ntext); | |
| ValaCodeBinding* vala_code_generator_create_namespace_binding (ValaCodeGene
rator* self, ValaNamespace* node); | | ValaCodeBinding* vala_code_generator_create_namespace_binding (ValaCodeGene
rator* self, ValaNamespace* node); | |
| ValaCodeBinding* vala_code_generator_create_class_binding (ValaCodeGenerato
r* self, ValaClass* node); | | ValaCodeBinding* vala_code_generator_create_class_binding (ValaCodeGenerato
r* self, ValaClass* node); | |
| ValaCodeBinding* vala_code_generator_create_struct_binding (ValaCodeGenerat
or* self, ValaStruct* node); | | ValaCodeBinding* vala_code_generator_create_struct_binding (ValaCodeGenerat
or* self, ValaStruct* node); | |
| ValaCodeBinding* vala_code_generator_create_interface_binding (ValaCodeGene
rator* self, ValaInterface* node); | | ValaCodeBinding* vala_code_generator_create_interface_binding (ValaCodeGene
rator* self, ValaInterface* node); | |
| ValaCodeBinding* vala_code_generator_create_enum_binding (ValaCodeGenerator
* self, ValaEnum* node); | | ValaCodeBinding* vala_code_generator_create_enum_binding (ValaCodeGenerator
* self, ValaEnum* node); | |
| ValaCodeBinding* vala_code_generator_create_enum_value_binding (ValaCodeGen
erator* self, ValaEnumValue* node); | | ValaCodeBinding* vala_code_generator_create_enum_value_binding (ValaCodeGen
erator* self, ValaEnumValue* node); | |
|
| | | ValaCodeBinding* vala_code_generator_create_error_domain_binding (ValaCodeG | |
| | | enerator* self, ValaErrorDomain* node); | |
| | | ValaCodeBinding* vala_code_generator_create_error_code_binding (ValaCodeGen | |
| | | erator* self, ValaErrorCode* node); | |
| ValaCodeBinding* vala_code_generator_create_delegate_binding (ValaCodeGener
ator* self, ValaDelegate* node); | | ValaCodeBinding* vala_code_generator_create_delegate_binding (ValaCodeGener
ator* self, ValaDelegate* node); | |
| ValaCodeBinding* vala_code_generator_create_constant_binding (ValaCodeGener
ator* self, ValaConstant* node); | | ValaCodeBinding* vala_code_generator_create_constant_binding (ValaCodeGener
ator* self, ValaConstant* node); | |
| ValaCodeBinding* vala_code_generator_create_field_binding (ValaCodeGenerato
r* self, ValaField* node); | | ValaCodeBinding* vala_code_generator_create_field_binding (ValaCodeGenerato
r* self, ValaField* node); | |
| ValaCodeBinding* vala_code_generator_create_method_binding (ValaCodeGenerat
or* self, ValaMethod* node); | | ValaCodeBinding* vala_code_generator_create_method_binding (ValaCodeGenerat
or* self, ValaMethod* node); | |
| ValaCodeBinding* vala_code_generator_create_creation_method_binding (ValaCo
deGenerator* self, ValaCreationMethod* node); | | ValaCodeBinding* vala_code_generator_create_creation_method_binding (ValaCo
deGenerator* self, ValaCreationMethod* node); | |
| ValaCodeBinding* vala_code_generator_create_formal_parameter_binding (ValaC
odeGenerator* self, ValaFormalParameter* node); | | ValaCodeBinding* vala_code_generator_create_formal_parameter_binding (ValaC
odeGenerator* self, ValaFormalParameter* node); | |
| ValaCodeBinding* vala_code_generator_create_property_binding (ValaCodeGener
ator* self, ValaProperty* node); | | ValaCodeBinding* vala_code_generator_create_property_binding (ValaCodeGener
ator* self, ValaProperty* node); | |
| ValaCodeBinding* vala_code_generator_create_property_accessor_binding (Vala
CodeGenerator* self, ValaPropertyAccessor* node); | | ValaCodeBinding* vala_code_generator_create_property_accessor_binding (Vala
CodeGenerator* self, ValaPropertyAccessor* node); | |
| ValaCodeBinding* vala_code_generator_create_signal_binding (ValaCodeGenerat
or* self, ValaSignal* node); | | ValaCodeBinding* vala_code_generator_create_signal_binding (ValaCodeGenerat
or* self, ValaSignal* node); | |
| ValaCodeBinding* vala_code_generator_create_constructor_binding (ValaCodeGe
nerator* self, ValaConstructor* node); | | ValaCodeBinding* vala_code_generator_create_constructor_binding (ValaCodeGe
nerator* self, ValaConstructor* node); | |
| | | | |
| skipping to change at line 165 | | skipping to change at line 170 | |
| ValaCodeBinding* vala_code_generator_create_do_statement_binding (ValaCodeG
enerator* self, ValaDoStatement* node); | | ValaCodeBinding* vala_code_generator_create_do_statement_binding (ValaCodeG
enerator* self, ValaDoStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_for_statement_binding (ValaCode
Generator* self, ValaForStatement* node); | | ValaCodeBinding* vala_code_generator_create_for_statement_binding (ValaCode
Generator* self, ValaForStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_foreach_statement_binding (Vala
CodeGenerator* self, ValaForeachStatement* node); | | ValaCodeBinding* vala_code_generator_create_foreach_statement_binding (Vala
CodeGenerator* self, ValaForeachStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_break_statement_binding (ValaCo
deGenerator* self, ValaBreakStatement* node); | | ValaCodeBinding* vala_code_generator_create_break_statement_binding (ValaCo
deGenerator* self, ValaBreakStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_continue_statement_binding (Val
aCodeGenerator* self, ValaContinueStatement* node); | | ValaCodeBinding* vala_code_generator_create_continue_statement_binding (Val
aCodeGenerator* self, ValaContinueStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_return_statement_binding (ValaC
odeGenerator* self, ValaReturnStatement* node); | | ValaCodeBinding* vala_code_generator_create_return_statement_binding (ValaC
odeGenerator* self, ValaReturnStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_throw_statement_binding (ValaCo
deGenerator* self, ValaThrowStatement* node); | | ValaCodeBinding* vala_code_generator_create_throw_statement_binding (ValaCo
deGenerator* self, ValaThrowStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_try_statement_binding (ValaCode
Generator* self, ValaTryStatement* node); | | ValaCodeBinding* vala_code_generator_create_try_statement_binding (ValaCode
Generator* self, ValaTryStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_catch_clause_binding (ValaCodeG
enerator* self, ValaCatchClause* node); | | ValaCodeBinding* vala_code_generator_create_catch_clause_binding (ValaCodeG
enerator* self, ValaCatchClause* node); | |
| ValaCodeBinding* vala_code_generator_create_lock_statement_binding (ValaCod
eGenerator* self, ValaLockStatement* node); | | ValaCodeBinding* vala_code_generator_create_lock_statement_binding (ValaCod
eGenerator* self, ValaLockStatement* node); | |
|
| | | ValaCodeBinding* vala_code_generator_create_delete_statement_binding (ValaC
odeGenerator* self, ValaDeleteStatement* node); | |
| ValaCodeBinding* vala_code_generator_create_array_creation_expression_bindi
ng (ValaCodeGenerator* self, ValaArrayCreationExpression* node); | | ValaCodeBinding* vala_code_generator_create_array_creation_expression_bindi
ng (ValaCodeGenerator* self, ValaArrayCreationExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_boolean_literal_binding (ValaCo
deGenerator* self, ValaBooleanLiteral* node); | | ValaCodeBinding* vala_code_generator_create_boolean_literal_binding (ValaCo
deGenerator* self, ValaBooleanLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_character_literal_binding (Vala
CodeGenerator* self, ValaCharacterLiteral* node); | | ValaCodeBinding* vala_code_generator_create_character_literal_binding (Vala
CodeGenerator* self, ValaCharacterLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_integer_literal_binding (ValaCo
deGenerator* self, ValaIntegerLiteral* node); | | ValaCodeBinding* vala_code_generator_create_integer_literal_binding (ValaCo
deGenerator* self, ValaIntegerLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_real_literal_binding (ValaCodeG
enerator* self, ValaRealLiteral* node); | | ValaCodeBinding* vala_code_generator_create_real_literal_binding (ValaCodeG
enerator* self, ValaRealLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_string_literal_binding (ValaCod
eGenerator* self, ValaStringLiteral* node); | | ValaCodeBinding* vala_code_generator_create_string_literal_binding (ValaCod
eGenerator* self, ValaStringLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_null_literal_binding (ValaCodeG
enerator* self, ValaNullLiteral* node); | | ValaCodeBinding* vala_code_generator_create_null_literal_binding (ValaCodeG
enerator* self, ValaNullLiteral* node); | |
| ValaCodeBinding* vala_code_generator_create_literal_expression_binding (Val
aCodeGenerator* self, ValaLiteralExpression* node); | | ValaCodeBinding* vala_code_generator_create_literal_expression_binding (Val
aCodeGenerator* self, ValaLiteralExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_parenthesized_expression_bindin
g (ValaCodeGenerator* self, ValaParenthesizedExpression* node); | | ValaCodeBinding* vala_code_generator_create_parenthesized_expression_bindin
g (ValaCodeGenerator* self, ValaParenthesizedExpression* node); | |
| ValaCodeBinding* vala_code_generator_create_member_access_binding (ValaCode
Generator* self, ValaMemberAccess* node); | | ValaCodeBinding* vala_code_generator_create_member_access_binding (ValaCode
Generator* self, ValaMemberAccess* node); | |
| | | | |
End of changes. 4 change blocks. |
| 0 lines changed or deleted | | 10 lines changed or added | |
|
| valacodenode.h | | valacodenode.h | |
| | | | |
| skipping to change at line 83 | | skipping to change at line 83 | |
| typedef struct _ValaMethod ValaMethod; | | typedef struct _ValaMethod ValaMethod; | |
| typedef struct _ValaMethodClass ValaMethodClass; | | typedef struct _ValaMethodClass ValaMethodClass; | |
| typedef struct _ValaFormalParameter ValaFormalParameter; | | typedef struct _ValaFormalParameter ValaFormalParameter; | |
| typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | | typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | |
| typedef struct _ValaBlock ValaBlock; | | typedef struct _ValaBlock ValaBlock; | |
| typedef struct _ValaBlockClass ValaBlockClass; | | typedef struct _ValaBlockClass ValaBlockClass; | |
| typedef struct _ValaStatement ValaStatement; | | typedef struct _ValaStatement ValaStatement; | |
| typedef struct _ValaStatementIface ValaStatementIface; | | typedef struct _ValaStatementIface ValaStatementIface; | |
| typedef struct _ValaVariableDeclarator ValaVariableDeclarator; | | typedef struct _ValaVariableDeclarator ValaVariableDeclarator; | |
| typedef struct _ValaVariableDeclaratorClass ValaVariableDeclaratorClass; | | typedef struct _ValaVariableDeclaratorClass ValaVariableDeclaratorClass; | |
|
| | | typedef struct _ValaBasicBlock ValaBasicBlock; | |
| | | typedef struct _ValaBasicBlockClass ValaBasicBlockClass; | |
| typedef struct _ValaConstant ValaConstant; | | typedef struct _ValaConstant ValaConstant; | |
| typedef struct _ValaConstantClass ValaConstantClass; | | typedef struct _ValaConstantClass ValaConstantClass; | |
| typedef struct _ValaProperty ValaProperty; | | typedef struct _ValaProperty ValaProperty; | |
| typedef struct _ValaPropertyClass ValaPropertyClass; | | typedef struct _ValaPropertyClass ValaPropertyClass; | |
| typedef struct _ValaPropertyAccessor ValaPropertyAccessor; | | typedef struct _ValaPropertyAccessor ValaPropertyAccessor; | |
| typedef struct _ValaPropertyAccessorClass ValaPropertyAccessorClass; | | typedef struct _ValaPropertyAccessorClass ValaPropertyAccessorClass; | |
| typedef struct _ValaSignal ValaSignal; | | typedef struct _ValaSignal ValaSignal; | |
| typedef struct _ValaSignalClass ValaSignalClass; | | typedef struct _ValaSignalClass ValaSignalClass; | |
| typedef struct _ValaDelegate ValaDelegate; | | typedef struct _ValaDelegate ValaDelegate; | |
| typedef struct _ValaDelegateClass ValaDelegateClass; | | typedef struct _ValaDelegateClass ValaDelegateClass; | |
| typedef struct _ValaStruct ValaStruct; | | typedef struct _ValaStruct ValaStruct; | |
| typedef struct _ValaStructClass ValaStructClass; | | typedef struct _ValaStructClass ValaStructClass; | |
|
| | | typedef struct _ValaEnum ValaEnum; | |
| | | typedef struct _ValaEnumClass ValaEnumClass; | |
| | | typedef struct _ValaEnumValue ValaEnumValue; | |
| | | typedef struct _ValaEnumValueClass ValaEnumValueClass; | |
| typedef struct _ValaConstructor ValaConstructor; | | typedef struct _ValaConstructor ValaConstructor; | |
| typedef struct _ValaConstructorClass ValaConstructorClass; | | typedef struct _ValaConstructorClass ValaConstructorClass; | |
| typedef struct _ValaDestructor ValaDestructor; | | typedef struct _ValaDestructor ValaDestructor; | |
| typedef struct _ValaDestructorClass ValaDestructorClass; | | typedef struct _ValaDestructorClass ValaDestructorClass; | |
| typedef struct _ValaInterface ValaInterface; | | typedef struct _ValaInterface ValaInterface; | |
| typedef struct _ValaInterfaceClass ValaInterfaceClass; | | typedef struct _ValaInterfaceClass ValaInterfaceClass; | |
|
| typedef struct _ValaEnum ValaEnum; | | typedef struct _ValaErrorDomain ValaErrorDomain; | |
| typedef struct _ValaEnumClass ValaEnumClass; | | typedef struct _ValaErrorDomainClass ValaErrorDomainClass; | |
| typedef struct _ValaEnumValue ValaEnumValue; | | typedef struct _ValaErrorCode ValaErrorCode; | |
| typedef struct _ValaEnumValueClass ValaEnumValueClass; | | typedef struct _ValaErrorCodeClass ValaErrorCodeClass; | |
| typedef struct _ValaCreationMethod ValaCreationMethod; | | typedef struct _ValaCreationMethod ValaCreationMethod; | |
| typedef struct _ValaCreationMethodClass ValaCreationMethodClass; | | typedef struct _ValaCreationMethodClass ValaCreationMethodClass; | |
| typedef struct _ValaEmptyStatement ValaEmptyStatement; | | typedef struct _ValaEmptyStatement ValaEmptyStatement; | |
| typedef struct _ValaEmptyStatementClass ValaEmptyStatementClass; | | typedef struct _ValaEmptyStatementClass ValaEmptyStatementClass; | |
| typedef struct _ValaDeclarationStatement ValaDeclarationStatement; | | typedef struct _ValaDeclarationStatement ValaDeclarationStatement; | |
| typedef struct _ValaDeclarationStatementClass ValaDeclarationStatementClass
; | | typedef struct _ValaDeclarationStatementClass ValaDeclarationStatementClass
; | |
| typedef struct _ValaLocalVariableDeclaration ValaLocalVariableDeclaration; | | typedef struct _ValaLocalVariableDeclaration ValaLocalVariableDeclaration; | |
| typedef struct _ValaLocalVariableDeclarationClass ValaLocalVariableDeclarat
ionClass; | | typedef struct _ValaLocalVariableDeclarationClass ValaLocalVariableDeclarat
ionClass; | |
| typedef struct _ValaInitializerList ValaInitializerList; | | typedef struct _ValaInitializerList ValaInitializerList; | |
| typedef struct _ValaInitializerListClass ValaInitializerListClass; | | typedef struct _ValaInitializerListClass ValaInitializerListClass; | |
| | | | |
| skipping to change at line 147 | | skipping to change at line 153 | |
| typedef struct _ValaReturnStatement ValaReturnStatement; | | typedef struct _ValaReturnStatement ValaReturnStatement; | |
| typedef struct _ValaReturnStatementClass ValaReturnStatementClass; | | typedef struct _ValaReturnStatementClass ValaReturnStatementClass; | |
| typedef struct _ValaThrowStatement ValaThrowStatement; | | typedef struct _ValaThrowStatement ValaThrowStatement; | |
| typedef struct _ValaThrowStatementClass ValaThrowStatementClass; | | typedef struct _ValaThrowStatementClass ValaThrowStatementClass; | |
| typedef struct _ValaTryStatement ValaTryStatement; | | typedef struct _ValaTryStatement ValaTryStatement; | |
| typedef struct _ValaTryStatementClass ValaTryStatementClass; | | typedef struct _ValaTryStatementClass ValaTryStatementClass; | |
| typedef struct _ValaCatchClause ValaCatchClause; | | typedef struct _ValaCatchClause ValaCatchClause; | |
| typedef struct _ValaCatchClauseClass ValaCatchClauseClass; | | typedef struct _ValaCatchClauseClass ValaCatchClauseClass; | |
| typedef struct _ValaLockStatement ValaLockStatement; | | typedef struct _ValaLockStatement ValaLockStatement; | |
| typedef struct _ValaLockStatementClass ValaLockStatementClass; | | typedef struct _ValaLockStatementClass ValaLockStatementClass; | |
|
| | | typedef struct _ValaDeleteStatement ValaDeleteStatement; | |
| | | typedef struct _ValaDeleteStatementClass ValaDeleteStatementClass; | |
| typedef struct _ValaArrayCreationExpression ValaArrayCreationExpression; | | typedef struct _ValaArrayCreationExpression ValaArrayCreationExpression; | |
| typedef struct _ValaArrayCreationExpressionClass ValaArrayCreationExpressio
nClass; | | typedef struct _ValaArrayCreationExpressionClass ValaArrayCreationExpressio
nClass; | |
| typedef struct _ValaBooleanLiteral ValaBooleanLiteral; | | typedef struct _ValaBooleanLiteral ValaBooleanLiteral; | |
| typedef struct _ValaBooleanLiteralClass ValaBooleanLiteralClass; | | typedef struct _ValaBooleanLiteralClass ValaBooleanLiteralClass; | |
| typedef struct _ValaLiteral ValaLiteral; | | typedef struct _ValaLiteral ValaLiteral; | |
| typedef struct _ValaLiteralClass ValaLiteralClass; | | typedef struct _ValaLiteralClass ValaLiteralClass; | |
| typedef struct _ValaCharacterLiteral ValaCharacterLiteral; | | typedef struct _ValaCharacterLiteral ValaCharacterLiteral; | |
| typedef struct _ValaCharacterLiteralClass ValaCharacterLiteralClass; | | typedef struct _ValaCharacterLiteralClass ValaCharacterLiteralClass; | |
| typedef struct _ValaIntegerLiteral ValaIntegerLiteral; | | typedef struct _ValaIntegerLiteral ValaIntegerLiteral; | |
| typedef struct _ValaIntegerLiteralClass ValaIntegerLiteralClass; | | typedef struct _ValaIntegerLiteralClass ValaIntegerLiteralClass; | |
| | | | |
End of changes. 4 change blocks. |
| 4 lines changed or deleted | | 12 lines changed or added | |
|
| valacodevisitor.h | | valacodevisitor.h | |
| | | | |
| skipping to change at line 21 | | skipping to change at line 21 | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| * You should have received a copy of the GNU Lesser General Public | | * You should have received a copy of the GNU Lesser General Public | |
| * License along with this library; if not, write to the Free Software | | * License along with this library; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
|
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALACODEVISITOR_H__ | | #ifndef __VALA_VALACODEVISITOR_H__ | |
| #define __VALA_VALACODEVISITOR_H__ | | #define __VALA_VALACODEVISITOR_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| skipping to change at line 58 | | skipping to change at line 58 | |
| }; | | }; | |
| struct _ValaCodeVisitorClass { | | struct _ValaCodeVisitorClass { | |
| GObjectClass parent_class; | | GObjectClass parent_class; | |
| void (*visit_source_file) (ValaCodeVisitor* self, ValaSourceFile* so
urce_file); | | void (*visit_source_file) (ValaCodeVisitor* self, ValaSourceFile* so
urce_file); | |
| void (*visit_namespace) (ValaCodeVisitor* self, ValaNamespace* ns); | | void (*visit_namespace) (ValaCodeVisitor* self, ValaNamespace* ns); | |
| void (*visit_class) (ValaCodeVisitor* self, ValaClass* cl); | | void (*visit_class) (ValaCodeVisitor* self, ValaClass* cl); | |
| void (*visit_struct) (ValaCodeVisitor* self, ValaStruct* st); | | void (*visit_struct) (ValaCodeVisitor* self, ValaStruct* st); | |
| void (*visit_interface) (ValaCodeVisitor* self, ValaInterface* iface
); | | void (*visit_interface) (ValaCodeVisitor* self, ValaInterface* iface
); | |
| void (*visit_enum) (ValaCodeVisitor* self, ValaEnum* en); | | void (*visit_enum) (ValaCodeVisitor* self, ValaEnum* en); | |
| void (*visit_enum_value) (ValaCodeVisitor* self, ValaEnumValue* ev); | | void (*visit_enum_value) (ValaCodeVisitor* self, ValaEnumValue* ev); | |
|
| | | void (*visit_error_domain) (ValaCodeVisitor* self, ValaErrorDomain* | |
| | | edomain); | |
| | | void (*visit_error_code) (ValaCodeVisitor* self, ValaErrorCode* ecod | |
| | | e); | |
| void (*visit_delegate) (ValaCodeVisitor* self, ValaDelegate* d); | | void (*visit_delegate) (ValaCodeVisitor* self, ValaDelegate* d); | |
| void (*visit_member) (ValaCodeVisitor* self, ValaMember* m); | | void (*visit_member) (ValaCodeVisitor* self, ValaMember* m); | |
| void (*visit_constant) (ValaCodeVisitor* self, ValaConstant* c); | | void (*visit_constant) (ValaCodeVisitor* self, ValaConstant* c); | |
| void (*visit_field) (ValaCodeVisitor* self, ValaField* f); | | void (*visit_field) (ValaCodeVisitor* self, ValaField* f); | |
| void (*visit_method) (ValaCodeVisitor* self, ValaMethod* m); | | void (*visit_method) (ValaCodeVisitor* self, ValaMethod* m); | |
| void (*visit_creation_method) (ValaCodeVisitor* self, ValaCreationMe
thod* m); | | void (*visit_creation_method) (ValaCodeVisitor* self, ValaCreationMe
thod* m); | |
| void (*visit_formal_parameter) (ValaCodeVisitor* self, ValaFormalPar
ameter* p); | | void (*visit_formal_parameter) (ValaCodeVisitor* self, ValaFormalPar
ameter* p); | |
| void (*visit_property) (ValaCodeVisitor* self, ValaProperty* prop); | | void (*visit_property) (ValaCodeVisitor* self, ValaProperty* prop); | |
| void (*visit_property_accessor) (ValaCodeVisitor* self, ValaProperty
Accessor* acc); | | void (*visit_property_accessor) (ValaCodeVisitor* self, ValaProperty
Accessor* acc); | |
| void (*visit_signal) (ValaCodeVisitor* self, ValaSignal* sig); | | void (*visit_signal) (ValaCodeVisitor* self, ValaSignal* sig); | |
| | | | |
| skipping to change at line 96 | | skipping to change at line 98 | |
| void (*visit_do_statement) (ValaCodeVisitor* self, ValaDoStatement*
stmt); | | void (*visit_do_statement) (ValaCodeVisitor* self, ValaDoStatement*
stmt); | |
| void (*visit_for_statement) (ValaCodeVisitor* self, ValaForStatement
* stmt); | | void (*visit_for_statement) (ValaCodeVisitor* self, ValaForStatement
* stmt); | |
| void (*visit_foreach_statement) (ValaCodeVisitor* self, ValaForeachS
tatement* stmt); | | void (*visit_foreach_statement) (ValaCodeVisitor* self, ValaForeachS
tatement* stmt); | |
| void (*visit_break_statement) (ValaCodeVisitor* self, ValaBreakState
ment* stmt); | | void (*visit_break_statement) (ValaCodeVisitor* self, ValaBreakState
ment* stmt); | |
| void (*visit_continue_statement) (ValaCodeVisitor* self, ValaContinu
eStatement* stmt); | | void (*visit_continue_statement) (ValaCodeVisitor* self, ValaContinu
eStatement* stmt); | |
| void (*visit_return_statement) (ValaCodeVisitor* self, ValaReturnSta
tement* stmt); | | void (*visit_return_statement) (ValaCodeVisitor* self, ValaReturnSta
tement* stmt); | |
| void (*visit_throw_statement) (ValaCodeVisitor* self, ValaThrowState
ment* stmt); | | void (*visit_throw_statement) (ValaCodeVisitor* self, ValaThrowState
ment* stmt); | |
| void (*visit_try_statement) (ValaCodeVisitor* self, ValaTryStatement
* stmt); | | void (*visit_try_statement) (ValaCodeVisitor* self, ValaTryStatement
* stmt); | |
| void (*visit_catch_clause) (ValaCodeVisitor* self, ValaCatchClause*
clause); | | void (*visit_catch_clause) (ValaCodeVisitor* self, ValaCatchClause*
clause); | |
| void (*visit_lock_statement) (ValaCodeVisitor* self, ValaLockStateme
nt* stmt); | | void (*visit_lock_statement) (ValaCodeVisitor* self, ValaLockStateme
nt* stmt); | |
|
| | | void (*visit_delete_statement) (ValaCodeVisitor* self, ValaDeleteSta
tement* stmt); | |
| void (*visit_array_creation_expression) (ValaCodeVisitor* self, Vala
ArrayCreationExpression* expr); | | void (*visit_array_creation_expression) (ValaCodeVisitor* self, Vala
ArrayCreationExpression* expr); | |
| void (*visit_boolean_literal) (ValaCodeVisitor* self, ValaBooleanLit
eral* lit); | | void (*visit_boolean_literal) (ValaCodeVisitor* self, ValaBooleanLit
eral* lit); | |
| void (*visit_character_literal) (ValaCodeVisitor* self, ValaCharacte
rLiteral* lit); | | void (*visit_character_literal) (ValaCodeVisitor* self, ValaCharacte
rLiteral* lit); | |
| void (*visit_integer_literal) (ValaCodeVisitor* self, ValaIntegerLit
eral* lit); | | void (*visit_integer_literal) (ValaCodeVisitor* self, ValaIntegerLit
eral* lit); | |
| void (*visit_real_literal) (ValaCodeVisitor* self, ValaRealLiteral*
lit); | | void (*visit_real_literal) (ValaCodeVisitor* self, ValaRealLiteral*
lit); | |
| void (*visit_string_literal) (ValaCodeVisitor* self, ValaStringLiter
al* lit); | | void (*visit_string_literal) (ValaCodeVisitor* self, ValaStringLiter
al* lit); | |
| void (*visit_null_literal) (ValaCodeVisitor* self, ValaNullLiteral*
lit); | | void (*visit_null_literal) (ValaCodeVisitor* self, ValaNullLiteral*
lit); | |
| void (*visit_literal_expression) (ValaCodeVisitor* self, ValaLiteral
Expression* expr); | | void (*visit_literal_expression) (ValaCodeVisitor* self, ValaLiteral
Expression* expr); | |
| void (*visit_parenthesized_expression) (ValaCodeVisitor* self, ValaP
arenthesizedExpression* expr); | | void (*visit_parenthesized_expression) (ValaCodeVisitor* self, ValaP
arenthesizedExpression* expr); | |
| void (*visit_member_access) (ValaCodeVisitor* self, ValaMemberAccess
* expr); | | void (*visit_member_access) (ValaCodeVisitor* self, ValaMemberAccess
* expr); | |
| | | | |
| skipping to change at line 133 | | skipping to change at line 136 | |
| void (*visit_end_full_expression) (ValaCodeVisitor* self, ValaExpres
sion* expr); | | void (*visit_end_full_expression) (ValaCodeVisitor* self, ValaExpres
sion* expr); | |
| }; | | }; | |
| | | | |
| void vala_code_visitor_visit_source_file (ValaCodeVisitor* self, ValaSource
File* source_file); | | void vala_code_visitor_visit_source_file (ValaCodeVisitor* self, ValaSource
File* source_file); | |
| void vala_code_visitor_visit_namespace (ValaCodeVisitor* self, ValaNamespac
e* ns); | | void vala_code_visitor_visit_namespace (ValaCodeVisitor* self, ValaNamespac
e* ns); | |
| void vala_code_visitor_visit_class (ValaCodeVisitor* self, ValaClass* cl); | | void vala_code_visitor_visit_class (ValaCodeVisitor* self, ValaClass* cl); | |
| void vala_code_visitor_visit_struct (ValaCodeVisitor* self, ValaStruct* st)
; | | void vala_code_visitor_visit_struct (ValaCodeVisitor* self, ValaStruct* st)
; | |
| void vala_code_visitor_visit_interface (ValaCodeVisitor* self, ValaInterfac
e* iface); | | void vala_code_visitor_visit_interface (ValaCodeVisitor* self, ValaInterfac
e* iface); | |
| void vala_code_visitor_visit_enum (ValaCodeVisitor* self, ValaEnum* en); | | void vala_code_visitor_visit_enum (ValaCodeVisitor* self, ValaEnum* en); | |
| void vala_code_visitor_visit_enum_value (ValaCodeVisitor* self, ValaEnumVal
ue* ev); | | void vala_code_visitor_visit_enum_value (ValaCodeVisitor* self, ValaEnumVal
ue* ev); | |
|
| | | void vala_code_visitor_visit_error_domain (ValaCodeVisitor* self, ValaError | |
| | | Domain* edomain); | |
| | | void vala_code_visitor_visit_error_code (ValaCodeVisitor* self, ValaErrorCo | |
| | | de* ecode); | |
| void vala_code_visitor_visit_delegate (ValaCodeVisitor* self, ValaDelegate*
d); | | void vala_code_visitor_visit_delegate (ValaCodeVisitor* self, ValaDelegate*
d); | |
| void vala_code_visitor_visit_member (ValaCodeVisitor* self, ValaMember* m); | | void vala_code_visitor_visit_member (ValaCodeVisitor* self, ValaMember* m); | |
| void vala_code_visitor_visit_constant (ValaCodeVisitor* self, ValaConstant*
c); | | void vala_code_visitor_visit_constant (ValaCodeVisitor* self, ValaConstant*
c); | |
| void vala_code_visitor_visit_field (ValaCodeVisitor* self, ValaField* f); | | void vala_code_visitor_visit_field (ValaCodeVisitor* self, ValaField* f); | |
| void vala_code_visitor_visit_method (ValaCodeVisitor* self, ValaMethod* m); | | void vala_code_visitor_visit_method (ValaCodeVisitor* self, ValaMethod* m); | |
| void vala_code_visitor_visit_creation_method (ValaCodeVisitor* self, ValaCr
eationMethod* m); | | void vala_code_visitor_visit_creation_method (ValaCodeVisitor* self, ValaCr
eationMethod* m); | |
| void vala_code_visitor_visit_formal_parameter (ValaCodeVisitor* self, ValaF
ormalParameter* p); | | void vala_code_visitor_visit_formal_parameter (ValaCodeVisitor* self, ValaF
ormalParameter* p); | |
| void vala_code_visitor_visit_property (ValaCodeVisitor* self, ValaProperty*
prop); | | void vala_code_visitor_visit_property (ValaCodeVisitor* self, ValaProperty*
prop); | |
| void vala_code_visitor_visit_property_accessor (ValaCodeVisitor* self, Vala
PropertyAccessor* acc); | | void vala_code_visitor_visit_property_accessor (ValaCodeVisitor* self, Vala
PropertyAccessor* acc); | |
| void vala_code_visitor_visit_signal (ValaCodeVisitor* self, ValaSignal* sig
); | | void vala_code_visitor_visit_signal (ValaCodeVisitor* self, ValaSignal* sig
); | |
| | | | |
| skipping to change at line 171 | | skipping to change at line 176 | |
| void vala_code_visitor_visit_do_statement (ValaCodeVisitor* self, ValaDoSta
tement* stmt); | | void vala_code_visitor_visit_do_statement (ValaCodeVisitor* self, ValaDoSta
tement* stmt); | |
| void vala_code_visitor_visit_for_statement (ValaCodeVisitor* self, ValaForS
tatement* stmt); | | void vala_code_visitor_visit_for_statement (ValaCodeVisitor* self, ValaForS
tatement* stmt); | |
| void vala_code_visitor_visit_foreach_statement (ValaCodeVisitor* self, Vala
ForeachStatement* stmt); | | void vala_code_visitor_visit_foreach_statement (ValaCodeVisitor* self, Vala
ForeachStatement* stmt); | |
| void vala_code_visitor_visit_break_statement (ValaCodeVisitor* self, ValaBr
eakStatement* stmt); | | void vala_code_visitor_visit_break_statement (ValaCodeVisitor* self, ValaBr
eakStatement* stmt); | |
| void vala_code_visitor_visit_continue_statement (ValaCodeVisitor* self, Val
aContinueStatement* stmt); | | void vala_code_visitor_visit_continue_statement (ValaCodeVisitor* self, Val
aContinueStatement* stmt); | |
| void vala_code_visitor_visit_return_statement (ValaCodeVisitor* self, ValaR
eturnStatement* stmt); | | void vala_code_visitor_visit_return_statement (ValaCodeVisitor* self, ValaR
eturnStatement* stmt); | |
| void vala_code_visitor_visit_throw_statement (ValaCodeVisitor* self, ValaTh
rowStatement* stmt); | | void vala_code_visitor_visit_throw_statement (ValaCodeVisitor* self, ValaTh
rowStatement* stmt); | |
| void vala_code_visitor_visit_try_statement (ValaCodeVisitor* self, ValaTryS
tatement* stmt); | | void vala_code_visitor_visit_try_statement (ValaCodeVisitor* self, ValaTryS
tatement* stmt); | |
| void vala_code_visitor_visit_catch_clause (ValaCodeVisitor* self, ValaCatch
Clause* clause); | | void vala_code_visitor_visit_catch_clause (ValaCodeVisitor* self, ValaCatch
Clause* clause); | |
| void vala_code_visitor_visit_lock_statement (ValaCodeVisitor* self, ValaLoc
kStatement* stmt); | | void vala_code_visitor_visit_lock_statement (ValaCodeVisitor* self, ValaLoc
kStatement* stmt); | |
|
| | | void vala_code_visitor_visit_delete_statement (ValaCodeVisitor* self, ValaD
eleteStatement* stmt); | |
| void vala_code_visitor_visit_array_creation_expression (ValaCodeVisitor* se
lf, ValaArrayCreationExpression* expr); | | void vala_code_visitor_visit_array_creation_expression (ValaCodeVisitor* se
lf, ValaArrayCreationExpression* expr); | |
| void vala_code_visitor_visit_boolean_literal (ValaCodeVisitor* self, ValaBo
oleanLiteral* lit); | | void vala_code_visitor_visit_boolean_literal (ValaCodeVisitor* self, ValaBo
oleanLiteral* lit); | |
| void vala_code_visitor_visit_character_literal (ValaCodeVisitor* self, Vala
CharacterLiteral* lit); | | void vala_code_visitor_visit_character_literal (ValaCodeVisitor* self, Vala
CharacterLiteral* lit); | |
| void vala_code_visitor_visit_integer_literal (ValaCodeVisitor* self, ValaIn
tegerLiteral* lit); | | void vala_code_visitor_visit_integer_literal (ValaCodeVisitor* self, ValaIn
tegerLiteral* lit); | |
| void vala_code_visitor_visit_real_literal (ValaCodeVisitor* self, ValaRealL
iteral* lit); | | void vala_code_visitor_visit_real_literal (ValaCodeVisitor* self, ValaRealL
iteral* lit); | |
| void vala_code_visitor_visit_string_literal (ValaCodeVisitor* self, ValaStr
ingLiteral* lit); | | void vala_code_visitor_visit_string_literal (ValaCodeVisitor* self, ValaStr
ingLiteral* lit); | |
| void vala_code_visitor_visit_null_literal (ValaCodeVisitor* self, ValaNullL
iteral* lit); | | void vala_code_visitor_visit_null_literal (ValaCodeVisitor* self, ValaNullL
iteral* lit); | |
| void vala_code_visitor_visit_literal_expression (ValaCodeVisitor* self, Val
aLiteralExpression* expr); | | void vala_code_visitor_visit_literal_expression (ValaCodeVisitor* self, Val
aLiteralExpression* expr); | |
| void vala_code_visitor_visit_parenthesized_expression (ValaCodeVisitor* sel
f, ValaParenthesizedExpression* expr); | | void vala_code_visitor_visit_parenthesized_expression (ValaCodeVisitor* sel
f, ValaParenthesizedExpression* expr); | |
| void vala_code_visitor_visit_member_access (ValaCodeVisitor* self, ValaMemb
erAccess* expr); | | void vala_code_visitor_visit_member_access (ValaCodeVisitor* self, ValaMemb
erAccess* expr); | |
| | | | |
End of changes. 5 change blocks. |
| 1 lines changed or deleted | | 11 lines changed or added | |
|
| valadatatype.h | | valadatatype.h | |
| | | | |
| skipping to change at line 21 | | skipping to change at line 21 | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| * You should have received a copy of the GNU Lesser General Public | | * You should have received a copy of the GNU Lesser General Public | |
| * License along with this library; if not, write to the Free Software | | * License along with this library; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
|
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALADATATYPE_H__ | | #ifndef __VALA_VALADATATYPE_H__ | |
| #define __VALA_VALADATATYPE_H__ | | #define __VALA_VALADATATYPE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <gee/list.h> | | #include <gee/list.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
| | | | |
| skipping to change at line 57 | | skipping to change at line 57 | |
| * A reference to a data type. This is used to specify static types of | | * A reference to a data type. This is used to specify static types of | |
| * expressions. | | * expressions. | |
| */ | | */ | |
| struct _ValaDataType { | | struct _ValaDataType { | |
| ValaCodeNode parent_instance; | | ValaCodeNode parent_instance; | |
| ValaDataTypePrivate * priv; | | ValaDataTypePrivate * priv; | |
| }; | | }; | |
| struct _ValaDataTypeClass { | | struct _ValaDataTypeClass { | |
| ValaCodeNodeClass parent_class; | | ValaCodeNodeClass parent_class; | |
| char* (*get_cname) (ValaDataType* self, gboolean var_type, gboolean
const_type); | | char* (*get_cname) (ValaDataType* self, gboolean var_type, gboolean
const_type); | |
|
| | | char* (*get_lower_case_cname) (ValaDataType* self, const char* infix
); | |
| ValaDataType* (*copy) (ValaDataType* self); | | ValaDataType* (*copy) (ValaDataType* self); | |
|
| | | gboolean (*equals) (ValaDataType* self, ValaDataType* type2); | |
| gboolean (*stricter) (ValaDataType* self, ValaDataType* type2); | | gboolean (*stricter) (ValaDataType* self, ValaDataType* type2); | |
|
| gboolean (*compatible) (ValaDataType* self, ValaDataType* target_typ
e); | | gboolean (*compatible) (ValaDataType* self, ValaDataType* target_typ
e, gboolean enable_non_null); | |
| gboolean (*is_invokable) (ValaDataType* self); | | gboolean (*is_invokable) (ValaDataType* self); | |
| ValaDataType* (*get_return_type) (ValaDataType* self); | | ValaDataType* (*get_return_type) (ValaDataType* self); | |
| GeeCollection* (*get_parameters) (ValaDataType* self); | | GeeCollection* (*get_parameters) (ValaDataType* self); | |
| gboolean (*is_reference_type_or_type_parameter) (ValaDataType* self)
; | | gboolean (*is_reference_type_or_type_parameter) (ValaDataType* self)
; | |
| gboolean (*is_array) (ValaDataType* self); | | gboolean (*is_array) (ValaDataType* self); | |
| GeeCollection* (*get_symbols) (ValaDataType* self); | | GeeCollection* (*get_symbols) (ValaDataType* self); | |
| ValaSymbol* (*get_pointer_member) (ValaDataType* self, const char* m
ember_name); | | ValaSymbol* (*get_pointer_member) (ValaDataType* self, const char* m
ember_name); | |
|
| | | gboolean (*is_real_struct_type) (ValaDataType* self); | |
| | | char* (*get_type_id) (ValaDataType* self); | |
| }; | | }; | |
| | | | |
| ValaDataType* vala_data_type_new (void); | | ValaDataType* vala_data_type_new (void); | |
| void vala_data_type_add_type_argument (ValaDataType* self, ValaDataType* ar
g); | | void vala_data_type_add_type_argument (ValaDataType* self, ValaDataType* ar
g); | |
| GeeList* vala_data_type_get_type_arguments (ValaDataType* self); | | GeeList* vala_data_type_get_type_arguments (ValaDataType* self); | |
| void vala_data_type_remove_all_type_arguments (ValaDataType* self); | | void vala_data_type_remove_all_type_arguments (ValaDataType* self); | |
| char* vala_data_type_get_cname (ValaDataType* self, gboolean var_type, gboo
lean const_type); | | char* vala_data_type_get_cname (ValaDataType* self, gboolean var_type, gboo
lean const_type); | |
| char* vala_data_type_get_const_cname (ValaDataType* self); | | char* vala_data_type_get_const_cname (ValaDataType* self); | |
|
| | | char* vala_data_type_get_lower_case_cname (ValaDataType* self, const char*
infix); | |
| ValaDataType* vala_data_type_copy (ValaDataType* self); | | ValaDataType* vala_data_type_copy (ValaDataType* self); | |
| gboolean vala_data_type_equals (ValaDataType* self, ValaDataType* type2); | | gboolean vala_data_type_equals (ValaDataType* self, ValaDataType* type2); | |
| gboolean vala_data_type_stricter (ValaDataType* self, ValaDataType* type2); | | gboolean vala_data_type_stricter (ValaDataType* self, ValaDataType* type2); | |
|
| gboolean vala_data_type_compatible (ValaDataType* self, ValaDataType* targe
t_type); | | gboolean vala_data_type_compatible (ValaDataType* self, ValaDataType* targe
t_type, gboolean enable_non_null); | |
| gboolean vala_data_type_is_invokable (ValaDataType* self); | | gboolean vala_data_type_is_invokable (ValaDataType* self); | |
| ValaDataType* vala_data_type_get_return_type (ValaDataType* self); | | ValaDataType* vala_data_type_get_return_type (ValaDataType* self); | |
| GeeCollection* vala_data_type_get_parameters (ValaDataType* self); | | GeeCollection* vala_data_type_get_parameters (ValaDataType* self); | |
| gboolean vala_data_type_is_reference_type_or_type_parameter (ValaDataType*
self); | | gboolean vala_data_type_is_reference_type_or_type_parameter (ValaDataType*
self); | |
| gboolean vala_data_type_is_array (ValaDataType* self); | | gboolean vala_data_type_is_array (ValaDataType* self); | |
| GeeCollection* vala_data_type_get_symbols (ValaDataType* self); | | GeeCollection* vala_data_type_get_symbols (ValaDataType* self); | |
| ValaSymbol* vala_data_type_get_pointer_member (ValaDataType* self, const ch
ar* member_name); | | ValaSymbol* vala_data_type_get_pointer_member (ValaDataType* self, const ch
ar* member_name); | |
|
| | | gboolean vala_data_type_is_real_struct_type (ValaDataType* self); | |
| | | char* vala_data_type_get_type_id (ValaDataType* self); | |
| gboolean vala_data_type_get_transfers_ownership (ValaDataType* self); | | gboolean vala_data_type_get_transfers_ownership (ValaDataType* self); | |
| void vala_data_type_set_transfers_ownership (ValaDataType* self, gboolean v
alue); | | void vala_data_type_set_transfers_ownership (ValaDataType* self, gboolean v
alue); | |
| gboolean vala_data_type_get_takes_ownership (ValaDataType* self); | | gboolean vala_data_type_get_takes_ownership (ValaDataType* self); | |
| void vala_data_type_set_takes_ownership (ValaDataType* self, gboolean value
); | | void vala_data_type_set_takes_ownership (ValaDataType* self, gboolean value
); | |
| gboolean vala_data_type_get_is_out (ValaDataType* self); | | gboolean vala_data_type_get_is_out (ValaDataType* self); | |
| void vala_data_type_set_is_out (ValaDataType* self, gboolean value); | | void vala_data_type_set_is_out (ValaDataType* self, gboolean value); | |
| gboolean vala_data_type_get_nullable (ValaDataType* self); | | gboolean vala_data_type_get_nullable (ValaDataType* self); | |
| void vala_data_type_set_nullable (ValaDataType* self, gboolean value); | | void vala_data_type_set_nullable (ValaDataType* self, gboolean value); | |
|
| gboolean vala_data_type_get_is_null (ValaDataType* self); | | gboolean vala_data_type_get_requires_null_check (ValaDataType* self); | |
| void vala_data_type_set_is_null (ValaDataType* self, gboolean value); | | void vala_data_type_set_requires_null_check (ValaDataType* self, gboolean v | |
| | | alue); | |
| ValaTypesymbol* vala_data_type_get_data_type (ValaDataType* self); | | ValaTypesymbol* vala_data_type_get_data_type (ValaDataType* self); | |
| void vala_data_type_set_data_type (ValaDataType* self, ValaTypesymbol* valu
e); | | void vala_data_type_set_data_type (ValaDataType* self, ValaTypesymbol* valu
e); | |
| ValaTypeParameter* vala_data_type_get_type_parameter (ValaDataType* self); | | ValaTypeParameter* vala_data_type_get_type_parameter (ValaDataType* self); | |
| void vala_data_type_set_type_parameter (ValaDataType* self, ValaTypeParamet
er* value); | | void vala_data_type_set_type_parameter (ValaDataType* self, ValaTypeParamet
er* value); | |
| gboolean vala_data_type_get_floating_reference (ValaDataType* self); | | gboolean vala_data_type_get_floating_reference (ValaDataType* self); | |
| void vala_data_type_set_floating_reference (ValaDataType* self, gboolean va
lue); | | void vala_data_type_set_floating_reference (ValaDataType* self, gboolean va
lue); | |
| gboolean vala_data_type_get_is_ref (ValaDataType* self); | | gboolean vala_data_type_get_is_ref (ValaDataType* self); | |
| void vala_data_type_set_is_ref (ValaDataType* self, gboolean value); | | void vala_data_type_set_is_ref (ValaDataType* self, gboolean value); | |
| GType vala_data_type_get_type (void); | | GType vala_data_type_get_type (void); | |
| | | | |
| | | | |
End of changes. 9 change blocks. |
| 5 lines changed or deleted | | 13 lines changed or added | |
|
| valadelegate.h | | valadelegate.h | |
| | | | |
| skipping to change at line 30 | | skipping to change at line 30 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALADELEGATE_H__ | | #ifndef __VALA_VALADELEGATE_H__ | |
| #define __VALA_VALADELEGATE_H__ | | #define __VALA_VALADELEGATE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| | | #include <float.h> | |
| | | #include <math.h> | |
| #include <vala/valatypesymbol.h> | | #include <vala/valatypesymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_DELEGATE (vala_delegate_get_type ()) | | #define VALA_TYPE_DELEGATE (vala_delegate_get_type ()) | |
| #define VALA_DELEGATE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_DE
LEGATE, ValaDelegate)) | | #define VALA_DELEGATE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_DE
LEGATE, ValaDelegate)) | |
| #define VALA_DELEGATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_
TYPE_DELEGATE, ValaDelegateClass)) | | #define VALA_DELEGATE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_
TYPE_DELEGATE, ValaDelegateClass)) | |
| #define VALA_IS_DELEGATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE
_DELEGATE)) | | #define VALA_IS_DELEGATE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE
_DELEGATE)) | |
| #define VALA_IS_DELEGATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA
LA_TYPE_DELEGATE)) | | #define VALA_IS_DELEGATE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA
LA_TYPE_DELEGATE)) | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 61 | |
| ValaTypesymbol parent_instance; | | ValaTypesymbol parent_instance; | |
| ValaDelegatePrivate * priv; | | ValaDelegatePrivate * priv; | |
| }; | | }; | |
| struct _ValaDelegateClass { | | struct _ValaDelegateClass { | |
| ValaTypesymbolClass parent_class; | | ValaTypesymbolClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaDelegate* vala_delegate_new (const char* name, ValaDataType* return_typ
e, ValaSourceReference* source_reference); | | ValaDelegate* vala_delegate_new (const char* name, ValaDataType* return_typ
e, ValaSourceReference* source_reference); | |
| void vala_delegate_add_type_parameter (ValaDelegate* self, ValaTypeParamete
r* p); | | void vala_delegate_add_type_parameter (ValaDelegate* self, ValaTypeParamete
r* p); | |
| void vala_delegate_add_parameter (ValaDelegate* self, ValaFormalParameter*
param); | | void vala_delegate_add_parameter (ValaDelegate* self, ValaFormalParameter*
param); | |
|
| GeeCollection* vala_delegate_get_parameters (ValaDelegate* self); | | GeeList* vala_delegate_get_parameters (ValaDelegate* self); | |
| gboolean vala_delegate_matches_method (ValaDelegate* self, ValaMethod* m); | | gboolean vala_delegate_matches_method (ValaDelegate* self, ValaMethod* m); | |
| void vala_delegate_set_cname (ValaDelegate* self, const char* cname); | | void vala_delegate_set_cname (ValaDelegate* self, const char* cname); | |
| void vala_delegate_process_attributes (ValaDelegate* self); | | void vala_delegate_process_attributes (ValaDelegate* self); | |
| ValaDataType* vala_delegate_get_return_type (ValaDelegate* self); | | ValaDataType* vala_delegate_get_return_type (ValaDelegate* self); | |
| void vala_delegate_set_return_type (ValaDelegate* self, ValaDataType* value
); | | void vala_delegate_set_return_type (ValaDelegate* self, ValaDataType* value
); | |
| gboolean vala_delegate_get_instance (ValaDelegate* self); | | gboolean vala_delegate_get_instance (ValaDelegate* self); | |
| void vala_delegate_set_instance (ValaDelegate* self, gboolean value); | | void vala_delegate_set_instance (ValaDelegate* self, gboolean value); | |
|
| | | double vala_delegate_get_cinstance_parameter_position (ValaDelegate* self); | |
| | | void vala_delegate_set_cinstance_parameter_position (ValaDelegate* self, do | |
| | | uble value); | |
| | | double vala_delegate_get_carray_length_parameter_position (ValaDelegate* se | |
| | | lf); | |
| | | void vala_delegate_set_carray_length_parameter_position (ValaDelegate* self | |
| | | , double value); | |
| | | double vala_delegate_get_cdelegate_target_parameter_position (ValaDelegate* | |
| | | self); | |
| | | void vala_delegate_set_cdelegate_target_parameter_position (ValaDelegate* s | |
| | | elf, double value); | |
| | | gboolean vala_delegate_get_no_array_length (ValaDelegate* self); | |
| | | void vala_delegate_set_no_array_length (ValaDelegate* self, gboolean value) | |
| | | ; | |
| GType vala_delegate_get_type (void); | | GType vala_delegate_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 18 lines changed or added | |
|
| valaformalparameter.h | | valaformalparameter.h | |
| /* valaformalparameter.vala | | /* valaformalparameter.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| | | | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| * You should have received a copy of the GNU Lesser General Public | | * You should have received a copy of the GNU Lesser General Public | |
| * License along with this library; if not, write to the Free Software | | * License along with this library; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
|
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAFORMALPARAMETER_H__ | | #ifndef __VALA_VALAFORMALPARAMETER_H__ | |
| #define __VALA_VALAFORMALPARAMETER_H__ | | #define __VALA_VALAFORMALPARAMETER_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
|
| | | #include <float.h> | |
| | | #include <math.h> | |
| #include <vala/valasymbol.h> | | #include <vala/valasymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_FORMAL_PARAMETER (vala_formal_parameter_get_type ()) | | #define VALA_TYPE_FORMAL_PARAMETER (vala_formal_parameter_get_type ()) | |
| #define VALA_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA
_TYPE_FORMAL_PARAMETER, ValaFormalParameter)) | | #define VALA_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA
_TYPE_FORMAL_PARAMETER, ValaFormalParameter)) | |
| #define VALA_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass
), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | | #define VALA_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass
), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | |
| #define VALA_IS_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V
ALA_TYPE_FORMAL_PARAMETER)) | | #define VALA_IS_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V
ALA_TYPE_FORMAL_PARAMETER)) | |
| #define VALA_IS_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl
ass), VALA_TYPE_FORMAL_PARAMETER)) | | #define VALA_IS_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl
ass), VALA_TYPE_FORMAL_PARAMETER)) | |
| | | | |
| skipping to change at line 58 | | skipping to change at line 60 | |
| struct _ValaFormalParameter { | | struct _ValaFormalParameter { | |
| ValaSymbol parent_instance; | | ValaSymbol parent_instance; | |
| ValaFormalParameterPrivate * priv; | | ValaFormalParameterPrivate * priv; | |
| }; | | }; | |
| struct _ValaFormalParameterClass { | | struct _ValaFormalParameterClass { | |
| ValaSymbolClass parent_class; | | ValaSymbolClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaFormalParameter* vala_formal_parameter_new (const char* _name, ValaData
Type* type, ValaSourceReference* source); | | ValaFormalParameter* vala_formal_parameter_new (const char* _name, ValaData
Type* type, ValaSourceReference* source); | |
| ValaFormalParameter* vala_formal_parameter_new_with_ellipsis (ValaSourceRef
erence* source); | | ValaFormalParameter* vala_formal_parameter_new_with_ellipsis (ValaSourceRef
erence* source); | |
|
| | | void vala_formal_parameter_process_attributes (ValaFormalParameter* self); | |
| | | ValaFormalParameter* vala_formal_parameter_copy (ValaFormalParameter* self) | |
| | | ; | |
| ValaDataType* vala_formal_parameter_get_type_reference (ValaFormalParameter
* self); | | ValaDataType* vala_formal_parameter_get_type_reference (ValaFormalParameter
* self); | |
| void vala_formal_parameter_set_type_reference (ValaFormalParameter* self, V
alaDataType* value); | | void vala_formal_parameter_set_type_reference (ValaFormalParameter* self, V
alaDataType* value); | |
| gboolean vala_formal_parameter_get_ellipsis (ValaFormalParameter* self); | | gboolean vala_formal_parameter_get_ellipsis (ValaFormalParameter* self); | |
| void vala_formal_parameter_set_ellipsis (ValaFormalParameter* self, gboolea
n value); | | void vala_formal_parameter_set_ellipsis (ValaFormalParameter* self, gboolea
n value); | |
| ValaExpression* vala_formal_parameter_get_default_expression (ValaFormalPar
ameter* self); | | ValaExpression* vala_formal_parameter_get_default_expression (ValaFormalPar
ameter* self); | |
| void vala_formal_parameter_set_default_expression (ValaFormalParameter* sel
f, ValaExpression* value); | | void vala_formal_parameter_set_default_expression (ValaFormalParameter* sel
f, ValaExpression* value); | |
| gboolean vala_formal_parameter_get_no_array_length (ValaFormalParameter* se
lf); | | gboolean vala_formal_parameter_get_no_array_length (ValaFormalParameter* se
lf); | |
| void vala_formal_parameter_set_no_array_length (ValaFormalParameter* self,
gboolean value); | | void vala_formal_parameter_set_no_array_length (ValaFormalParameter* self,
gboolean value); | |
| gboolean vala_formal_parameter_get_construct_parameter (ValaFormalParameter
* self); | | gboolean vala_formal_parameter_get_construct_parameter (ValaFormalParameter
* self); | |
| void vala_formal_parameter_set_construct_parameter (ValaFormalParameter* se
lf, gboolean value); | | void vala_formal_parameter_set_construct_parameter (ValaFormalParameter* se
lf, gboolean value); | |
|
| | | double vala_formal_parameter_get_cparameter_position (ValaFormalParameter* | |
| | | self); | |
| | | void vala_formal_parameter_set_cparameter_position (ValaFormalParameter* se | |
| | | lf, double value); | |
| | | double vala_formal_parameter_get_carray_length_parameter_position (ValaForm | |
| | | alParameter* self); | |
| | | void vala_formal_parameter_set_carray_length_parameter_position (ValaFormal | |
| | | Parameter* self, double value); | |
| | | double vala_formal_parameter_get_cdelegate_target_parameter_position (ValaF | |
| | | ormalParameter* self); | |
| | | void vala_formal_parameter_set_cdelegate_target_parameter_position (ValaFor | |
| | | malParameter* self, double value); | |
| GType vala_formal_parameter_get_type (void); | | GType vala_formal_parameter_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 5 change blocks. |
| 2 lines changed or deleted | | 19 lines changed or added | |
|
| valamemorymanager.h | | valamemorymanager.h | |
| | | | |
| skipping to change at line 21 | | skipping to change at line 21 | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| * You should have received a copy of the GNU Lesser General Public | | * You should have received a copy of the GNU Lesser General Public | |
| * License along with this library; if not, write to the Free Software | | * License along with this library; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
|
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAMEMORYMANAGER_H__ | | #ifndef __VALA_VALAMEMORYMANAGER_H__ | |
| #define __VALA_VALAMEMORYMANAGER_H__ | | #define __VALA_VALAMEMORYMANAGER_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <vala/valacodevisitor.h> | | #include <vala/valacodevisitor.h> | |
| #include <vala/valacodecontext.h> | | #include <vala/valacodecontext.h> | |
| #include <vala/valasourcefile.h> | | #include <vala/valasourcefile.h> | |
| | | | |
| skipping to change at line 47 | | skipping to change at line 47 | |
| #include <vala/valacreationmethod.h> | | #include <vala/valacreationmethod.h> | |
| #include <vala/valaproperty.h> | | #include <vala/valaproperty.h> | |
| #include <vala/valapropertyaccessor.h> | | #include <vala/valapropertyaccessor.h> | |
| #include <vala/valaconstructor.h> | | #include <vala/valaconstructor.h> | |
| #include <vala/valadestructor.h> | | #include <vala/valadestructor.h> | |
| #include <vala/valanamedargument.h> | | #include <vala/valanamedargument.h> | |
| #include <vala/valablock.h> | | #include <vala/valablock.h> | |
| #include <vala/valavariabledeclarator.h> | | #include <vala/valavariabledeclarator.h> | |
| #include <vala/valainitializerlist.h> | | #include <vala/valainitializerlist.h> | |
| #include <vala/valaexpressionstatement.h> | | #include <vala/valaexpressionstatement.h> | |
|
| | | #include <vala/valaifstatement.h> | |
| #include <vala/valaswitchsection.h> | | #include <vala/valaswitchsection.h> | |
|
| | | #include <vala/valawhilestatement.h> | |
| | | #include <vala/valadostatement.h> | |
| | | #include <vala/valaforstatement.h> | |
| #include <vala/valaforeachstatement.h> | | #include <vala/valaforeachstatement.h> | |
| #include <vala/valareturnstatement.h> | | #include <vala/valareturnstatement.h> | |
| #include <vala/valathrowstatement.h> | | #include <vala/valathrowstatement.h> | |
| #include <vala/valatrystatement.h> | | #include <vala/valatrystatement.h> | |
| #include <vala/valacatchclause.h> | | #include <vala/valacatchclause.h> | |
| #include <vala/valaarraycreationexpression.h> | | #include <vala/valaarraycreationexpression.h> | |
|
| | | #include <vala/valaparenthesizedexpression.h> | |
| #include <vala/valamemberaccess.h> | | #include <vala/valamemberaccess.h> | |
| #include <vala/valainvocationexpression.h> | | #include <vala/valainvocationexpression.h> | |
| #include <vala/valaobjectcreationexpression.h> | | #include <vala/valaobjectcreationexpression.h> | |
| #include <vala/valabinaryexpression.h> | | #include <vala/valabinaryexpression.h> | |
| #include <vala/valalambdaexpression.h> | | #include <vala/valalambdaexpression.h> | |
| #include <vala/valaassignment.h> | | #include <vala/valaassignment.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_MEMORY_MANAGER (vala_memory_manager_get_type ()) | | #define VALA_TYPE_MEMORY_MANAGER (vala_memory_manager_get_type ()) | |
| | | | |
End of changes. 4 change blocks. |
| 1 lines changed or deleted | | 6 lines changed or added | |
|
| valamethod.h | | valamethod.h | |
| | | | |
| skipping to change at line 21 | | skipping to change at line 21 | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| * You should have received a copy of the GNU Lesser General Public | | * You should have received a copy of the GNU Lesser General Public | |
| * License along with this library; if not, write to the Free Software | | * License along with this library; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
|
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAMETHOD_H__ | | #ifndef __VALA_VALAMETHOD_H__ | |
| #define __VALA_VALAMETHOD_H__ | | #define __VALA_VALAMETHOD_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
| #include <gee/collection.h> | | #include <gee/collection.h> | |
|
| | | #include <float.h> | |
| | | #include <math.h> | |
| #include <vala/valamember.h> | | #include <vala/valamember.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_METHOD (vala_method_get_type ()) | | #define VALA_TYPE_METHOD (vala_method_get_type ()) | |
| #define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH
OD, ValaMethod)) | | #define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH
OD, ValaMethod)) | |
| #define VALA_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_METHOD, ValaMethodClass)) | | #define VALA_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_METHOD, ValaMethodClass)) | |
| #define VALA_IS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M
ETHOD)) | | #define VALA_IS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M
ETHOD)) | |
| #define VALA_IS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_METHOD)) | | #define VALA_IS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_METHOD)) | |
| | | | |
| skipping to change at line 78 | | skipping to change at line 80 | |
| void vala_method_add_error_domain (ValaMethod* self, ValaDataType* error_do
main); | | void vala_method_add_error_domain (ValaMethod* self, ValaDataType* error_do
main); | |
| GeeCollection* vala_method_get_error_domains (ValaMethod* self); | | GeeCollection* vala_method_get_error_domains (ValaMethod* self); | |
| void vala_method_add_precondition (ValaMethod* self, ValaExpression* precon
dition); | | void vala_method_add_precondition (ValaMethod* self, ValaExpression* precon
dition); | |
| GeeCollection* vala_method_get_preconditions (ValaMethod* self); | | GeeCollection* vala_method_get_preconditions (ValaMethod* self); | |
| void vala_method_add_postcondition (ValaMethod* self, ValaExpression* postc
ondition); | | void vala_method_add_postcondition (ValaMethod* self, ValaExpression* postc
ondition); | |
| GeeCollection* vala_method_get_postconditions (ValaMethod* self); | | GeeCollection* vala_method_get_postconditions (ValaMethod* self); | |
| ValaDataType* vala_method_get_return_type (ValaMethod* self); | | ValaDataType* vala_method_get_return_type (ValaMethod* self); | |
| void vala_method_set_return_type (ValaMethod* self, ValaDataType* value); | | void vala_method_set_return_type (ValaMethod* self, ValaDataType* value); | |
| ValaBlock* vala_method_get_body (ValaMethod* self); | | ValaBlock* vala_method_get_body (ValaMethod* self); | |
| void vala_method_set_body (ValaMethod* self, ValaBlock* value); | | void vala_method_set_body (ValaMethod* self, ValaBlock* value); | |
|
| | | ValaBasicBlock* vala_method_get_entry_block (ValaMethod* self); | |
| | | void vala_method_set_entry_block (ValaMethod* self, ValaBasicBlock* value); | |
| | | ValaBasicBlock* vala_method_get_exit_block (ValaMethod* self); | |
| | | void vala_method_set_exit_block (ValaMethod* self, ValaBasicBlock* value); | |
| gboolean vala_method_get_instance (ValaMethod* self); | | gboolean vala_method_get_instance (ValaMethod* self); | |
| void vala_method_set_instance (ValaMethod* self, gboolean value); | | void vala_method_set_instance (ValaMethod* self, gboolean value); | |
| char* vala_method_get_vfunc_name (ValaMethod* self); | | char* vala_method_get_vfunc_name (ValaMethod* self); | |
| void vala_method_set_vfunc_name (ValaMethod* self, const char* value); | | void vala_method_set_vfunc_name (ValaMethod* self, const char* value); | |
| char* vala_method_get_sentinel (ValaMethod* self); | | char* vala_method_get_sentinel (ValaMethod* self); | |
| void vala_method_set_sentinel (ValaMethod* self, const char* value); | | void vala_method_set_sentinel (ValaMethod* self, const char* value); | |
| gboolean vala_method_get_is_abstract (ValaMethod* self); | | gboolean vala_method_get_is_abstract (ValaMethod* self); | |
| void vala_method_set_is_abstract (ValaMethod* self, gboolean value); | | void vala_method_set_is_abstract (ValaMethod* self, gboolean value); | |
| gboolean vala_method_get_is_virtual (ValaMethod* self); | | gboolean vala_method_get_is_virtual (ValaMethod* self); | |
| void vala_method_set_is_virtual (ValaMethod* self, gboolean value); | | void vala_method_set_is_virtual (ValaMethod* self, gboolean value); | |
| gboolean vala_method_get_overrides (ValaMethod* self); | | gboolean vala_method_get_overrides (ValaMethod* self); | |
| void vala_method_set_overrides (ValaMethod* self, gboolean value); | | void vala_method_set_overrides (ValaMethod* self, gboolean value); | |
| gboolean vala_method_get_is_inline (ValaMethod* self); | | gboolean vala_method_get_is_inline (ValaMethod* self); | |
| void vala_method_set_is_inline (ValaMethod* self, gboolean value); | | void vala_method_set_is_inline (ValaMethod* self, gboolean value); | |
| gboolean vala_method_get_returns_modified_pointer (ValaMethod* self); | | gboolean vala_method_get_returns_modified_pointer (ValaMethod* self); | |
| void vala_method_set_returns_modified_pointer (ValaMethod* self, gboolean v
alue); | | void vala_method_set_returns_modified_pointer (ValaMethod* self, gboolean v
alue); | |
|
| gboolean vala_method_get_instance_last (ValaMethod* self); | | | |
| void vala_method_set_instance_last (ValaMethod* self, gboolean value); | | | |
| ValaMethod* vala_method_get_base_method (ValaMethod* self); | | ValaMethod* vala_method_get_base_method (ValaMethod* self); | |
| void vala_method_set_base_method (ValaMethod* self, ValaMethod* value); | | void vala_method_set_base_method (ValaMethod* self, ValaMethod* value); | |
| ValaMethod* vala_method_get_base_interface_method (ValaMethod* self); | | ValaMethod* vala_method_get_base_interface_method (ValaMethod* self); | |
| void vala_method_set_base_interface_method (ValaMethod* self, ValaMethod* v
alue); | | void vala_method_set_base_interface_method (ValaMethod* self, ValaMethod* v
alue); | |
| ValaFormalParameter* vala_method_get_this_parameter (ValaMethod* self); | | ValaFormalParameter* vala_method_get_this_parameter (ValaMethod* self); | |
| void vala_method_set_this_parameter (ValaMethod* self, ValaFormalParameter*
value); | | void vala_method_set_this_parameter (ValaMethod* self, ValaFormalParameter*
value); | |
| ValaVariableDeclarator* vala_method_get_result_var (ValaMethod* self); | | ValaVariableDeclarator* vala_method_get_result_var (ValaMethod* self); | |
| void vala_method_set_result_var (ValaMethod* self, ValaVariableDeclarator*
value); | | void vala_method_set_result_var (ValaMethod* self, ValaVariableDeclarator*
value); | |
|
| | | double vala_method_get_cinstance_parameter_position (ValaMethod* self); | |
| | | void vala_method_set_cinstance_parameter_position (ValaMethod* self, double | |
| | | value); | |
| | | double vala_method_get_carray_length_parameter_position (ValaMethod* self); | |
| | | void vala_method_set_carray_length_parameter_position (ValaMethod* self, do | |
| | | uble value); | |
| | | double vala_method_get_cdelegate_target_parameter_position (ValaMethod* sel | |
| | | f); | |
| | | void vala_method_set_cdelegate_target_parameter_position (ValaMethod* self, | |
| | | double value); | |
| gboolean vala_method_get_no_array_length (ValaMethod* self); | | gboolean vala_method_get_no_array_length (ValaMethod* self); | |
| void vala_method_set_no_array_length (ValaMethod* self, gboolean value); | | void vala_method_set_no_array_length (ValaMethod* self, gboolean value); | |
| gboolean vala_method_get_printf_format (ValaMethod* self); | | gboolean vala_method_get_printf_format (ValaMethod* self); | |
| void vala_method_set_printf_format (ValaMethod* self, gboolean value); | | void vala_method_set_printf_format (ValaMethod* self, gboolean value); | |
| GType vala_method_get_type (void); | | GType vala_method_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 5 change blocks. |
| 3 lines changed or deleted | | 17 lines changed or added | |
|
| valaproperty.h | | valaproperty.h | |
| /* valaproperty.vala | | /* valaproperty.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2007 Jürg Billeter | | * Copyright (C) 2006-2008 Jürg Billeter | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| | | | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 82 | | skipping to change at line 82 | |
| gboolean vala_property_get_no_accessor_method (ValaProperty* self); | | gboolean vala_property_get_no_accessor_method (ValaProperty* self); | |
| void vala_property_set_no_accessor_method (ValaProperty* self, gboolean val
ue); | | void vala_property_set_no_accessor_method (ValaProperty* self, gboolean val
ue); | |
| gboolean vala_property_get_interface_only (ValaProperty* self); | | gboolean vala_property_get_interface_only (ValaProperty* self); | |
| void vala_property_set_interface_only (ValaProperty* self, gboolean value); | | void vala_property_set_interface_only (ValaProperty* self, gboolean value); | |
| gboolean vala_property_get_is_abstract (ValaProperty* self); | | gboolean vala_property_get_is_abstract (ValaProperty* self); | |
| void vala_property_set_is_abstract (ValaProperty* self, gboolean value); | | void vala_property_set_is_abstract (ValaProperty* self, gboolean value); | |
| gboolean vala_property_get_is_virtual (ValaProperty* self); | | gboolean vala_property_get_is_virtual (ValaProperty* self); | |
| void vala_property_set_is_virtual (ValaProperty* self, gboolean value); | | void vala_property_set_is_virtual (ValaProperty* self, gboolean value); | |
| gboolean vala_property_get_overrides (ValaProperty* self); | | gboolean vala_property_get_overrides (ValaProperty* self); | |
| void vala_property_set_overrides (ValaProperty* self, gboolean value); | | void vala_property_set_overrides (ValaProperty* self, gboolean value); | |
|
| | | gboolean vala_property_get_instance (ValaProperty* self); | |
| | | void vala_property_set_instance (ValaProperty* self, gboolean value); | |
| ValaProperty* vala_property_get_base_property (ValaProperty* self); | | ValaProperty* vala_property_get_base_property (ValaProperty* self); | |
| void vala_property_set_base_property (ValaProperty* self, ValaProperty* val
ue); | | void vala_property_set_base_property (ValaProperty* self, ValaProperty* val
ue); | |
| ValaProperty* vala_property_get_base_interface_property (ValaProperty* self
); | | ValaProperty* vala_property_get_base_interface_property (ValaProperty* self
); | |
| void vala_property_set_base_interface_property (ValaProperty* self, ValaPro
perty* value); | | void vala_property_set_base_interface_property (ValaProperty* self, ValaPro
perty* value); | |
|
| | | ValaExpression* vala_property_get_default_expression (ValaProperty* self); | |
| | | void vala_property_set_default_expression (ValaProperty* self, ValaExpressi | |
| | | on* value); | |
| | | char* vala_property_get_nick (ValaProperty* self); | |
| | | void vala_property_set_nick (ValaProperty* self, const char* value); | |
| | | char* vala_property_get_blurb (ValaProperty* self); | |
| | | void vala_property_set_blurb (ValaProperty* self, const char* value); | |
| GType vala_property_get_type (void); | | GType vala_property_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 1 lines changed or deleted | | 10 lines changed or added | |
|
| valapropertyaccessor.h | | valapropertyaccessor.h | |
| /* valapropertyaccessor.vala | | /* valapropertyaccessor.vala | |
| * | | * | |
|
| * Copyright (C) 2006-2007 Jürg Billeter | | * Copyright (C) 2006-2008 Jürg Billeter | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| | | | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAPROPERTYACCESSOR_H__ | | #ifndef __VALA_VALAPROPERTYACCESSOR_H__ | |
| #define __VALA_VALAPROPERTYACCESSOR_H__ | | #define __VALA_VALAPROPERTYACCESSOR_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valasymbol.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_PROPERTY_ACCESSOR (vala_property_accessor_get_type ()) | | #define VALA_TYPE_PROPERTY_ACCESSOR (vala_property_accessor_get_type ()) | |
| #define VALA_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL
A_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessor)) | | #define VALA_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL
A_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessor)) | |
| #define VALA_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas
s), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass)) | | #define VALA_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas
s), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass)) | |
| #define VALA_IS_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_PROPERTY_ACCESSOR)) | | #define VALA_IS_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_PROPERTY_ACCESSOR)) | |
| #define VALA_IS_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k
lass), VALA_TYPE_PROPERTY_ACCESSOR)) | | #define VALA_IS_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k
lass), VALA_TYPE_PROPERTY_ACCESSOR)) | |
| #define VALA_PROPERTY_ACCESSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((
obj), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass)) | | #define VALA_PROPERTY_ACCESSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((
obj), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass)) | |
| | | | |
| | | | |
| skipping to change at line 61 | | skipping to change at line 62 | |
| | | | |
| ValaPropertyAccessor* vala_property_accessor_new (gboolean readable, gboole
an writable, gboolean construction, ValaBlock* body, ValaSourceReference* s
ource_reference); | | ValaPropertyAccessor* vala_property_accessor_new (gboolean readable, gboole
an writable, gboolean construction, ValaBlock* body, ValaSourceReference* s
ource_reference); | |
| ValaProperty* vala_property_accessor_get_prop (ValaPropertyAccessor* self); | | ValaProperty* vala_property_accessor_get_prop (ValaPropertyAccessor* self); | |
| void vala_property_accessor_set_prop (ValaPropertyAccessor* self, ValaPrope
rty* value); | | void vala_property_accessor_set_prop (ValaPropertyAccessor* self, ValaPrope
rty* value); | |
| gboolean vala_property_accessor_get_readable (ValaPropertyAccessor* self); | | gboolean vala_property_accessor_get_readable (ValaPropertyAccessor* self); | |
| void vala_property_accessor_set_readable (ValaPropertyAccessor* self, gbool
ean value); | | void vala_property_accessor_set_readable (ValaPropertyAccessor* self, gbool
ean value); | |
| gboolean vala_property_accessor_get_writable (ValaPropertyAccessor* self); | | gboolean vala_property_accessor_get_writable (ValaPropertyAccessor* self); | |
| void vala_property_accessor_set_writable (ValaPropertyAccessor* self, gbool
ean value); | | void vala_property_accessor_set_writable (ValaPropertyAccessor* self, gbool
ean value); | |
| gboolean vala_property_accessor_get_construction (ValaPropertyAccessor* sel
f); | | gboolean vala_property_accessor_get_construction (ValaPropertyAccessor* sel
f); | |
| void vala_property_accessor_set_construction (ValaPropertyAccessor* self, g
boolean value); | | void vala_property_accessor_set_construction (ValaPropertyAccessor* self, g
boolean value); | |
|
| | | ValaSymbolAccessibility vala_property_accessor_get_access (ValaPropertyAcce | |
| | | ssor* self); | |
| | | void vala_property_accessor_set_access (ValaPropertyAccessor* self, ValaSym | |
| | | bolAccessibility value); | |
| ValaBlock* vala_property_accessor_get_body (ValaPropertyAccessor* self); | | ValaBlock* vala_property_accessor_get_body (ValaPropertyAccessor* self); | |
| void vala_property_accessor_set_body (ValaPropertyAccessor* self, ValaBlock
* value); | | void vala_property_accessor_set_body (ValaPropertyAccessor* self, ValaBlock
* value); | |
|
| | | ValaBasicBlock* vala_property_accessor_get_entry_block (ValaPropertyAccesso | |
| | | r* self); | |
| | | void vala_property_accessor_set_entry_block (ValaPropertyAccessor* self, Va | |
| | | laBasicBlock* value); | |
| | | ValaBasicBlock* vala_property_accessor_get_exit_block (ValaPropertyAccessor | |
| | | * self); | |
| | | void vala_property_accessor_set_exit_block (ValaPropertyAccessor* self, Val | |
| | | aBasicBlock* value); | |
| ValaFormalParameter* vala_property_accessor_get_value_parameter (ValaProper
tyAccessor* self); | | ValaFormalParameter* vala_property_accessor_get_value_parameter (ValaProper
tyAccessor* self); | |
| void vala_property_accessor_set_value_parameter (ValaPropertyAccessor* self
, ValaFormalParameter* value); | | void vala_property_accessor_set_value_parameter (ValaPropertyAccessor* self
, ValaFormalParameter* value); | |
| GType vala_property_accessor_get_type (void); | | GType vala_property_accessor_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 1 lines changed or deleted | | 14 lines changed or added | |
|
| valasemanticanalyzer.h | | valasemanticanalyzer.h | |
| | | | |
| skipping to change at line 21 | | skipping to change at line 21 | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| * You should have received a copy of the GNU Lesser General Public | | * You should have received a copy of the GNU Lesser General Public | |
| * License along with this library; if not, write to the Free Software | | * License along with this library; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
|
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALASEMANTICANALYZER_H__ | | #ifndef __VALA_VALASEMANTICANALYZER_H__ | |
| #define __VALA_VALASEMANTICANALYZER_H__ | | #define __VALA_VALASEMANTICANALYZER_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
| #include <vala/valacodevisitor.h> | | #include <vala/valacodevisitor.h> | |
| #include <vala/valabindingprovider.h> | | #include <vala/valabindingprovider.h> | |
| #include <vala/valacodecontext.h> | | #include <vala/valacodecontext.h> | |
| #include <vala/valasourcefile.h> | | #include <vala/valasourcefile.h> | |
| #include <vala/valaclass.h> | | #include <vala/valaclass.h> | |
| #include <vala/valastruct.h> | | #include <vala/valastruct.h> | |
| #include <vala/valainterface.h> | | #include <vala/valainterface.h> | |
|
| | | #include <vala/valaenum.h> | |
| | | #include <vala/valaenumvalue.h> | |
| #include <vala/valadelegate.h> | | #include <vala/valadelegate.h> | |
| #include <vala/valaconstant.h> | | #include <vala/valaconstant.h> | |
| #include <vala/valafield.h> | | #include <vala/valafield.h> | |
| #include <vala/valamethod.h> | | #include <vala/valamethod.h> | |
| #include <vala/valacreationmethod.h> | | #include <vala/valacreationmethod.h> | |
| #include <vala/valaformalparameter.h> | | #include <vala/valaformalparameter.h> | |
| #include <vala/valaproperty.h> | | #include <vala/valaproperty.h> | |
| #include <vala/valapropertyaccessor.h> | | #include <vala/valapropertyaccessor.h> | |
| #include <vala/valasignal.h> | | #include <vala/valasignal.h> | |
| #include <vala/valaconstructor.h> | | #include <vala/valaconstructor.h> | |
| #include <vala/valadestructor.h> | | #include <vala/valadestructor.h> | |
| #include <vala/valanamedargument.h> | | #include <vala/valanamedargument.h> | |
| #include <vala/valablock.h> | | #include <vala/valablock.h> | |
| #include <vala/valavariabledeclarator.h> | | #include <vala/valavariabledeclarator.h> | |
| #include <vala/valainitializerlist.h> | | #include <vala/valainitializerlist.h> | |
| #include <vala/valaexpressionstatement.h> | | #include <vala/valaexpressionstatement.h> | |
| #include <vala/valaifstatement.h> | | #include <vala/valaifstatement.h> | |
| #include <vala/valaswitchsection.h> | | #include <vala/valaswitchsection.h> | |
| #include <vala/valawhilestatement.h> | | #include <vala/valawhilestatement.h> | |
|
| | | #include <vala/valadostatement.h> | |
| #include <vala/valaforstatement.h> | | #include <vala/valaforstatement.h> | |
| #include <vala/valaforeachstatement.h> | | #include <vala/valaforeachstatement.h> | |
| #include <vala/valareturnstatement.h> | | #include <vala/valareturnstatement.h> | |
| #include <vala/valathrowstatement.h> | | #include <vala/valathrowstatement.h> | |
| #include <vala/valatrystatement.h> | | #include <vala/valatrystatement.h> | |
| #include <vala/valacatchclause.h> | | #include <vala/valacatchclause.h> | |
| #include <vala/valalockstatement.h> | | #include <vala/valalockstatement.h> | |
|
| | | #include <vala/valadeletestatement.h> | |
| #include <vala/valaarraycreationexpression.h> | | #include <vala/valaarraycreationexpression.h> | |
| #include <vala/valabooleanliteral.h> | | #include <vala/valabooleanliteral.h> | |
| #include <vala/valacharacterliteral.h> | | #include <vala/valacharacterliteral.h> | |
| #include <vala/valaintegerliteral.h> | | #include <vala/valaintegerliteral.h> | |
| #include <vala/valarealliteral.h> | | #include <vala/valarealliteral.h> | |
| #include <vala/valastringliteral.h> | | #include <vala/valastringliteral.h> | |
| #include <vala/valanullliteral.h> | | #include <vala/valanullliteral.h> | |
| #include <vala/valaliteralexpression.h> | | #include <vala/valaliteralexpression.h> | |
| #include <vala/valasymbol.h> | | #include <vala/valasymbol.h> | |
| #include <vala/valaparenthesizedexpression.h> | | #include <vala/valaparenthesizedexpression.h> | |
| | | | |
End of changes. 4 change blocks. |
| 1 lines changed or deleted | | 5 lines changed or added | |
|
| valatrystatement.h | | valatrystatement.h | |
| /* valatrystatement.vala | | /* valatrystatement.vala | |
| * | | * | |
|
| * Copyright (C) 2007 Jürg Billeter | | * Copyright (C) 2007-2008 Jürg Billeter | |
| * | | * | |
| * This library is free software; you can redistribute it and/or | | * This library is free software; you can redistribute it and/or | |
| * modify it under the terms of the GNU Lesser General Public | | * modify it under the terms of the GNU Lesser General Public | |
| * License as published by the Free Software Foundation; either | | * License as published by the Free Software Foundation; either | |
| * version 2.1 of the License, or (at your option) any later version. | | * version 2.1 of the License, or (at your option) any later version. | |
| | | | |
| * This library is distributed in the hope that it will be useful, | | * This library is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| skipping to change at line 28 | | skipping to change at line 28 | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALATRYSTATEMENT_H__ | | #ifndef __VALA_VALATRYSTATEMENT_H__ | |
| #define __VALA_VALATRYSTATEMENT_H__ | | #define __VALA_VALATRYSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <gee/collection.h> | | #include <gee/list.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| #include <vala/valastatement.h> | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_TRY_STATEMENT (vala_try_statement_get_type ()) | | #define VALA_TYPE_TRY_STATEMENT (vala_try_statement_get_type ()) | |
| #define VALA_TRY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_TRY_STATEMENT, ValaTryStatement)) | | #define VALA_TRY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_TRY_STATEMENT, ValaTryStatement)) | |
| #define VALA_TRY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_TRY_STATEMENT, ValaTryStatementClass)) | | #define VALA_TRY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_TRY_STATEMENT, ValaTryStatementClass)) | |
| #define VALA_IS_TRY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA
_TYPE_TRY_STATEMENT)) | | #define VALA_IS_TRY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA
_TYPE_TRY_STATEMENT)) | |
| #define VALA_IS_TRY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass
), VALA_TYPE_TRY_STATEMENT)) | | #define VALA_IS_TRY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass
), VALA_TYPE_TRY_STATEMENT)) | |
| | | | |
| skipping to change at line 56 | | skipping to change at line 56 | |
| struct _ValaTryStatement { | | struct _ValaTryStatement { | |
| ValaCodeNode parent_instance; | | ValaCodeNode parent_instance; | |
| ValaTryStatementPrivate * priv; | | ValaTryStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaTryStatementClass { | | struct _ValaTryStatementClass { | |
| ValaCodeNodeClass parent_class; | | ValaCodeNodeClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaTryStatement* vala_try_statement_new (ValaBlock* body, ValaBlock* final
ly_body, ValaSourceReference* source_reference); | | ValaTryStatement* vala_try_statement_new (ValaBlock* body, ValaBlock* final
ly_body, ValaSourceReference* source_reference); | |
| void vala_try_statement_add_catch_clause (ValaTryStatement* self, ValaCatch
Clause* clause); | | void vala_try_statement_add_catch_clause (ValaTryStatement* self, ValaCatch
Clause* clause); | |
|
| GeeCollection* vala_try_statement_get_catch_clauses (ValaTryStatement* self
); | | GeeList* vala_try_statement_get_catch_clauses (ValaTryStatement* self); | |
| ValaBlock* vala_try_statement_get_body (ValaTryStatement* self); | | ValaBlock* vala_try_statement_get_body (ValaTryStatement* self); | |
| void vala_try_statement_set_body (ValaTryStatement* self, ValaBlock* value)
; | | void vala_try_statement_set_body (ValaTryStatement* self, ValaBlock* value)
; | |
| ValaBlock* vala_try_statement_get_finally_body (ValaTryStatement* self); | | ValaBlock* vala_try_statement_get_finally_body (ValaTryStatement* self); | |
| void vala_try_statement_set_finally_body (ValaTryStatement* self, ValaBlock
* value); | | void vala_try_statement_set_finally_body (ValaTryStatement* self, ValaBlock
* value); | |
| GType vala_try_statement_get_type (void); | | GType vala_try_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 3 lines changed or added | |
|
| valaunresolvedtype.h | | valaunresolvedtype.h | |
| | | | |
| skipping to change at line 21 | | skipping to change at line 21 | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| * Lesser General Public License for more details. | | * Lesser General Public License for more details. | |
| | | | |
| * You should have received a copy of the GNU Lesser General Public | | * You should have received a copy of the GNU Lesser General Public | |
| * License along with this library; if not, write to the Free Software | | * License along with this library; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
USA | |
| * | | * | |
| * Author: | | * Author: | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
|
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <raffaele@sandrini.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALA_VALAUNRESOLVEDTYPE_H__ | | #ifndef __VALA_VALAUNRESOLVEDTYPE_H__ | |
| #define __VALA_VALAUNRESOLVEDTYPE_H__ | | #define __VALA_VALAUNRESOLVEDTYPE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <stdlib.h> | | | |
| #include <string.h> | | | |
| #include <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
|
| | | #include <vala/valaunresolvedsymbol.h> | |
| #include <vala/valasourcereference.h> | | #include <vala/valasourcereference.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_UNRESOLVED_TYPE (vala_unresolved_type_get_type ()) | | #define VALA_TYPE_UNRESOLVED_TYPE (vala_unresolved_type_get_type ()) | |
| #define VALA_UNRESOLVED_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_UNRESOLVED_TYPE, ValaUnresolvedType)) | | #define VALA_UNRESOLVED_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_UNRESOLVED_TYPE, ValaUnresolvedType)) | |
| #define VALA_UNRESOLVED_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_UNRESOLVED_TYPE, ValaUnresolvedTypeClass)) | | #define VALA_UNRESOLVED_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_UNRESOLVED_TYPE, ValaUnresolvedTypeClass)) | |
| #define VALA_IS_UNRESOLVED_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_UNRESOLVED_TYPE)) | | #define VALA_IS_UNRESOLVED_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_UNRESOLVED_TYPE)) | |
| #define VALA_IS_UNRESOLVED_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_UNRESOLVED_TYPE)) | | #define VALA_IS_UNRESOLVED_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_UNRESOLVED_TYPE)) | |
| | | | |
| skipping to change at line 60 | | skipping to change at line 59 | |
| */ | | */ | |
| struct _ValaUnresolvedType { | | struct _ValaUnresolvedType { | |
| ValaDataType parent_instance; | | ValaDataType parent_instance; | |
| ValaUnresolvedTypePrivate * priv; | | ValaUnresolvedTypePrivate * priv; | |
| }; | | }; | |
| struct _ValaUnresolvedTypeClass { | | struct _ValaUnresolvedTypeClass { | |
| ValaDataTypeClass parent_class; | | ValaDataTypeClass parent_class; | |
| }; | | }; | |
| | | | |
| ValaUnresolvedType* vala_unresolved_type_new (void); | | ValaUnresolvedType* vala_unresolved_type_new (void); | |
|
| ValaUnresolvedType* vala_unresolved_type_new_from_name (const char* ns, con
st char* type, ValaSourceReference* source); | | ValaUnresolvedType* vala_unresolved_type_new_from_symbol (ValaUnresolvedSym
bol* symbol, ValaSourceReference* source); | |
| ValaUnresolvedType* vala_unresolved_type_new_from_expression (ValaExpressio
n* expr); | | ValaUnresolvedType* vala_unresolved_type_new_from_expression (ValaExpressio
n* expr); | |
|
| char* vala_unresolved_type_get_namespace_name (ValaUnresolvedType* self); | | ValaUnresolvedSymbol* vala_unresolved_type_get_unresolved_symbol (ValaUnres | |
| void vala_unresolved_type_set_namespace_name (ValaUnresolvedType* self, con | | olvedType* self); | |
| st char* value); | | void vala_unresolved_type_set_unresolved_symbol (ValaUnresolvedType* self, | |
| char* vala_unresolved_type_get_type_name (ValaUnresolvedType* self); | | ValaUnresolvedSymbol* value); | |
| void vala_unresolved_type_set_type_name (ValaUnresolvedType* self, const ch | | | |
| ar* value); | | | |
| gint vala_unresolved_type_get_array_rank (ValaUnresolvedType* self); | | gint vala_unresolved_type_get_array_rank (ValaUnresolvedType* self); | |
| void vala_unresolved_type_set_array_rank (ValaUnresolvedType* self, gint va
lue); | | void vala_unresolved_type_set_array_rank (ValaUnresolvedType* self, gint va
lue); | |
| gint vala_unresolved_type_get_pointer_level (ValaUnresolvedType* self); | | gint vala_unresolved_type_get_pointer_level (ValaUnresolvedType* self); | |
| void vala_unresolved_type_set_pointer_level (ValaUnresolvedType* self, gint
value); | | void vala_unresolved_type_set_pointer_level (ValaUnresolvedType* self, gint
value); | |
|
| gboolean vala_unresolved_type_get_transfers_ownership (ValaUnresolvedType* | | | |
| self); | | | |
| void vala_unresolved_type_set_transfers_ownership (ValaUnresolvedType* self | | | |
| , gboolean value); | | | |
| gboolean vala_unresolved_type_get_takes_ownership (ValaUnresolvedType* self | | | |
| ); | | | |
| void vala_unresolved_type_set_takes_ownership (ValaUnresolvedType* self, gb | | | |
| oolean value); | | | |
| gboolean vala_unresolved_type_get_is_weak (ValaUnresolvedType* self); | | gboolean vala_unresolved_type_get_is_weak (ValaUnresolvedType* self); | |
| void vala_unresolved_type_set_is_weak (ValaUnresolvedType* self, gboolean v
alue); | | void vala_unresolved_type_set_is_weak (ValaUnresolvedType* self, gboolean v
alue); | |
|
| gboolean vala_unresolved_type_get_is_ref (ValaUnresolvedType* self); | | | |
| void vala_unresolved_type_set_is_ref (ValaUnresolvedType* self, gboolean va | | | |
| lue); | | | |
| gboolean vala_unresolved_type_get_is_out (ValaUnresolvedType* self); | | | |
| void vala_unresolved_type_set_is_out (ValaUnresolvedType* self, gboolean va | | | |
| lue); | | | |
| gboolean vala_unresolved_type_get_nullable (ValaUnresolvedType* self); | | | |
| void vala_unresolved_type_set_nullable (ValaUnresolvedType* self, gboolean | | | |
| value); | | | |
| GType vala_unresolved_type_get_type (void); | | GType vala_unresolved_type_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 7 change blocks. |
| 27 lines changed or deleted | | 7 lines changed or added | |
|