| vala.h | | vala.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| #include <vala/valadeclarationstatement.h> | | #include <vala/valadeclarationstatement.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/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valaexpressionstatement.h> | | #include <vala/valaexpressionstatement.h> | |
| #include <vala/valafield.h> | | #include <vala/valafield.h> | |
|
| #include <vala/valaflags.h> | | | |
| #include <vala/valaflagsvalue.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> | |
| #include <vala/valainvocationexpression.h> | | #include <vala/valainvocationexpression.h> | |
| #include <vala/valalambdaexpression.h> | | #include <vala/valalambdaexpression.h> | |
| #include <vala/valaliteral.h> | | #include <vala/valaliteral.h> | |
| | | | |
| skipping to change at line 63 | | skipping to change at line 61 | |
| #include <vala/valaparenthesizedexpression.h> | | #include <vala/valaparenthesizedexpression.h> | |
| #include <vala/valaparser.h> | | #include <vala/valaparser.h> | |
| #include <vala/valapointerindirection.h> | | #include <vala/valapointerindirection.h> | |
| #include <vala/valapostfixexpression.h> | | #include <vala/valapostfixexpression.h> | |
| #include <vala/valaproperty.h> | | #include <vala/valaproperty.h> | |
| #include <vala/valapropertyaccessor.h> | | #include <vala/valapropertyaccessor.h> | |
| #include <vala/valarealliteral.h> | | #include <vala/valarealliteral.h> | |
| #include <vala/valareferencetransferexpression.h> | | #include <vala/valareferencetransferexpression.h> | |
| #include <vala/valareport.h> | | #include <vala/valareport.h> | |
| #include <vala/valareturnstatement.h> | | #include <vala/valareturnstatement.h> | |
|
| | | #include <vala/valascope.h> | |
| #include <vala/valasignal.h> | | #include <vala/valasignal.h> | |
| #include <vala/valasizeofexpression.h> | | #include <vala/valasizeofexpression.h> | |
| #include <vala/valasourcefile.h> | | #include <vala/valasourcefile.h> | |
| #include <vala/valasourcereference.h> | | #include <vala/valasourcereference.h> | |
| #include <vala/valastringliteral.h> | | #include <vala/valastringliteral.h> | |
| #include <vala/valastruct.h> | | #include <vala/valastruct.h> | |
| #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> | |
| | | | |
End of changes. 2 change blocks. |
| 2 lines changed or deleted | | 1 lines changed or added | |
|
| valaarray.h | | valaarray.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALAARRAY_H__ | | #ifndef __VALAARRAY_H__ | |
| #define __VALAARRAY_H__ | | #define __VALAARRAY_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 <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_ARRAY (vala_array_get_type ()) | | #define VALA_TYPE_ARRAY (vala_array_get_type ()) | |
| #define VALA_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ARRAY
, ValaArray)) | | #define VALA_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ARRAY
, ValaArray)) | |
| #define VALA_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP
E_ARRAY, ValaArrayClass)) | | #define VALA_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP
E_ARRAY, ValaArrayClass)) | |
| #define VALA_IS_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_AR
RAY)) | | #define VALA_IS_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_AR
RAY)) | |
| #define VALA_IS_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_
TYPE_ARRAY)) | | #define VALA_IS_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_
TYPE_ARRAY)) | |
| | | | |
| skipping to change at line 60 | | skipping to change at line 61 | |
| ValaArrayPrivate * priv; | | ValaArrayPrivate * priv; | |
| }; | | }; | |
| struct _ValaArrayClass { | | struct _ValaArrayClass { | |
| ValaDataTypeClass parent; | | ValaDataTypeClass parent; | |
| }; | | }; | |
| | | | |
| ValaArray* vala_array_new (ValaDataType* _element_type, gint _rank, ValaSou
rceReference* _source_reference); | | ValaArray* vala_array_new (ValaDataType* _element_type, gint _rank, ValaSou
rceReference* _source_reference); | |
| ValaArray* vala_array_new_with_type_parameter (ValaTypeParameter* _element_
type_parameter, gint _rank, ValaSourceReference* _source_reference); | | ValaArray* vala_array_new_with_type_parameter (ValaTypeParameter* _element_
type_parameter, gint _rank, ValaSourceReference* _source_reference); | |
| ValaArrayLengthField* vala_array_get_length_field (ValaArray* self); | | ValaArrayLengthField* vala_array_get_length_field (ValaArray* self); | |
| ValaArrayResizeMethod* vala_array_get_resize_method (ValaArray* self); | | ValaArrayResizeMethod* vala_array_get_resize_method (ValaArray* self); | |
|
| | | ValaArrayMoveMethod* vala_array_get_move_method (ValaArray* self); | |
| ValaDataType* vala_array_get_element_type (ValaArray* self); | | ValaDataType* vala_array_get_element_type (ValaArray* self); | |
| void vala_array_set_element_type (ValaArray* self, ValaDataType* value); | | void vala_array_set_element_type (ValaArray* self, ValaDataType* value); | |
| ValaTypeParameter* vala_array_get_element_type_parameter (ValaArray* self); | | ValaTypeParameter* vala_array_get_element_type_parameter (ValaArray* self); | |
| void vala_array_set_element_type_parameter (ValaArray* self, ValaTypeParame
ter* value); | | void vala_array_set_element_type_parameter (ValaArray* self, ValaTypeParame
ter* value); | |
| gint vala_array_get_rank (ValaArray* self); | | gint vala_array_get_rank (ValaArray* self); | |
| void vala_array_set_rank (ValaArray* self, gint value); | | void vala_array_set_rank (ValaArray* self, gint value); | |
|
| GType vala_array_get_type (); | | GType vala_array_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 | |
|
| valaarraycreationexpression.h | | valaarraycreationexpression.h | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| * Author: | | * Author: | |
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <rasa@gmx.ch> | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALAARRAYCREATIONEXPRESSION_H__ | | #ifndef __VALAARRAYCREATIONEXPRESSION_H__ | |
| #define __VALAARRAYCREATIONEXPRESSION_H__ | | #define __VALAARRAYCREATIONEXPRESSION_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/list.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_ARRAY_CREATION_EXPRESSION (vala_array_creation_expression
_get_type ()) | | #define VALA_TYPE_ARRAY_CREATION_EXPRESSION (vala_array_creation_expression
_get_type ()) | |
| #define VALA_ARRAY_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((o
bj), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpression)) | | #define VALA_ARRAY_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((o
bj), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpression)) | |
| #define VALA_ARRAY_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAS
T ((klass), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpressio
nClass)) | | #define VALA_ARRAY_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAS
T ((klass), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpressio
nClass)) | |
| #define VALA_IS_ARRAY_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE
((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | | #define VALA_IS_ARRAY_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE
((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | |
| #define VALA_IS_ARRAY_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_
TYPE ((klass), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | | #define VALA_IS_ARRAY_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_
TYPE ((klass), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 56 | |
| */ | | */ | |
| struct _ValaArrayCreationExpression { | | struct _ValaArrayCreationExpression { | |
| ValaExpression parent; | | ValaExpression parent; | |
| ValaArrayCreationExpressionPrivate * priv; | | ValaArrayCreationExpressionPrivate * priv; | |
| }; | | }; | |
| struct _ValaArrayCreationExpressionClass { | | struct _ValaArrayCreationExpressionClass { | |
| ValaExpressionClass parent; | | ValaExpressionClass parent; | |
| }; | | }; | |
| | | | |
| void vala_array_creation_expression_append_size (ValaArrayCreationExpressio
n* self, ValaExpression* size); | | void vala_array_creation_expression_append_size (ValaArrayCreationExpressio
n* self, ValaExpression* size); | |
|
| GList* vala_array_creation_expression_get_sizes (ValaArrayCreationExpressio | | GeeList* vala_array_creation_expression_get_sizes (ValaArrayCreationExpress | |
| n* self); | | ion* self); | |
| ValaArrayCreationExpression* vala_array_creation_expression_new (ValaTypeRe | | ValaArrayCreationExpression* vala_array_creation_expression_new (ValaTypeRe | |
| ference* _element_type, gint _rank, ValaInitializerList* _initializer, Vala | | ference* element_type, gint rank, ValaInitializerList* initializer_list, Va | |
| SourceReference* source); | | laSourceReference* source_reference); | |
| ValaTypeReference* vala_array_creation_expression_get_element_type (ValaArr
ayCreationExpression* self); | | ValaTypeReference* vala_array_creation_expression_get_element_type (ValaArr
ayCreationExpression* self); | |
| void vala_array_creation_expression_set_element_type (ValaArrayCreationExpr
ession* self, ValaTypeReference* value); | | void vala_array_creation_expression_set_element_type (ValaArrayCreationExpr
ession* self, ValaTypeReference* value); | |
| gint vala_array_creation_expression_get_rank (ValaArrayCreationExpression*
self); | | gint vala_array_creation_expression_get_rank (ValaArrayCreationExpression*
self); | |
| void vala_array_creation_expression_set_rank (ValaArrayCreationExpression*
self, gint value); | | void vala_array_creation_expression_set_rank (ValaArrayCreationExpression*
self, gint value); | |
| ValaInitializerList* vala_array_creation_expression_get_initializer_list (V
alaArrayCreationExpression* self); | | ValaInitializerList* vala_array_creation_expression_get_initializer_list (V
alaArrayCreationExpression* self); | |
| void vala_array_creation_expression_set_initializer_list (ValaArrayCreation
Expression* self, ValaInitializerList* value); | | void vala_array_creation_expression_set_initializer_list (ValaArrayCreation
Expression* self, ValaInitializerList* value); | |
|
| GType vala_array_creation_expression_get_type (); | | GType vala_array_creation_expression_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 6 lines changed or deleted | | 7 lines changed or added | |
|
| valaattribute.h | | valaattribute.h | |
| | | | |
| 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 __VALAATTRIBUTE_H__ | | #ifndef __VALAATTRIBUTE_H__ | |
| #define __VALAATTRIBUTE_H__ | | #define __VALAATTRIBUTE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/list.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.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)) | |
| | | | |
| skipping to change at line 49 | | skipping to change at line 50 | |
| #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)) | |
| | | | |
| typedef struct _ValaAttributePrivate ValaAttributePrivate; | | typedef struct _ValaAttributePrivate ValaAttributePrivate; | |
| | | | |
| /** | | /** | |
| * Represents an attribute specified in the source code. | | * Represents an attribute specified in the source code. | |
| */ | | */ | |
| struct _ValaAttribute { | | struct _ValaAttribute { | |
| ValaCodeNode parent; | | ValaCodeNode parent; | |
| ValaAttributePrivate * priv; | | ValaAttributePrivate * priv; | |
|
| GList* args; | | GeeList* args; | |
| }; | | }; | |
| struct _ValaAttributeClass { | | struct _ValaAttributeClass { | |
| ValaCodeNodeClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaAttribute* vala_attribute_new (const char* _name, ValaSourceReference*
source); | | 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); | |
| 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 (); | | GType vala_attribute_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 3 lines changed or deleted | | 4 lines changed or added | |
|
| valablock.h | | valablock.h | |
| | | | |
| 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 __VALABLOCK_H__ | | #ifndef __VALABLOCK_H__ | |
| #define __VALABLOCK_H__ | | #define __VALABLOCK_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/collection.h> | |
| | | #include <vala/valasymbol.h> | |
| #include <vala/valastatement.h> | | #include <vala/valastatement.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_BLOCK (vala_block_get_type ()) | | #define VALA_TYPE_BLOCK (vala_block_get_type ()) | |
| #define VALA_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_BLOCK
, ValaBlock)) | | #define VALA_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_BLOCK
, ValaBlock)) | |
| #define VALA_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP
E_BLOCK, ValaBlockClass)) | | #define VALA_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP
E_BLOCK, ValaBlockClass)) | |
| #define VALA_IS_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_BL
OCK)) | | #define VALA_IS_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_BL
OCK)) | |
| #define VALA_IS_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_
TYPE_BLOCK)) | | #define VALA_IS_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_
TYPE_BLOCK)) | |
| #define VALA_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T
YPE_BLOCK, ValaBlockClass)) | | #define VALA_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T
YPE_BLOCK, ValaBlockClass)) | |
| | | | |
| typedef struct _ValaBlockPrivate ValaBlockPrivate; | | typedef struct _ValaBlockPrivate ValaBlockPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a source code block. | | * Represents a source code block. | |
| */ | | */ | |
| struct _ValaBlock { | | struct _ValaBlock { | |
|
| ValaStatement parent; | | ValaSymbol parent; | |
| ValaBlockPrivate * priv; | | ValaBlockPrivate * priv; | |
| }; | | }; | |
| struct _ValaBlockClass { | | struct _ValaBlockClass { | |
|
| ValaStatementClass parent; | | ValaSymbolClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaBlock* vala_block_new (ValaSourceReference* source); | | ValaBlock* vala_block_new (ValaSourceReference* source_reference); | |
| void vala_block_add_statement (ValaBlock* self, ValaStatement* stmt); | | void vala_block_add_statement (ValaBlock* self, ValaStatement* stmt); | |
|
| GList* vala_block_get_statements (ValaBlock* self); | | GeeCollection* vala_block_get_statements (ValaBlock* self); | |
| void vala_block_add_local_variable (ValaBlock* self, ValaVariableDeclarator
* decl); | | void vala_block_add_local_variable (ValaBlock* self, ValaVariableDeclarator
* decl); | |
|
| GList* vala_block_get_local_variables (ValaBlock* self); | | GeeCollection* vala_block_get_local_variables (ValaBlock* self); | |
| gboolean vala_block_get_contains_jump_statement (ValaBlock* self); | | gboolean vala_block_get_contains_jump_statement (ValaBlock* self); | |
| void vala_block_set_contains_jump_statement (ValaBlock* self, gboolean valu
e); | | void vala_block_set_contains_jump_statement (ValaBlock* self, gboolean valu
e); | |
|
| GType vala_block_get_type (); | | GType vala_block_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 7 change blocks. |
| 6 lines changed or deleted | | 8 lines changed or added | |
|
| valabreakstatement.h | | valabreakstatement.h | |
| /* valabreakstatement.vala | | /* valabreakstatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 __VALABREAKSTATEMENT_H__ | | #ifndef __VALABREAKSTATEMENT_H__ | |
| #define __VALABREAKSTATEMENT_H__ | | #define __VALABREAKSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_BREAK_STATEMENT (vala_break_statement_get_type ()) | | #define VALA_TYPE_BREAK_STATEMENT (vala_break_statement_get_type ()) | |
| #define VALA_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_BREAK_STATEMENT, ValaBreakStatement)) | | #define VALA_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_BREAK_STATEMENT, ValaBreakStatement)) | |
| #define VALA_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_BREAK_STATEMENT, ValaBreakStatementClass)) | | #define VALA_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_BREAK_STATEMENT, ValaBreakStatementClass)) | |
| #define VALA_IS_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_BREAK_STATEMENT)) | | #define VALA_IS_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_BREAK_STATEMENT)) | |
| #define VALA_IS_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_BREAK_STATEMENT)) | | #define VALA_IS_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_BREAK_STATEMENT)) | |
| #define VALA_BREAK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_BREAK_STATEMENT, ValaBreakStatementClass)) | | #define VALA_BREAK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_BREAK_STATEMENT, ValaBreakStatementClass)) | |
| | | | |
| typedef struct _ValaBreakStatementPrivate ValaBreakStatementPrivate; | | typedef struct _ValaBreakStatementPrivate ValaBreakStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a break statement in the source code. | | * Represents a break statement in the source code. | |
| */ | | */ | |
| struct _ValaBreakStatement { | | struct _ValaBreakStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaBreakStatementPrivate * priv; | | ValaBreakStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaBreakStatementClass { | | struct _ValaBreakStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
| ValaBreakStatement* vala_break_statement_new (ValaSourceReference* source); | | ValaBreakStatement* vala_break_statement_new (ValaSourceReference* source); | |
|
| GType vala_break_statement_get_type (); | | GType vala_break_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 5 lines changed or deleted | | 5 lines changed or added | |
|
| valacallback.h | | valacallback.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 __VALACALLBACK_H__ | | #ifndef __VALACALLBACK_H__ | |
| #define __VALACALLBACK_H__ | | #define __VALACALLBACK_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 <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CALLBACK (vala_callback_get_type ()) | | #define VALA_TYPE_CALLBACK (vala_callback_get_type ()) | |
| #define VALA_CALLBACK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CA
LLBACK, ValaCallback)) | | #define VALA_CALLBACK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CA
LLBACK, ValaCallback)) | |
| #define VALA_CALLBACK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_
TYPE_CALLBACK, ValaCallbackClass)) | | #define VALA_CALLBACK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_
TYPE_CALLBACK, ValaCallbackClass)) | |
| #define VALA_IS_CALLBACK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE
_CALLBACK)) | | #define VALA_IS_CALLBACK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE
_CALLBACK)) | |
| #define VALA_IS_CALLBACK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA
LA_TYPE_CALLBACK)) | | #define VALA_IS_CALLBACK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA
LA_TYPE_CALLBACK)) | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 56 | |
| * Represents a function callback type. | | * Represents a function callback type. | |
| */ | | */ | |
| struct _ValaCallback { | | struct _ValaCallback { | |
| ValaDataType parent; | | ValaDataType parent; | |
| ValaCallbackPrivate * priv; | | ValaCallbackPrivate * priv; | |
| }; | | }; | |
| struct _ValaCallbackClass { | | struct _ValaCallbackClass { | |
| ValaDataTypeClass parent; | | ValaDataTypeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaCallback* vala_callback_new (const char* _name, ValaTypeReference* _ret
urn_type, ValaSourceReference* source); | | ValaCallback* vala_callback_new (const char* name, ValaTypeReference* retur
n_type, ValaSourceReference* source_reference); | |
| void vala_callback_add_type_parameter (ValaCallback* self, ValaTypeParamete
r* p); | | void vala_callback_add_type_parameter (ValaCallback* self, ValaTypeParamete
r* p); | |
| void vala_callback_add_parameter (ValaCallback* self, ValaFormalParameter*
param); | | void vala_callback_add_parameter (ValaCallback* self, ValaFormalParameter*
param); | |
|
| GList* vala_callback_get_parameters (ValaCallback* self); | | GeeCollection* vala_callback_get_parameters (ValaCallback* self); | |
| gboolean vala_callback_matches_method (ValaCallback* self, ValaMethod* m); | | gboolean vala_callback_matches_method (ValaCallback* self, ValaMethod* m); | |
| void vala_callback_set_cname (ValaCallback* self, const char* cname); | | void vala_callback_set_cname (ValaCallback* self, const char* cname); | |
| void vala_callback_process_attributes (ValaCallback* self); | | void vala_callback_process_attributes (ValaCallback* self); | |
| ValaTypeReference* vala_callback_get_return_type (ValaCallback* self); | | ValaTypeReference* vala_callback_get_return_type (ValaCallback* self); | |
| void vala_callback_set_return_type (ValaCallback* self, ValaTypeReference*
value); | | void vala_callback_set_return_type (ValaCallback* self, ValaTypeReference*
value); | |
| gboolean vala_callback_get_instance (ValaCallback* self); | | gboolean vala_callback_get_instance (ValaCallback* self); | |
| void vala_callback_set_instance (ValaCallback* self, gboolean value); | | void vala_callback_set_instance (ValaCallback* self, gboolean value); | |
|
| GType vala_callback_get_type (); | | GType vala_callback_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 3 lines changed or deleted | | 4 lines changed or added | |
|
| valaccodeforstatement.h | | valaccodeforstatement.h | |
| /* valaccodeforstatement.vala | | /* valaccodeforstatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 56 | | skipping to change at line 56 | |
| * Represents a for iteration statement in the C code. | | * Represents a for iteration statement in the C code. | |
| */ | | */ | |
| struct _ValaCCodeForStatement { | | struct _ValaCCodeForStatement { | |
| ValaCCodeStatement parent; | | ValaCCodeStatement parent; | |
| ValaCCodeForStatementPrivate * priv; | | ValaCCodeForStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaCCodeForStatementClass { | | struct _ValaCCodeForStatementClass { | |
| ValaCCodeStatementClass parent; | | ValaCCodeStatementClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaCCodeForStatement* vala_ccode_for_statement_new (ValaCCodeExpression* c
ond, ValaCCodeStatement* stmt); | | ValaCCodeForStatement* vala_ccode_for_statement_new (ValaCCodeExpression* c
ondition, ValaCCodeStatement* body); | |
| void vala_ccode_for_statement_add_initializer (ValaCCodeForStatement* self,
ValaCCodeExpression* expr); | | void vala_ccode_for_statement_add_initializer (ValaCCodeForStatement* self,
ValaCCodeExpression* expr); | |
| void vala_ccode_for_statement_add_iterator (ValaCCodeForStatement* self, Va
laCCodeExpression* expr); | | void vala_ccode_for_statement_add_iterator (ValaCCodeForStatement* self, Va
laCCodeExpression* expr); | |
| ValaCCodeExpression* vala_ccode_for_statement_get_condition (ValaCCodeForSt
atement* self); | | ValaCCodeExpression* vala_ccode_for_statement_get_condition (ValaCCodeForSt
atement* self); | |
| void vala_ccode_for_statement_set_condition (ValaCCodeForStatement* self, V
alaCCodeExpression* value); | | void vala_ccode_for_statement_set_condition (ValaCCodeForStatement* self, V
alaCCodeExpression* value); | |
| ValaCCodeStatement* vala_ccode_for_statement_get_body (ValaCCodeForStatemen
t* self); | | ValaCCodeStatement* vala_ccode_for_statement_get_body (ValaCCodeForStatemen
t* self); | |
| void vala_ccode_for_statement_set_body (ValaCCodeForStatement* self, ValaCC
odeStatement* value); | | void vala_ccode_for_statement_set_body (ValaCCodeForStatement* self, ValaCC
odeStatement* value); | |
|
| GType vala_ccode_for_statement_get_type (); | | GType vala_ccode_for_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 | |
|
| valaccodefunction.h | | valaccodefunction.h | |
| | | | |
| skipping to change at line 33 | | skipping to change at line 33 | |
| #ifndef __VALACCODEFUNCTION_H__ | | #ifndef __VALACCODEFUNCTION_H__ | |
| #define __VALACCODEFUNCTION_H__ | | #define __VALACCODEFUNCTION_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 <ccode/valaccodenode.h> | | #include <ccode/valaccodenode.h> | |
| #include <ccode/valaccodemodifiers.h> | | #include <ccode/valaccodemodifiers.h> | |
| #include <ccode/valaccodeformalparameter.h> | | #include <ccode/valaccodeformalparameter.h> | |
|
| #include <ccode/valaccodefunction.h> | | | |
| #include <ccode/valaccodewriter.h> | | #include <ccode/valaccodewriter.h> | |
| #include <ccode/valaccodeblock.h> | | #include <ccode/valaccodeblock.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CCODE_FUNCTION (vala_ccode_function_get_type ()) | | #define VALA_TYPE_CCODE_FUNCTION (vala_ccode_function_get_type ()) | |
| #define VALA_CCODE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_CCODE_FUNCTION, ValaCCodeFunction)) | | #define VALA_CCODE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_CCODE_FUNCTION, ValaCCodeFunction)) | |
| #define VALA_CCODE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_CCODE_FUNCTION, ValaCCodeFunctionClass)) | | #define VALA_CCODE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_CCODE_FUNCTION, ValaCCodeFunctionClass)) | |
| #define VALA_IS_CCODE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_CCODE_FUNCTION)) | | #define VALA_IS_CCODE_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_CCODE_FUNCTION)) | |
| #define VALA_IS_CCODE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_CCODE_FUNCTION)) | | #define VALA_IS_CCODE_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_CCODE_FUNCTION)) | |
| | | | |
| skipping to change at line 61 | | skipping to change at line 60 | |
| * Represents a function declaration in the C code. | | * Represents a function declaration in the C code. | |
| */ | | */ | |
| struct _ValaCCodeFunction { | | struct _ValaCCodeFunction { | |
| ValaCCodeNode parent; | | ValaCCodeNode parent; | |
| ValaCCodeFunctionPrivate * priv; | | ValaCCodeFunctionPrivate * priv; | |
| }; | | }; | |
| struct _ValaCCodeFunctionClass { | | struct _ValaCCodeFunctionClass { | |
| ValaCCodeNodeClass parent; | | ValaCCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaCCodeFunction* vala_ccode_function_new (const char* _name, const char*
_return_type); | | ValaCCodeFunction* vala_ccode_function_new (const char* name, const char* r
eturn_type); | |
| void vala_ccode_function_add_parameter (ValaCCodeFunction* self, ValaCCodeF
ormalParameter* param); | | void vala_ccode_function_add_parameter (ValaCCodeFunction* self, ValaCCodeF
ormalParameter* param); | |
| ValaCCodeFunction* vala_ccode_function_copy (ValaCCodeFunction* self); | | ValaCCodeFunction* vala_ccode_function_copy (ValaCCodeFunction* self); | |
| char* vala_ccode_function_get_name (ValaCCodeFunction* self); | | char* vala_ccode_function_get_name (ValaCCodeFunction* self); | |
| void vala_ccode_function_set_name (ValaCCodeFunction* self, const char* val
ue); | | void vala_ccode_function_set_name (ValaCCodeFunction* self, const char* val
ue); | |
| ValaCCodeModifiers vala_ccode_function_get_modifiers (ValaCCodeFunction* se
lf); | | ValaCCodeModifiers vala_ccode_function_get_modifiers (ValaCCodeFunction* se
lf); | |
| void vala_ccode_function_set_modifiers (ValaCCodeFunction* self, ValaCCodeM
odifiers value); | | void vala_ccode_function_set_modifiers (ValaCCodeFunction* self, ValaCCodeM
odifiers value); | |
| char* vala_ccode_function_get_return_type (ValaCCodeFunction* self); | | char* vala_ccode_function_get_return_type (ValaCCodeFunction* self); | |
| void vala_ccode_function_set_return_type (ValaCCodeFunction* self, const ch
ar* value); | | void vala_ccode_function_set_return_type (ValaCCodeFunction* self, const ch
ar* value); | |
| ValaCCodeBlock* vala_ccode_function_get_block (ValaCCodeFunction* self); | | ValaCCodeBlock* vala_ccode_function_get_block (ValaCCodeFunction* self); | |
| void vala_ccode_function_set_block (ValaCCodeFunction* self, ValaCCodeBlock
* value); | | void vala_ccode_function_set_block (ValaCCodeFunction* self, ValaCCodeBlock
* value); | |
|
| GType vala_ccode_function_get_type (); | | GType vala_ccode_function_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 2 lines changed or added | |
|
| valaccodefunctioncall.h | | valaccodefunctioncall.h | |
| | | | |
| 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 __VALACCODEFUNCTIONCALL_H__ | | #ifndef __VALACCODEFUNCTIONCALL_H__ | |
| #define __VALACCODEFUNCTIONCALL_H__ | | #define __VALACCODEFUNCTIONCALL_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/list.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_FUNCTION_CALL (vala_ccode_function_call_get_type ()
) | | #define VALA_TYPE_CCODE_FUNCTION_CALL (vala_ccode_function_call_get_type ()
) | |
| #define VALA_CCODE_FUNCTION_CALL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V
ALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCall)) | | #define VALA_CCODE_FUNCTION_CALL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V
ALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCall)) | |
| #define VALA_CCODE_FUNCTION_CALL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl
ass), VALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCallClass)) | | #define VALA_CCODE_FUNCTION_CALL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl
ass), VALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCallClass)) | |
| #define VALA_IS_CCODE_FUNCTION_CALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj)
, VALA_TYPE_CCODE_FUNCTION_CALL)) | | #define VALA_IS_CCODE_FUNCTION_CALL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj)
, VALA_TYPE_CCODE_FUNCTION_CALL)) | |
| #define VALA_IS_CCODE_FUNCTION_CALL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (
(klass), VALA_TYPE_CCODE_FUNCTION_CALL)) | | #define VALA_IS_CCODE_FUNCTION_CALL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (
(klass), VALA_TYPE_CCODE_FUNCTION_CALL)) | |
| | | | |
| skipping to change at line 57 | | skipping to change at line 58 | |
| struct _ValaCCodeFunctionCall { | | struct _ValaCCodeFunctionCall { | |
| ValaCCodeExpression parent; | | ValaCCodeExpression parent; | |
| ValaCCodeFunctionCallPrivate * priv; | | ValaCCodeFunctionCallPrivate * priv; | |
| }; | | }; | |
| struct _ValaCCodeFunctionCallClass { | | struct _ValaCCodeFunctionCallClass { | |
| ValaCCodeExpressionClass parent; | | ValaCCodeExpressionClass parent; | |
| }; | | }; | |
| | | | |
| ValaCCodeFunctionCall* vala_ccode_function_call_new (ValaCCodeExpression* c
all); | | ValaCCodeFunctionCall* vala_ccode_function_call_new (ValaCCodeExpression* c
all); | |
| void vala_ccode_function_call_add_argument (ValaCCodeFunctionCall* self, Va
laCCodeExpression* expr); | | void vala_ccode_function_call_add_argument (ValaCCodeFunctionCall* self, Va
laCCodeExpression* expr); | |
|
| GList* vala_ccode_function_call_get_arguments (ValaCCodeFunctionCall* self)
; | | GeeList* vala_ccode_function_call_get_arguments (ValaCCodeFunctionCall* sel
f); | |
| ValaCCodeExpression* vala_ccode_function_call_get_call (ValaCCodeFunctionCa
ll* self); | | ValaCCodeExpression* vala_ccode_function_call_get_call (ValaCCodeFunctionCa
ll* self); | |
| void vala_ccode_function_call_set_call (ValaCCodeFunctionCall* self, ValaCC
odeExpression* value); | | void vala_ccode_function_call_set_call (ValaCCodeFunctionCall* self, ValaCC
odeExpression* value); | |
|
| GType vala_ccode_function_call_get_type (); | | GType vala_ccode_function_call_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 3 lines changed or added | |
|
| valaccodeswitchstatement.h | | valaccodeswitchstatement.h | |
| /* valaccodeswitchstatement.vala | | /* valaccodeswitchstatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 57 | | skipping to change at line 57 | |
| * Represents a switch selection statement in the C code. | | * Represents a switch selection statement in the C code. | |
| */ | | */ | |
| struct _ValaCCodeSwitchStatement { | | struct _ValaCCodeSwitchStatement { | |
| ValaCCodeStatement parent; | | ValaCCodeStatement parent; | |
| ValaCCodeSwitchStatementPrivate * priv; | | ValaCCodeSwitchStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaCCodeSwitchStatementClass { | | struct _ValaCCodeSwitchStatementClass { | |
| ValaCCodeStatementClass parent; | | ValaCCodeStatementClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaCCodeSwitchStatement* vala_ccode_switch_statement_new (ValaCCodeExpress
ion* expr); | | ValaCCodeSwitchStatement* vala_ccode_switch_statement_new (ValaCCodeExpress
ion* expression); | |
| void vala_ccode_switch_statement_add_case (ValaCCodeSwitchStatement* self,
ValaCCodeCaseStatement* case_stmt); | | void vala_ccode_switch_statement_add_case (ValaCCodeSwitchStatement* self,
ValaCCodeCaseStatement* case_stmt); | |
| ValaCCodeExpression* vala_ccode_switch_statement_get_expression (ValaCCodeS
witchStatement* self); | | ValaCCodeExpression* vala_ccode_switch_statement_get_expression (ValaCCodeS
witchStatement* self); | |
| void vala_ccode_switch_statement_set_expression (ValaCCodeSwitchStatement*
self, ValaCCodeExpression* value); | | void vala_ccode_switch_statement_set_expression (ValaCCodeSwitchStatement*
self, ValaCCodeExpression* value); | |
|
| GType vala_ccode_switch_statement_get_type (); | | GType vala_ccode_switch_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 | |
|
| valaclass.h | | valaclass.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 __VALACLASS_H__ | | #ifndef __VALACLASS_H__ | |
| #define __VALACLASS_H__ | | #define __VALACLASS_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 <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CLASS (vala_class_get_type ()) | | #define VALA_TYPE_CLASS (vala_class_get_type ()) | |
| #define VALA_CLASS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CLASS
, ValaClass)) | | #define VALA_CLASS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CLASS
, ValaClass)) | |
| #define VALA_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP
E_CLASS, ValaClassClass)) | | #define VALA_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP
E_CLASS, ValaClassClass)) | |
| #define VALA_IS_CLASS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CL
ASS)) | | #define VALA_IS_CLASS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CL
ASS)) | |
| #define VALA_IS_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_
TYPE_CLASS)) | | #define VALA_IS_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_
TYPE_CLASS)) | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 56 | |
| * Represents a class declaration in the source code. | | * Represents a class declaration in the source code. | |
| */ | | */ | |
| struct _ValaClass { | | struct _ValaClass { | |
| ValaDataType parent; | | ValaDataType parent; | |
| ValaClassPrivate * priv; | | ValaClassPrivate * priv; | |
| }; | | }; | |
| struct _ValaClassClass { | | struct _ValaClassClass { | |
| ValaDataTypeClass parent; | | ValaDataTypeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaClass* vala_class_new (const char* _name, ValaSourceReference* source); | | ValaClass* vala_class_new (const char* name, ValaSourceReference* source_re
ference); | |
| void vala_class_add_base_type (ValaClass* self, ValaTypeReference* type); | | void vala_class_add_base_type (ValaClass* self, ValaTypeReference* type); | |
|
| GList* vala_class_get_base_types (ValaClass* self); | | GeeCollection* vala_class_get_base_types (ValaClass* self); | |
| void vala_class_add_type_parameter (ValaClass* self, ValaTypeParameter* p); | | void vala_class_add_type_parameter (ValaClass* self, ValaTypeParameter* p); | |
|
| GList* vala_class_get_type_parameters (ValaClass* self); | | GeeCollection* vala_class_get_type_parameters (ValaClass* self); | |
| void vala_class_add_constant (ValaClass* self, ValaConstant* c); | | void vala_class_add_constant (ValaClass* self, ValaConstant* c); | |
| void vala_class_add_field (ValaClass* self, ValaField* f); | | void vala_class_add_field (ValaClass* self, ValaField* f); | |
|
| GList* 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); | |
|
| GList* 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); | |
|
| GList* 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); | |
|
| GList* 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_struct (ValaClass* self, ValaStruct* st); | |
| 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); | |
| ValaClass* vala_class_get_base_class (ValaClass* self); | | ValaClass* vala_class_get_base_class (ValaClass* self); | |
| void vala_class_set_base_class (ValaClass* self, ValaClass* value); | | void vala_class_set_base_class (ValaClass* self, ValaClass* value); | |
| gboolean vala_class_get_is_abstract (ValaClass* self); | | gboolean vala_class_get_is_abstract (ValaClass* self); | |
| 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); | |
|
| GType vala_class_get_type (); | | GType vala_class_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 9 change blocks. |
| 8 lines changed or deleted | | 11 lines changed or added | |
|
| valacodecontext.h | | valacodecontext.h | |
| | | | |
| 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 __VALACODECONTEXT_H__ | | #ifndef __VALACODECONTEXT_H__ | |
| #define __VALACODECONTEXT_H__ | | #define __VALACODECONTEXT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/collection.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CODE_CONTEXT (vala_code_context_get_type ()) | | #define VALA_TYPE_CODE_CONTEXT (vala_code_context_get_type ()) | |
| #define VALA_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_CODE_CONTEXT, ValaCodeContext)) | | #define VALA_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_CODE_CONTEXT, ValaCodeContext)) | |
| #define VALA_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | | #define VALA_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | |
| #define VALA_IS_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_
TYPE_CODE_CONTEXT)) | | #define VALA_IS_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_
TYPE_CODE_CONTEXT)) | |
| | | | |
| skipping to change at line 54 | | skipping to change at line 55 | |
| * The root of the code tree. | | * The root of the code tree. | |
| */ | | */ | |
| struct _ValaCodeContext { | | struct _ValaCodeContext { | |
| GObject parent; | | GObject parent; | |
| ValaCodeContextPrivate * priv; | | ValaCodeContextPrivate * priv; | |
| }; | | }; | |
| struct _ValaCodeContextClass { | | struct _ValaCodeContextClass { | |
| GObjectClass parent; | | GObjectClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaSymbol* vala_code_context_get_root (ValaCodeContext* self); | | GeeCollection* vala_code_context_get_source_files (ValaCodeContext* self); | |
| GList* vala_code_context_get_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); | |
|
| GList* 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); | |
| char* vala_code_context_get_library (ValaCodeContext* self); | | char* vala_code_context_get_library (ValaCodeContext* self); | |
| void vala_code_context_set_library (ValaCodeContext* self, const char* valu
e); | | void vala_code_context_set_library (ValaCodeContext* self, const char* valu
e); | |
| gboolean vala_code_context_get_memory_management (ValaCodeContext* self); | | gboolean vala_code_context_get_memory_management (ValaCodeContext* self); | |
| void vala_code_context_set_memory_management (ValaCodeContext* self, gboole
an value); | | void vala_code_context_set_memory_management (ValaCodeContext* self, gboole
an value); | |
| gboolean vala_code_context_get_assert (ValaCodeContext* self); | | gboolean vala_code_context_get_assert (ValaCodeContext* self); | |
| void vala_code_context_set_assert (ValaCodeContext* self, gboolean value); | | void vala_code_context_set_assert (ValaCodeContext* self, gboolean value); | |
| | | | |
| skipping to change at line 84 | | skipping to change at line 84 | |
| char* vala_code_context_get_output (ValaCodeContext* self); | | char* vala_code_context_get_output (ValaCodeContext* self); | |
| void vala_code_context_set_output (ValaCodeContext* self, const char* value
); | | void vala_code_context_set_output (ValaCodeContext* self, const char* value
); | |
| gboolean vala_code_context_get_debug (ValaCodeContext* self); | | gboolean vala_code_context_get_debug (ValaCodeContext* self); | |
| void vala_code_context_set_debug (ValaCodeContext* self, gboolean value); | | void vala_code_context_set_debug (ValaCodeContext* self, gboolean value); | |
| gint vala_code_context_get_optlevel (ValaCodeContext* self); | | gint vala_code_context_get_optlevel (ValaCodeContext* self); | |
| void vala_code_context_set_optlevel (ValaCodeContext* self, gint value); | | void vala_code_context_set_optlevel (ValaCodeContext* self, gint value); | |
| gboolean vala_code_context_get_thread (ValaCodeContext* self); | | gboolean vala_code_context_get_thread (ValaCodeContext* self); | |
| void vala_code_context_set_thread (ValaCodeContext* self, gboolean value); | | void vala_code_context_set_thread (ValaCodeContext* self, gboolean value); | |
| ValaMethod* vala_code_context_get_module_init_method (ValaCodeContext* self
); | | ValaMethod* vala_code_context_get_module_init_method (ValaCodeContext* self
); | |
| void vala_code_context_set_module_init_method (ValaCodeContext* self, ValaM
ethod* value); | | void vala_code_context_set_module_init_method (ValaCodeContext* self, ValaM
ethod* value); | |
|
| GType vala_code_context_get_type (); | | ValaNamespace* vala_code_context_get_root (ValaCodeContext* self); | |
| | | GType vala_code_context_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 4 lines changed or deleted | | 5 lines changed or added | |
|
| valacodegenerator.h | | valacodegenerator.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <rasa@gmx.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALACODEGENERATOR_H__ | | #ifndef __VALACODEGENERATOR_H__ | |
| #define __VALACODEGENERATOR_H__ | | #define __VALACODEGENERATOR_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/valanamespace.h> | | | |
| #include <vala/valaenum.h> | | #include <vala/valaenum.h> | |
| #include <vala/valaenumvalue.h> | | #include <vala/valaenumvalue.h> | |
|
| #include <vala/valaflags.h> | | | |
| #include <vala/valaflagsvalue.h> | | | |
| #include <vala/valacallback.h> | | #include <vala/valacallback.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 <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 <ccode/valaccodeblock.h> | | | |
| #include <vala/valaemptystatement.h> | | #include <vala/valaemptystatement.h> | |
| #include <vala/valastruct.h> | | #include <vala/valastruct.h> | |
| #include <vala/valadeclarationstatement.h> | | #include <vala/valadeclarationstatement.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.h> | |
| #include <vala/valavariabledeclarator.h> | | #include <vala/valavariabledeclarator.h> | |
| #include <vala/valainitializerlist.h> | | #include <vala/valainitializerlist.h> | |
| #include <vala/valatypereference.h> | | #include <vala/valatypereference.h> | |
| #include <ccode/valaccodeexpression.h> | | #include <ccode/valaccodeexpression.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <ccode/valaccodefragment.h> | | #include <ccode/valaccodefragment.h> | |
|
| | | #include <gee/collection.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| #include <vala/valaexpressionstatement.h> | | #include <vala/valaexpressionstatement.h> | |
| #include <vala/valastatement.h> | | #include <vala/valastatement.h> | |
| #include <vala/valaifstatement.h> | | #include <vala/valaifstatement.h> | |
| #include <vala/valaswitchstatement.h> | | #include <vala/valaswitchstatement.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> | |
| | | | |
| skipping to change at line 112 | | skipping to change at line 109 | |
| #include <ccode/valaccodefunctioncall.h> | | #include <ccode/valaccodefunctioncall.h> | |
| #include <vala/valaclass.h> | | #include <vala/valaclass.h> | |
| #include <vala/valainterface.h> | | #include <vala/valainterface.h> | |
| #include <ccode/valaccodeidentifier.h> | | #include <ccode/valaccodeidentifier.h> | |
| #include <vala/valasignal.h> | | #include <vala/valasignal.h> | |
| #include <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
| #include <vala/valainvocationexpression.h> | | #include <vala/valainvocationexpression.h> | |
| #include <vala/valamethod.h> | | #include <vala/valamethod.h> | |
| #include <ccode/valaccodestatement.h> | | #include <ccode/valaccodestatement.h> | |
| #include <vala/valacreationmethod.h> | | #include <vala/valacreationmethod.h> | |
|
| | | #include <ccode/valaccodeblock.h> | |
| #include <ccode/valaccodeincludedirective.h> | | #include <ccode/valaccodeincludedirective.h> | |
| #include <vala/valasourcefile.h> | | #include <vala/valasourcefile.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CODE_GENERATOR (vala_code_generator_get_type ()) | | #define VALA_TYPE_CODE_GENERATOR (vala_code_generator_get_type ()) | |
| #define VALA_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_CODE_GENERATOR, ValaCodeGenerator)) | | #define VALA_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_CODE_GENERATOR, ValaCodeGenerator)) | |
| #define VALA_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_CODE_GENERATOR, ValaCodeGeneratorClass)) | | #define VALA_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_CODE_GENERATOR, ValaCodeGeneratorClass)) | |
| #define VALA_IS_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_CODE_GENERATOR)) | | #define VALA_IS_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_CODE_GENERATOR)) | |
| #define VALA_IS_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_CODE_GENERATOR)) | | #define VALA_IS_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_CODE_GENERATOR)) | |
| | | | |
| skipping to change at line 143 | | skipping to change at line 141 | |
| ValaCodeGeneratorPrivate * priv; | | ValaCodeGeneratorPrivate * priv; | |
| }; | | }; | |
| struct _ValaCodeGeneratorClass { | | struct _ValaCodeGeneratorClass { | |
| ValaCodeVisitorClass parent; | | ValaCodeVisitorClass parent; | |
| }; | | }; | |
| | | | |
| ValaCodeGenerator* vala_code_generator_new (gboolean manage_memory); | | ValaCodeGenerator* vala_code_generator_new (gboolean manage_memory); | |
| void vala_code_generator_emit (ValaCodeGenerator* self, ValaCodeContext* co
ntext); | | void vala_code_generator_emit (ValaCodeGenerator* self, ValaCodeContext* co
ntext); | |
| gboolean vala_code_generator_get_memory_management (ValaCodeGenerator* self
); | | gboolean vala_code_generator_get_memory_management (ValaCodeGenerator* self
); | |
| void vala_code_generator_set_memory_management (ValaCodeGenerator* self, gb
oolean value); | | void vala_code_generator_set_memory_management (ValaCodeGenerator* self, gb
oolean value); | |
|
| GType vala_code_generator_get_type (); | | GType vala_code_generator_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 5 lines changed or deleted | | 3 lines changed or added | |
|
| valacodenode.h | | valacodenode.h | |
| | | | |
| skipping to change at line 46 | | skipping to change at line 46 | |
| typedef struct _ValaExpression ValaExpression; | | typedef struct _ValaExpression ValaExpression; | |
| typedef struct _ValaExpressionClass ValaExpressionClass; | | typedef struct _ValaExpressionClass ValaExpressionClass; | |
| typedef struct _ValaCodeNode ValaCodeNode; | | typedef struct _ValaCodeNode ValaCodeNode; | |
| typedef struct _ValaCodeNodeClass ValaCodeNodeClass; | | typedef struct _ValaCodeNodeClass ValaCodeNodeClass; | |
| typedef struct _ValaCodeVisitor ValaCodeVisitor; | | typedef struct _ValaCodeVisitor ValaCodeVisitor; | |
| typedef struct _ValaCodeVisitorClass ValaCodeVisitorClass; | | typedef struct _ValaCodeVisitorClass ValaCodeVisitorClass; | |
| typedef struct _ValaSourceFile ValaSourceFile; | | typedef struct _ValaSourceFile ValaSourceFile; | |
| typedef struct _ValaSourceFileClass ValaSourceFileClass; | | typedef struct _ValaSourceFileClass ValaSourceFileClass; | |
| typedef struct _ValaCodeContext ValaCodeContext; | | typedef struct _ValaCodeContext ValaCodeContext; | |
| typedef struct _ValaCodeContextClass ValaCodeContextClass; | | typedef struct _ValaCodeContextClass ValaCodeContextClass; | |
|
| typedef struct _ValaSymbol ValaSymbol; | | | |
| typedef struct _ValaSymbolClass ValaSymbolClass; | | | |
| typedef struct _ValaMethod ValaMethod; | | typedef struct _ValaMethod ValaMethod; | |
| typedef struct _ValaMethodClass ValaMethodClass; | | typedef struct _ValaMethodClass ValaMethodClass; | |
| typedef struct _ValaMember ValaMember; | | typedef struct _ValaMember ValaMember; | |
| typedef struct _ValaMemberClass ValaMemberClass; | | typedef struct _ValaMemberClass ValaMemberClass; | |
|
| | | typedef struct _ValaSymbol ValaSymbol; | |
| | | typedef struct _ValaSymbolClass ValaSymbolClass; | |
| | | typedef struct _ValaScope ValaScope; | |
| | | typedef struct _ValaScopeClass ValaScopeClass; | |
| typedef struct _ValaInvokable ValaInvokable; | | typedef struct _ValaInvokable ValaInvokable; | |
| typedef struct _ValaInvokableIface ValaInvokableIface; | | typedef struct _ValaInvokableIface ValaInvokableIface; | |
| typedef struct _ValaTypeReference ValaTypeReference; | | typedef struct _ValaTypeReference ValaTypeReference; | |
| typedef struct _ValaTypeReferenceClass ValaTypeReferenceClass; | | typedef struct _ValaTypeReferenceClass ValaTypeReferenceClass; | |
| typedef struct _ValaSourceReference ValaSourceReference; | | typedef struct _ValaSourceReference ValaSourceReference; | |
| typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | | typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | |
| typedef struct _ValaDataType ValaDataType; | | typedef struct _ValaDataType ValaDataType; | |
| typedef struct _ValaDataTypeClass ValaDataTypeClass; | | typedef struct _ValaDataTypeClass ValaDataTypeClass; | |
|
| typedef struct _ValaNamespace ValaNamespace; | | typedef struct _ValaPointer ValaPointer; | |
| typedef struct _ValaNamespaceClass ValaNamespaceClass; | | typedef struct _ValaPointerClass ValaPointerClass; | |
| typedef struct _ValaClass ValaClass; | | | |
| typedef struct _ValaClassClass ValaClassClass; | | | |
| typedef struct _ValaTypeParameter ValaTypeParameter; | | | |
| typedef struct _ValaTypeParameterClass ValaTypeParameterClass; | | | |
| typedef struct _ValaArray ValaArray; | | typedef struct _ValaArray ValaArray; | |
| typedef struct _ValaArrayClass ValaArrayClass; | | typedef struct _ValaArrayClass ValaArrayClass; | |
|
| | | typedef struct _ValaTypeParameter ValaTypeParameter; | |
| | | typedef struct _ValaTypeParameterClass ValaTypeParameterClass; | |
| typedef struct _ValaArrayLengthField ValaArrayLengthField; | | typedef struct _ValaArrayLengthField ValaArrayLengthField; | |
| typedef struct _ValaArrayLengthFieldClass ValaArrayLengthFieldClass; | | typedef struct _ValaArrayLengthFieldClass ValaArrayLengthFieldClass; | |
| typedef struct _ValaField ValaField; | | typedef struct _ValaField ValaField; | |
| typedef struct _ValaFieldClass ValaFieldClass; | | typedef struct _ValaFieldClass ValaFieldClass; | |
| typedef struct _ValaAttribute ValaAttribute; | | typedef struct _ValaAttribute ValaAttribute; | |
| typedef struct _ValaAttributeClass ValaAttributeClass; | | typedef struct _ValaAttributeClass ValaAttributeClass; | |
| typedef struct _ValaNamedArgument ValaNamedArgument; | | typedef struct _ValaNamedArgument ValaNamedArgument; | |
| typedef struct _ValaNamedArgumentClass ValaNamedArgumentClass; | | typedef struct _ValaNamedArgumentClass ValaNamedArgumentClass; | |
| typedef struct _ValaArrayResizeMethod ValaArrayResizeMethod; | | typedef struct _ValaArrayResizeMethod ValaArrayResizeMethod; | |
| typedef struct _ValaArrayResizeMethodClass ValaArrayResizeMethodClass; | | typedef struct _ValaArrayResizeMethodClass ValaArrayResizeMethodClass; | |
|
| | | typedef struct _ValaArrayMoveMethod ValaArrayMoveMethod; | |
| | | typedef struct _ValaArrayMoveMethodClass ValaArrayMoveMethodClass; | |
| | | typedef struct _ValaFormalParameter ValaFormalParameter; | |
| | | typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | |
| | | typedef struct _ValaBlock ValaBlock; | |
| | | typedef struct _ValaBlockClass ValaBlockClass; | |
| | | typedef struct _ValaStatement ValaStatement; | |
| | | typedef struct _ValaStatementIface ValaStatementIface; | |
| | | typedef struct _ValaVariableDeclarator ValaVariableDeclarator; | |
| | | typedef struct _ValaVariableDeclaratorClass ValaVariableDeclaratorClass; | |
| | | typedef struct _ValaNamespace ValaNamespace; | |
| | | typedef struct _ValaNamespaceClass ValaNamespaceClass; | |
| | | typedef struct _ValaClass ValaClass; | |
| | | typedef struct _ValaClassClass ValaClassClass; | |
| 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 _ValaStatement ValaStatement; | | | |
| typedef struct _ValaStatementClass ValaStatementClass; | | | |
| typedef struct _ValaFormalParameter ValaFormalParameter; | | | |
| typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | | | |
| typedef struct _ValaSignal ValaSignal; | | typedef struct _ValaSignal ValaSignal; | |
| typedef struct _ValaSignalClass ValaSignalClass; | | typedef struct _ValaSignalClass ValaSignalClass; | |
| typedef struct _ValaCallback ValaCallback; | | typedef struct _ValaCallback ValaCallback; | |
| typedef struct _ValaCallbackClass ValaCallbackClass; | | typedef struct _ValaCallbackClass ValaCallbackClass; | |
|
| | | typedef struct _ValaStruct ValaStruct; | |
| | | typedef struct _ValaStructClass ValaStructClass; | |
| 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 _ValaStruct ValaStruct; | | | |
| typedef struct _ValaStructClass ValaStructClass; | | | |
| typedef struct _ValaEnum ValaEnum; | | typedef struct _ValaEnum ValaEnum; | |
| typedef struct _ValaEnumClass ValaEnumClass; | | typedef struct _ValaEnumClass ValaEnumClass; | |
| typedef struct _ValaEnumValue ValaEnumValue; | | typedef struct _ValaEnumValue ValaEnumValue; | |
| typedef struct _ValaEnumValueClass ValaEnumValueClass; | | typedef struct _ValaEnumValueClass ValaEnumValueClass; | |
|
| typedef struct _ValaFlags ValaFlags; | | | |
| typedef struct _ValaFlagsClass ValaFlagsClass; | | | |
| typedef struct _ValaFlagsValue ValaFlagsValue; | | | |
| typedef struct _ValaFlagsValueClass ValaFlagsValueClass; | | | |
| typedef struct _ValaPointer ValaPointer; | | | |
| typedef struct _ValaPointerClass ValaPointerClass; | | | |
| typedef struct _ValaBlock ValaBlock; | | | |
| typedef struct _ValaBlockClass ValaBlockClass; | | | |
| typedef struct _ValaVariableDeclarator ValaVariableDeclarator; | | | |
| typedef struct _ValaVariableDeclaratorClass ValaVariableDeclaratorClass; | | | |
| typedef struct _ValaNamespaceReference ValaNamespaceReference; | | typedef struct _ValaNamespaceReference ValaNamespaceReference; | |
| typedef struct _ValaNamespaceReferenceClass ValaNamespaceReferenceClass; | | typedef struct _ValaNamespaceReferenceClass ValaNamespaceReferenceClass; | |
| typedef struct _ValaSourceFileCycle ValaSourceFileCycle; | | typedef struct _ValaSourceFileCycle ValaSourceFileCycle; | |
| typedef struct _ValaSourceFileCycleClass ValaSourceFileCycleClass; | | typedef struct _ValaSourceFileCycleClass ValaSourceFileCycleClass; | |
| 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
; | |
| | | | |
| skipping to change at line 250 | | skipping to change at line 250 | |
| char* (*to_string) (ValaCodeNode* self); | | char* (*to_string) (ValaCodeNode* self); | |
| }; | | }; | |
| | | | |
| void vala_code_node_accept (ValaCodeNode* self, ValaCodeVisitor* visitor); | | void vala_code_node_accept (ValaCodeNode* self, ValaCodeVisitor* visitor); | |
| void vala_code_node_accept_children (ValaCodeNode* self, ValaCodeVisitor* v
isitor); | | void vala_code_node_accept_children (ValaCodeNode* self, ValaCodeVisitor* v
isitor); | |
| void vala_code_node_replace (ValaCodeNode* self, ValaCodeNode* old_node, Va
laCodeNode* new_node); | | void vala_code_node_replace (ValaCodeNode* self, ValaCodeNode* old_node, Va
laCodeNode* new_node); | |
| ValaAttribute* vala_code_node_get_attribute (ValaCodeNode* self, const char
* name); | | ValaAttribute* vala_code_node_get_attribute (ValaCodeNode* self, const char
* name); | |
| char* vala_code_node_to_string (ValaCodeNode* self); | | char* vala_code_node_to_string (ValaCodeNode* self); | |
| ValaCodeNode* vala_code_node_get_parent_node (ValaCodeNode* self); | | ValaCodeNode* vala_code_node_get_parent_node (ValaCodeNode* self); | |
| void vala_code_node_set_parent_node (ValaCodeNode* self, ValaCodeNode* valu
e); | | void vala_code_node_set_parent_node (ValaCodeNode* self, ValaCodeNode* valu
e); | |
|
| ValaSymbol* vala_code_node_get_symbol (ValaCodeNode* self); | | | |
| void vala_code_node_set_symbol (ValaCodeNode* self, ValaSymbol* value); | | | |
| ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* sel
f); | | ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* sel
f); | |
| void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceRef
erence* value); | | void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceRef
erence* value); | |
| ValaCCodeNode* vala_code_node_get_ccodenode (ValaCodeNode* self); | | ValaCCodeNode* vala_code_node_get_ccodenode (ValaCodeNode* self); | |
| void vala_code_node_set_ccodenode (ValaCodeNode* self, ValaCCodeNode* value
); | | void vala_code_node_set_ccodenode (ValaCodeNode* self, ValaCCodeNode* value
); | |
| gboolean vala_code_node_get_error (ValaCodeNode* self); | | gboolean vala_code_node_get_error (ValaCodeNode* self); | |
| void vala_code_node_set_error (ValaCodeNode* self, gboolean value); | | void vala_code_node_set_error (ValaCodeNode* self, gboolean value); | |
| gboolean vala_code_node_get_tree_can_fail (ValaCodeNode* self); | | gboolean vala_code_node_get_tree_can_fail (ValaCodeNode* self); | |
| void vala_code_node_set_tree_can_fail (ValaCodeNode* self, gboolean value); | | void vala_code_node_set_tree_can_fail (ValaCodeNode* self, gboolean value); | |
|
| GType vala_code_node_get_type (); | | GType vala_code_node_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 11 change blocks. |
| 27 lines changed or deleted | | 25 lines changed or added | |
|
| valacodevisitor.h | | valacodevisitor.h | |
| | | | |
| skipping to change at line 58 | | skipping to change at line 58 | |
| }; | | }; | |
| struct _ValaCodeVisitorClass { | | struct _ValaCodeVisitorClass { | |
| GObjectClass parent; | | GObjectClass parent; | |
| 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_flags) (ValaCodeVisitor* self, ValaFlags* fl); | | | |
| void (*visit_flags_value) (ValaCodeVisitor* self, ValaFlagsValue* fv | | | |
| ); | | | |
| void (*visit_callback) (ValaCodeVisitor* self, ValaCallback* cb); | | void (*visit_callback) (ValaCodeVisitor* self, ValaCallback* cb); | |
| 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 144 | | skipping to change at line 142 | |
| 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_flags (ValaCodeVisitor* self, ValaFlags* fl); | | | |
| void vala_code_visitor_visit_flags_value (ValaCodeVisitor* self, ValaFlagsV | | | |
| alue* fv); | | | |
| void vala_code_visitor_visit_callback (ValaCodeVisitor* self, ValaCallback*
cb); | | void vala_code_visitor_visit_callback (ValaCodeVisitor* self, ValaCallback*
cb); | |
| 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 221 | | skipping to change at line 217 | |
| void vala_code_visitor_visit_addressof_expression (ValaCodeVisitor* self, V
alaAddressofExpression* expr); | | void vala_code_visitor_visit_addressof_expression (ValaCodeVisitor* self, V
alaAddressofExpression* expr); | |
| void vala_code_visitor_visit_reference_transfer_expression (ValaCodeVisitor
* self, ValaReferenceTransferExpression* expr); | | void vala_code_visitor_visit_reference_transfer_expression (ValaCodeVisitor
* self, ValaReferenceTransferExpression* expr); | |
| void vala_code_visitor_visit_binary_expression (ValaCodeVisitor* self, Vala
BinaryExpression* expr); | | void vala_code_visitor_visit_binary_expression (ValaCodeVisitor* self, Vala
BinaryExpression* expr); | |
| void vala_code_visitor_visit_type_check (ValaCodeVisitor* self, ValaTypeChe
ck* expr); | | void vala_code_visitor_visit_type_check (ValaCodeVisitor* self, ValaTypeChe
ck* expr); | |
| void vala_code_visitor_visit_conditional_expression (ValaCodeVisitor* self,
ValaConditionalExpression* expr); | | void vala_code_visitor_visit_conditional_expression (ValaCodeVisitor* self,
ValaConditionalExpression* expr); | |
| void vala_code_visitor_visit_begin_lambda_expression (ValaCodeVisitor* self
, ValaLambdaExpression* expr); | | void vala_code_visitor_visit_begin_lambda_expression (ValaCodeVisitor* self
, ValaLambdaExpression* expr); | |
| void vala_code_visitor_visit_end_lambda_expression (ValaCodeVisitor* self,
ValaLambdaExpression* expr); | | void vala_code_visitor_visit_end_lambda_expression (ValaCodeVisitor* self,
ValaLambdaExpression* expr); | |
| void vala_code_visitor_visit_begin_assignment (ValaCodeVisitor* self, ValaA
ssignment* a); | | void vala_code_visitor_visit_begin_assignment (ValaCodeVisitor* self, ValaA
ssignment* a); | |
| void vala_code_visitor_visit_end_assignment (ValaCodeVisitor* self, ValaAss
ignment* a); | | void vala_code_visitor_visit_end_assignment (ValaCodeVisitor* self, ValaAss
ignment* a); | |
| void vala_code_visitor_visit_end_full_expression (ValaCodeVisitor* self, Va
laExpression* expr); | | void vala_code_visitor_visit_end_full_expression (ValaCodeVisitor* self, Va
laExpression* expr); | |
|
| GType vala_code_visitor_get_type (); | | GType vala_code_visitor_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 7 lines changed or deleted | | 1 lines changed or added | |
|
| valaconstructor.h | | valaconstructor.h | |
| | | | |
| 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 __VALACONSTRUCTOR_H__ | | #ifndef __VALACONSTRUCTOR_H__ | |
| #define __VALACONSTRUCTOR_H__ | | #define __VALACONSTRUCTOR_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <vala/valasymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CONSTRUCTOR (vala_constructor_get_type ()) | | #define VALA_TYPE_CONSTRUCTOR (vala_constructor_get_type ()) | |
| #define VALA_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE
_CONSTRUCTOR, ValaConstructor)) | | #define VALA_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE
_CONSTRUCTOR, ValaConstructor)) | |
| #define VALA_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA
LA_TYPE_CONSTRUCTOR, ValaConstructorClass)) | | #define VALA_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA
LA_TYPE_CONSTRUCTOR, ValaConstructorClass)) | |
| #define VALA_IS_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T
YPE_CONSTRUCTOR)) | | #define VALA_IS_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T
YPE_CONSTRUCTOR)) | |
| #define VALA_IS_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_CONSTRUCTOR)) | | #define VALA_IS_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_CONSTRUCTOR)) | |
| #define VALA_CONSTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
VALA_TYPE_CONSTRUCTOR, ValaConstructorClass)) | | #define VALA_CONSTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
VALA_TYPE_CONSTRUCTOR, ValaConstructorClass)) | |
| | | | |
| typedef struct _ValaConstructorPrivate ValaConstructorPrivate; | | typedef struct _ValaConstructorPrivate ValaConstructorPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a class or instance constructor. | | * Represents a class or instance constructor. | |
| */ | | */ | |
| struct _ValaConstructor { | | struct _ValaConstructor { | |
|
| ValaCodeNode parent; | | ValaSymbol parent; | |
| ValaConstructorPrivate * priv; | | ValaConstructorPrivate * priv; | |
| }; | | }; | |
| struct _ValaConstructorClass { | | struct _ValaConstructorClass { | |
|
| ValaCodeNodeClass parent; | | ValaSymbolClass parent; | |
| }; | | }; | |
| | | | |
| ValaConstructor* vala_constructor_new (ValaSourceReference* source); | | ValaConstructor* vala_constructor_new (ValaSourceReference* source); | |
|
| ValaStatement* vala_constructor_get_body (ValaConstructor* self); | | ValaBlock* vala_constructor_get_body (ValaConstructor* self); | |
| void vala_constructor_set_body (ValaConstructor* self, ValaStatement* value | | void vala_constructor_set_body (ValaConstructor* self, ValaBlock* value); | |
| ); | | ValaFormalParameter* vala_constructor_get_this_parameter (ValaConstructor* | |
| | | self); | |
| | | void vala_constructor_set_this_parameter (ValaConstructor* self, ValaFormal | |
| | | Parameter* value); | |
| gboolean vala_constructor_get_instance (ValaConstructor* self); | | gboolean vala_constructor_get_instance (ValaConstructor* self); | |
| void vala_constructor_set_instance (ValaConstructor* self, gboolean value); | | void vala_constructor_set_instance (ValaConstructor* self, gboolean value); | |
|
| GType vala_constructor_get_type (); | | GType vala_constructor_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 5 change blocks. |
| 6 lines changed or deleted | | 10 lines changed or added | |
|
| valacontinuestatement.h | | valacontinuestatement.h | |
| /* valacontinuestatement.vala | | /* valacontinuestatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 __VALACONTINUESTATEMENT_H__ | | #ifndef __VALACONTINUESTATEMENT_H__ | |
| #define __VALACONTINUESTATEMENT_H__ | | #define __VALACONTINUESTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_CONTINUE_STATEMENT (vala_continue_statement_get_type ()) | | #define VALA_TYPE_CONTINUE_STATEMENT (vala_continue_statement_get_type ()) | |
| #define VALA_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA
LA_TYPE_CONTINUE_STATEMENT, ValaContinueStatement)) | | #define VALA_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VA
LA_TYPE_CONTINUE_STATEMENT, ValaContinueStatement)) | |
| #define VALA_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla
ss), VALA_TYPE_CONTINUE_STATEMENT, ValaContinueStatementClass)) | | #define VALA_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kla
ss), VALA_TYPE_CONTINUE_STATEMENT, ValaContinueStatementClass)) | |
| #define VALA_IS_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_CONTINUE_STATEMENT)) | | #define VALA_IS_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_CONTINUE_STATEMENT)) | |
| #define VALA_IS_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((
klass), VALA_TYPE_CONTINUE_STATEMENT)) | | #define VALA_IS_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((
klass), VALA_TYPE_CONTINUE_STATEMENT)) | |
| #define VALA_CONTINUE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (
(obj), VALA_TYPE_CONTINUE_STATEMENT, ValaContinueStatementClass)) | | #define VALA_CONTINUE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (
(obj), VALA_TYPE_CONTINUE_STATEMENT, ValaContinueStatementClass)) | |
| | | | |
| typedef struct _ValaContinueStatementPrivate ValaContinueStatementPrivate; | | typedef struct _ValaContinueStatementPrivate ValaContinueStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a continue statement in the source code. | | * Represents a continue statement in the source code. | |
| */ | | */ | |
| struct _ValaContinueStatement { | | struct _ValaContinueStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaContinueStatementPrivate * priv; | | ValaContinueStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaContinueStatementClass { | | struct _ValaContinueStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
| ValaContinueStatement* vala_continue_statement_new (ValaSourceReference* so
urce); | | ValaContinueStatement* vala_continue_statement_new (ValaSourceReference* so
urce); | |
|
| GType vala_continue_statement_get_type (); | | GType vala_continue_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 5 lines changed or deleted | | 5 lines changed or added | |
|
| valadatatype.h | | valadatatype.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <rasa@gmx.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALADATATYPE_H__ | | #ifndef __VALADATATYPE_H__ | |
| #define __VALADATATYPE_H__ | | #define __VALADATATYPE_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/valacodenode.h> | | #include <gee/collection.h> | |
| | | #include <vala/valasymbol.h> | |
| #include <vala/valamemberaccessibility.h> | | #include <vala/valamemberaccessibility.h> | |
|
| | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_DATA_TYPE (vala_data_type_get_type ()) | | #define VALA_TYPE_DATA_TYPE (vala_data_type_get_type ()) | |
| #define VALA_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_D
ATA_TYPE, ValaDataType)) | | #define VALA_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_D
ATA_TYPE, ValaDataType)) | |
| #define VALA_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_DATA_TYPE, ValaDataTypeClass)) | | #define VALA_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_DATA_TYPE, ValaDataTypeClass)) | |
| #define VALA_IS_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_DATA_TYPE)) | | #define VALA_IS_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_DATA_TYPE)) | |
| #define VALA_IS_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_DATA_TYPE)) | | #define VALA_IS_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_DATA_TYPE)) | |
| #define VALA_DATA_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA
LA_TYPE_DATA_TYPE, ValaDataTypeClass)) | | #define VALA_DATA_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA
LA_TYPE_DATA_TYPE, ValaDataTypeClass)) | |
| | | | |
| typedef struct _ValaDataTypePrivate ValaDataTypePrivate; | | typedef struct _ValaDataTypePrivate ValaDataTypePrivate; | |
| | | | |
| /** | | /** | |
| * Represents a runtime data type. This data type may be defined in Vala so
urce | | * Represents a runtime data type. This data type may be defined in Vala so
urce | |
| * code or imported from an external library with a Vala API file. | | * code or imported from an external library with a Vala API file. | |
| */ | | */ | |
| struct _ValaDataType { | | struct _ValaDataType { | |
|
| ValaCodeNode parent; | | ValaSymbol parent; | |
| ValaDataTypePrivate * priv; | | ValaDataTypePrivate * priv; | |
| ValaMemberAccessibility access; | | ValaMemberAccessibility access; | |
|
| ValaNamespace* namespace; | | | |
| }; | | }; | |
| struct _ValaDataTypeClass { | | struct _ValaDataTypeClass { | |
|
| ValaCodeNodeClass parent; | | ValaSymbolClass parent; | |
| char* (*get_cname) (ValaDataType* self, gboolean const_type); | | char* (*get_cname) (ValaDataType* self, gboolean const_type); | |
| gboolean (*is_reference_type) (ValaDataType* self); | | gboolean (*is_reference_type) (ValaDataType* self); | |
| char* (*get_dup_function) (ValaDataType* self); | | char* (*get_dup_function) (ValaDataType* self); | |
| char* (*get_free_function) (ValaDataType* self); | | char* (*get_free_function) (ValaDataType* self); | |
| gboolean (*is_reference_counting) (ValaDataType* self); | | gboolean (*is_reference_counting) (ValaDataType* self); | |
| char* (*get_ref_function) (ValaDataType* self); | | char* (*get_ref_function) (ValaDataType* self); | |
| char* (*get_unref_function) (ValaDataType* self); | | char* (*get_unref_function) (ValaDataType* self); | |
| char* (*get_type_id) (ValaDataType* self); | | char* (*get_type_id) (ValaDataType* self); | |
| char* (*get_marshaller_type_name) (ValaDataType* self); | | char* (*get_marshaller_type_name) (ValaDataType* self); | |
| char* (*get_get_value_function) (ValaDataType* self); | | char* (*get_get_value_function) (ValaDataType* self); | |
| char* (*get_set_value_function) (ValaDataType* self); | | char* (*get_set_value_function) (ValaDataType* self); | |
| char* (*get_upper_case_cname) (ValaDataType* self, const char* infix
); | | char* (*get_upper_case_cname) (ValaDataType* self, const char* infix
); | |
|
| char* (*get_lower_case_cname) (ValaDataType* self, const char* infix | | | |
| ); | | | |
| char* (*get_lower_case_cprefix) (ValaDataType* self); | | | |
| char* (*get_default_value) (ValaDataType* self); | | char* (*get_default_value) (ValaDataType* self); | |
|
| GList* (*get_cheader_filenames) (ValaDataType* self); | | | |
| gboolean (*is_subtype_of) (ValaDataType* self, ValaDataType* t); | | gboolean (*is_subtype_of) (ValaDataType* self, ValaDataType* t); | |
| gint (*get_type_parameter_index) (ValaDataType* self, const char* na
me); | | gint (*get_type_parameter_index) (ValaDataType* self, const char* na
me); | |
| }; | | }; | |
| | | | |
| char* vala_data_type_get_cname (ValaDataType* self, gboolean const_type); | | char* vala_data_type_get_cname (ValaDataType* self, gboolean const_type); | |
| gboolean vala_data_type_is_reference_type (ValaDataType* self); | | gboolean vala_data_type_is_reference_type (ValaDataType* self); | |
| char* vala_data_type_get_dup_function (ValaDataType* self); | | char* vala_data_type_get_dup_function (ValaDataType* self); | |
| char* vala_data_type_get_free_function (ValaDataType* self); | | char* vala_data_type_get_free_function (ValaDataType* self); | |
| gboolean vala_data_type_is_reference_counting (ValaDataType* self); | | gboolean vala_data_type_is_reference_counting (ValaDataType* self); | |
| char* vala_data_type_get_ref_function (ValaDataType* self); | | char* vala_data_type_get_ref_function (ValaDataType* self); | |
| char* vala_data_type_get_unref_function (ValaDataType* self); | | char* vala_data_type_get_unref_function (ValaDataType* self); | |
| char* vala_data_type_get_type_id (ValaDataType* self); | | char* vala_data_type_get_type_id (ValaDataType* self); | |
| char* vala_data_type_get_marshaller_type_name (ValaDataType* self); | | char* vala_data_type_get_marshaller_type_name (ValaDataType* self); | |
| char* vala_data_type_get_get_value_function (ValaDataType* self); | | char* vala_data_type_get_get_value_function (ValaDataType* self); | |
| char* vala_data_type_get_set_value_function (ValaDataType* self); | | char* vala_data_type_get_set_value_function (ValaDataType* self); | |
| char* vala_data_type_get_upper_case_cname (ValaDataType* self, const char*
infix); | | char* vala_data_type_get_upper_case_cname (ValaDataType* self, const char*
infix); | |
|
| char* vala_data_type_get_lower_case_cname (ValaDataType* self, const char* | | | |
| infix); | | | |
| char* vala_data_type_get_lower_case_cprefix (ValaDataType* self); | | | |
| char* vala_data_type_get_default_value (ValaDataType* self); | | char* vala_data_type_get_default_value (ValaDataType* self); | |
|
| GList* vala_data_type_get_cheader_filenames (ValaDataType* self); | | | |
| void vala_data_type_add_cheader_filename (ValaDataType* self, const char* f
ilename); | | void vala_data_type_add_cheader_filename (ValaDataType* self, const char* f
ilename); | |
| ValaPointer* vala_data_type_get_pointer (ValaDataType* self); | | ValaPointer* vala_data_type_get_pointer (ValaDataType* self); | |
| ValaArray* vala_data_type_get_array (ValaDataType* self, gint rank); | | ValaArray* vala_data_type_get_array (ValaDataType* self, gint rank); | |
| gboolean vala_data_type_is_subtype_of (ValaDataType* self, ValaDataType* t)
; | | gboolean vala_data_type_is_subtype_of (ValaDataType* self, ValaDataType* t)
; | |
| gint vala_data_type_get_type_parameter_index (ValaDataType* self, const cha
r* name); | | gint vala_data_type_get_type_parameter_index (ValaDataType* self, const cha
r* name); | |
|
| char* vala_data_type_get_name (ValaDataType* self); | | GType vala_data_type_get_type (void); | |
| void vala_data_type_set_name (ValaDataType* self, const char* value); | | | |
| GType vala_data_type_get_type (); | | | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 10 change blocks. |
| 15 lines changed or deleted | | 6 lines changed or added | |
|
| valadeclarationstatement.h | | valadeclarationstatement.h | |
| /* valadeclarationstatement.vala | | /* valadeclarationstatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 __VALADECLARATIONSTATEMENT_H__ | | #ifndef __VALADECLARATIONSTATEMENT_H__ | |
| #define __VALADECLARATIONSTATEMENT_H__ | | #define __VALADECLARATIONSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_DECLARATION_STATEMENT (vala_declaration_statement_get_typ
e ()) | | #define VALA_TYPE_DECLARATION_STATEMENT (vala_declaration_statement_get_typ
e ()) | |
| #define VALA_DECLARATION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatement)) | | #define VALA_DECLARATION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatement)) | |
| #define VALA_DECLARATION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((
klass), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatementClass)) | | #define VALA_DECLARATION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((
klass), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatementClass)) | |
| #define VALA_IS_DECLARATION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob
j), VALA_TYPE_DECLARATION_STATEMENT)) | | #define VALA_IS_DECLARATION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob
j), VALA_TYPE_DECLARATION_STATEMENT)) | |
| #define VALA_IS_DECLARATION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE
((klass), VALA_TYPE_DECLARATION_STATEMENT)) | | #define VALA_IS_DECLARATION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE
((klass), VALA_TYPE_DECLARATION_STATEMENT)) | |
| #define VALA_DECLARATION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS
S ((obj), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatementClass)) | | #define VALA_DECLARATION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS
S ((obj), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatementClass)) | |
| | | | |
| typedef struct _ValaDeclarationStatementPrivate ValaDeclarationStatementPri
vate; | | typedef struct _ValaDeclarationStatementPrivate ValaDeclarationStatementPri
vate; | |
| | | | |
| /** | | /** | |
| * Represents a local variable declaration statement in the source code. | | * Represents a local variable declaration statement in the source code. | |
| */ | | */ | |
| struct _ValaDeclarationStatement { | | struct _ValaDeclarationStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaDeclarationStatementPrivate * priv; | | ValaDeclarationStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaDeclarationStatementClass { | | struct _ValaDeclarationStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
| ValaDeclarationStatement* vala_declaration_statement_new (ValaLocalVariable
Declaration* decl, ValaSourceReference* source); | | ValaDeclarationStatement* vala_declaration_statement_new (ValaLocalVariable
Declaration* decl, ValaSourceReference* source); | |
| ValaLocalVariableDeclaration* vala_declaration_statement_get_declaration (V
alaDeclarationStatement* self); | | ValaLocalVariableDeclaration* vala_declaration_statement_get_declaration (V
alaDeclarationStatement* self); | |
| void vala_declaration_statement_set_declaration (ValaDeclarationStatement*
self, ValaLocalVariableDeclaration* value); | | void vala_declaration_statement_set_declaration (ValaDeclarationStatement*
self, ValaLocalVariableDeclaration* value); | |
|
| GType vala_declaration_statement_get_type (); | | GType vala_declaration_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 5 lines changed or deleted | | 5 lines changed or added | |
|
| valadestructor.h | | valadestructor.h | |
| | | | |
| 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 __VALADESTRUCTOR_H__ | | #ifndef __VALADESTRUCTOR_H__ | |
| #define __VALADESTRUCTOR_H__ | | #define __VALADESTRUCTOR_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <vala/valasymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_DESTRUCTOR (vala_destructor_get_type ()) | | #define VALA_TYPE_DESTRUCTOR (vala_destructor_get_type ()) | |
| #define VALA_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_
DESTRUCTOR, ValaDestructor)) | | #define VALA_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_
DESTRUCTOR, ValaDestructor)) | |
| #define VALA_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL
A_TYPE_DESTRUCTOR, ValaDestructorClass)) | | #define VALA_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL
A_TYPE_DESTRUCTOR, ValaDestructorClass)) | |
| #define VALA_IS_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY
PE_DESTRUCTOR)) | | #define VALA_IS_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY
PE_DESTRUCTOR)) | |
| #define VALA_IS_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_DESTRUCTOR)) | | #define VALA_IS_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_DESTRUCTOR)) | |
| #define VALA_DESTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V
ALA_TYPE_DESTRUCTOR, ValaDestructorClass)) | | #define VALA_DESTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V
ALA_TYPE_DESTRUCTOR, ValaDestructorClass)) | |
| | | | |
| typedef struct _ValaDestructorPrivate ValaDestructorPrivate; | | typedef struct _ValaDestructorPrivate ValaDestructorPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a class or instance destructor. | | * Represents a class or instance destructor. | |
| */ | | */ | |
| struct _ValaDestructor { | | struct _ValaDestructor { | |
|
| ValaCodeNode parent; | | ValaSymbol parent; | |
| ValaDestructorPrivate * priv; | | ValaDestructorPrivate * priv; | |
| }; | | }; | |
| struct _ValaDestructorClass { | | struct _ValaDestructorClass { | |
|
| ValaCodeNodeClass parent; | | ValaSymbolClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaDestructor* vala_destructor_new (ValaSourceReference* source); | | ValaDestructor* vala_destructor_new (ValaSourceReference* source_reference) | |
| ValaStatement* vala_destructor_get_body (ValaDestructor* self); | | ; | |
| void vala_destructor_set_body (ValaDestructor* self, ValaStatement* value); | | ValaBlock* vala_destructor_get_body (ValaDestructor* self); | |
| | | void vala_destructor_set_body (ValaDestructor* self, ValaBlock* value); | |
| gboolean vala_destructor_get_instance (ValaDestructor* self); | | gboolean vala_destructor_get_instance (ValaDestructor* self); | |
| void vala_destructor_set_instance (ValaDestructor* self, gboolean value); | | void vala_destructor_set_instance (ValaDestructor* self, gboolean value); | |
|
| GType vala_destructor_get_type (); | | GType vala_destructor_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 5 change blocks. |
| 6 lines changed or deleted | | 8 lines changed or added | |
|
| valadostatement.h | | valadostatement.h | |
| /* valadostatement.vala | | /* valadostatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 __VALADOSTATEMENT_H__ | | #ifndef __VALADOSTATEMENT_H__ | |
| #define __VALADOSTATEMENT_H__ | | #define __VALADOSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_DO_STATEMENT (vala_do_statement_get_type ()) | | #define VALA_TYPE_DO_STATEMENT (vala_do_statement_get_type ()) | |
| #define VALA_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_DO_STATEMENT, ValaDoStatement)) | | #define VALA_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_DO_STATEMENT, ValaDoStatement)) | |
| #define VALA_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_TYPE_DO_STATEMENT, ValaDoStatementClass)) | | #define VALA_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_TYPE_DO_STATEMENT, ValaDoStatementClass)) | |
| #define VALA_IS_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_
TYPE_DO_STATEMENT)) | | #define VALA_IS_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_
TYPE_DO_STATEMENT)) | |
| #define VALA_IS_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass)
, VALA_TYPE_DO_STATEMENT)) | | #define VALA_IS_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass)
, VALA_TYPE_DO_STATEMENT)) | |
| #define VALA_DO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
VALA_TYPE_DO_STATEMENT, ValaDoStatementClass)) | | #define VALA_DO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
VALA_TYPE_DO_STATEMENT, ValaDoStatementClass)) | |
| | | | |
| typedef struct _ValaDoStatementPrivate ValaDoStatementPrivate; | | typedef struct _ValaDoStatementPrivate ValaDoStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a do iteration statement in the source code. | | * Represents a do iteration statement in the source code. | |
| */ | | */ | |
| struct _ValaDoStatement { | | struct _ValaDoStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaDoStatementPrivate * priv; | | ValaDoStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaDoStatementClass { | | struct _ValaDoStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaDoStatement* vala_do_statement_new (ValaStatement* _body, ValaExpressio | | ValaDoStatement* vala_do_statement_new (ValaBlock* body, ValaExpression* co | |
| n* cond, ValaSourceReference* source); | | ndition, ValaSourceReference* source_reference); | |
| ValaStatement* vala_do_statement_get_body (ValaDoStatement* self); | | ValaBlock* vala_do_statement_get_body (ValaDoStatement* self); | |
| void vala_do_statement_set_body (ValaDoStatement* self, ValaStatement* valu | | void vala_do_statement_set_body (ValaDoStatement* self, ValaBlock* value); | |
| e); | | | |
| ValaExpression* vala_do_statement_get_condition (ValaDoStatement* self); | | ValaExpression* vala_do_statement_get_condition (ValaDoStatement* self); | |
| void vala_do_statement_set_condition (ValaDoStatement* self, ValaExpression
* value); | | void vala_do_statement_set_condition (ValaDoStatement* self, ValaExpression
* value); | |
|
| GType vala_do_statement_get_type (); | | GType vala_do_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 7 change blocks. |
| 10 lines changed or deleted | | 9 lines changed or added | |
|
| valaelementaccess.h | | valaelementaccess.h | |
| | | | |
| skipping to change at line 29 | | skipping to change at line 29 | |
| * Author: | | * Author: | |
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <rasa@gmx.ch> | |
| * Jürg Billeter <j@bitron.ch> | | * Jürg Billeter <j@bitron.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALAELEMENTACCESS_H__ | | #ifndef __VALAELEMENTACCESS_H__ | |
| #define __VALAELEMENTACCESS_H__ | | #define __VALAELEMENTACCESS_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/list.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_ELEMENT_ACCESS (vala_element_access_get_type ()) | | #define VALA_TYPE_ELEMENT_ACCESS (vala_element_access_get_type ()) | |
| #define VALA_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_ELEMENT_ACCESS, ValaElementAccess)) | | #define VALA_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_ELEMENT_ACCESS, ValaElementAccess)) | |
| #define VALA_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_ELEMENT_ACCESS, ValaElementAccessClass)) | | #define VALA_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_ELEMENT_ACCESS, ValaElementAccessClass)) | |
| #define VALA_IS_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_ELEMENT_ACCESS)) | | #define VALA_IS_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_ELEMENT_ACCESS)) | |
| #define VALA_IS_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_ELEMENT_ACCESS)) | | #define VALA_IS_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_ELEMENT_ACCESS)) | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 56 | |
| */ | | */ | |
| struct _ValaElementAccess { | | struct _ValaElementAccess { | |
| ValaExpression parent; | | ValaExpression parent; | |
| ValaElementAccessPrivate * priv; | | ValaElementAccessPrivate * priv; | |
| }; | | }; | |
| struct _ValaElementAccessClass { | | struct _ValaElementAccessClass { | |
| ValaExpressionClass parent; | | ValaExpressionClass parent; | |
| }; | | }; | |
| | | | |
| void vala_element_access_append_index (ValaElementAccess* self, ValaExpress
ion* index); | | void vala_element_access_append_index (ValaElementAccess* self, ValaExpress
ion* index); | |
|
| GList* vala_element_access_get_indices (ValaElementAccess* self); | | GeeList* vala_element_access_get_indices (ValaElementAccess* self); | |
| ValaElementAccess* vala_element_access_new (ValaExpression* _container, Val | | ValaElementAccess* vala_element_access_new (ValaExpression* container, Vala | |
| aSourceReference* source); | | SourceReference* source_reference); | |
| ValaExpression* vala_element_access_get_container (ValaElementAccess* self)
; | | ValaExpression* vala_element_access_get_container (ValaElementAccess* self)
; | |
| void vala_element_access_set_container (ValaElementAccess* self, ValaExpres
sion* value); | | void vala_element_access_set_container (ValaElementAccess* self, ValaExpres
sion* value); | |
|
| GType vala_element_access_get_type (); | | GType vala_element_access_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 4 lines changed or deleted | | 5 lines changed or added | |
|
| valaemptystatement.h | | valaemptystatement.h | |
| /* valaemptystatement.vala | | /* valaemptystatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 __VALAEMPTYSTATEMENT_H__ | | #ifndef __VALAEMPTYSTATEMENT_H__ | |
| #define __VALAEMPTYSTATEMENT_H__ | | #define __VALAEMPTYSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_EMPTY_STATEMENT (vala_empty_statement_get_type ()) | | #define VALA_TYPE_EMPTY_STATEMENT (vala_empty_statement_get_type ()) | |
| #define VALA_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_EMPTY_STATEMENT, ValaEmptyStatement)) | | #define VALA_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_EMPTY_STATEMENT, ValaEmptyStatement)) | |
| #define VALA_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_EMPTY_STATEMENT, ValaEmptyStatementClass)) | | #define VALA_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_EMPTY_STATEMENT, ValaEmptyStatementClass)) | |
| #define VALA_IS_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_EMPTY_STATEMENT)) | | #define VALA_IS_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_EMPTY_STATEMENT)) | |
| #define VALA_IS_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_EMPTY_STATEMENT)) | | #define VALA_IS_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_EMPTY_STATEMENT)) | |
| #define VALA_EMPTY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_EMPTY_STATEMENT, ValaEmptyStatementClass)) | | #define VALA_EMPTY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_EMPTY_STATEMENT, ValaEmptyStatementClass)) | |
| | | | |
| typedef struct _ValaEmptyStatementPrivate ValaEmptyStatementPrivate; | | typedef struct _ValaEmptyStatementPrivate ValaEmptyStatementPrivate; | |
| | | | |
| /** | | /** | |
| * An empty statement. | | * An empty statement. | |
| */ | | */ | |
| struct _ValaEmptyStatement { | | struct _ValaEmptyStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaEmptyStatementPrivate * priv; | | ValaEmptyStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaEmptyStatementClass { | | struct _ValaEmptyStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
| ValaEmptyStatement* vala_empty_statement_new (ValaSourceReference* source); | | ValaEmptyStatement* vala_empty_statement_new (ValaSourceReference* source); | |
|
| GType vala_empty_statement_get_type (); | | GType vala_empty_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 5 lines changed or deleted | | 5 lines changed or added | |
|
| valaenum.h | | valaenum.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 __VALAENUM_H__ | | #ifndef __VALAENUM_H__ | |
| #define __VALAENUM_H__ | | #define __VALAENUM_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 <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_ENUM (vala_enum_get_type ()) | | #define VALA_TYPE_ENUM (vala_enum_get_type ()) | |
| #define VALA_ENUM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ENUM,
ValaEnum)) | | #define VALA_ENUM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ENUM,
ValaEnum)) | |
| #define VALA_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE
_ENUM, ValaEnumClass)) | | #define VALA_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE
_ENUM, ValaEnumClass)) | |
| #define VALA_IS_ENUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ENU
M)) | | #define VALA_IS_ENUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ENU
M)) | |
| #define VALA_IS_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_T
YPE_ENUM)) | | #define VALA_IS_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_T
YPE_ENUM)) | |
| | | | |
| skipping to change at line 58 | | skipping to change at line 59 | |
| ValaDataType parent; | | ValaDataType parent; | |
| ValaEnumPrivate * priv; | | ValaEnumPrivate * priv; | |
| }; | | }; | |
| struct _ValaEnumClass { | | struct _ValaEnumClass { | |
| ValaDataTypeClass parent; | | ValaDataTypeClass parent; | |
| }; | | }; | |
| | | | |
| ValaEnum* vala_enum_new (const char* name, ValaSourceReference* source_refe
rence); | | ValaEnum* vala_enum_new (const char* name, ValaSourceReference* source_refe
rence); | |
| void vala_enum_add_value (ValaEnum* self, ValaEnumValue* value); | | void vala_enum_add_value (ValaEnum* self, ValaEnumValue* value); | |
| void vala_enum_add_method (ValaEnum* self, ValaMethod* m); | | void vala_enum_add_method (ValaEnum* self, ValaMethod* m); | |
|
| GList* vala_enum_get_methods (ValaEnum* self); | | GeeCollection* vala_enum_get_methods (ValaEnum* self); | |
| char* vala_enum_get_cprefix (ValaEnum* self); | | char* vala_enum_get_cprefix (ValaEnum* self); | |
| void vala_enum_set_cprefix (ValaEnum* self, const char* cprefix); | | void vala_enum_set_cprefix (ValaEnum* self, const char* cprefix); | |
| void vala_enum_process_attributes (ValaEnum* self); | | void vala_enum_process_attributes (ValaEnum* self); | |
| gboolean vala_enum_get_error_domain (ValaEnum* self); | | gboolean vala_enum_get_error_domain (ValaEnum* self); | |
| void vala_enum_set_error_domain (ValaEnum* self, gboolean value); | | void vala_enum_set_error_domain (ValaEnum* self, gboolean value); | |
|
| GType vala_enum_get_type (); | | GType vala_enum_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 3 lines changed or added | |
|
| valaenumvalue.h | | valaenumvalue.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 __VALAENUMVALUE_H__ | | #ifndef __VALAENUMVALUE_H__ | |
| #define __VALAENUMVALUE_H__ | | #define __VALAENUMVALUE_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/valasymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_ENUM_VALUE (vala_enum_value_get_type ()) | | #define VALA_TYPE_ENUM_VALUE (vala_enum_value_get_type ()) | |
| #define VALA_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_
ENUM_VALUE, ValaEnumValue)) | | #define VALA_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_
ENUM_VALUE, ValaEnumValue)) | |
| #define VALA_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL
A_TYPE_ENUM_VALUE, ValaEnumValueClass)) | | #define VALA_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL
A_TYPE_ENUM_VALUE, ValaEnumValueClass)) | |
| #define VALA_IS_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY
PE_ENUM_VALUE)) | | #define VALA_IS_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY
PE_ENUM_VALUE)) | |
| #define VALA_IS_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_ENUM_VALUE)) | | #define VALA_IS_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_ENUM_VALUE)) | |
| #define VALA_ENUM_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V
ALA_TYPE_ENUM_VALUE, ValaEnumValueClass)) | | #define VALA_ENUM_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V
ALA_TYPE_ENUM_VALUE, ValaEnumValueClass)) | |
| | | | |
| typedef struct _ValaEnumValuePrivate ValaEnumValuePrivate; | | typedef struct _ValaEnumValuePrivate ValaEnumValuePrivate; | |
| | | | |
| /** | | /** | |
| * Represents an enum member in the source code. | | * Represents an enum member in the source code. | |
| */ | | */ | |
| struct _ValaEnumValue { | | struct _ValaEnumValue { | |
|
| ValaCodeNode parent; | | ValaSymbol parent; | |
| ValaEnumValuePrivate * priv; | | ValaEnumValuePrivate * priv; | |
| }; | | }; | |
| struct _ValaEnumValueClass { | | struct _ValaEnumValueClass { | |
|
| ValaCodeNodeClass parent; | | ValaSymbolClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaEnumValue* vala_enum_value_new (const char* _name); | | ValaEnumValue* vala_enum_value_new (const char* name); | |
| ValaEnumValue* vala_enum_value_new_with_value (const char* _name, ValaExpre | | ValaEnumValue* vala_enum_value_new_with_value (const char* name, ValaExpres | |
| ssion* _value); | | sion* value); | |
| char* vala_enum_value_get_cname (ValaEnumValue* self); | | char* vala_enum_value_get_cname (ValaEnumValue* self); | |
|
| char* vala_enum_value_get_name (ValaEnumValue* self); | | | |
| void vala_enum_value_set_name (ValaEnumValue* self, const char* value); | | | |
| ValaExpression* vala_enum_value_get_value (ValaEnumValue* self); | | ValaExpression* vala_enum_value_get_value (ValaEnumValue* self); | |
| void vala_enum_value_set_value (ValaEnumValue* self, ValaExpression* value)
; | | void vala_enum_value_set_value (ValaEnumValue* self, ValaExpression* value)
; | |
|
| GType vala_enum_value_get_type (); | | GType vala_enum_value_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 8 lines changed or deleted | | 7 lines changed or added | |
|
| valaexpression.h | | valaexpression.h | |
| | | | |
| 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 __VALAEXPRESSION_H__ | | #ifndef __VALAEXPRESSION_H__ | |
| #define __VALAEXPRESSION_H__ | | #define __VALAEXPRESSION_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/arraylist.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_EXPRESSION (vala_expression_get_type ()) | | #define VALA_TYPE_EXPRESSION (vala_expression_get_type ()) | |
| #define VALA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_
EXPRESSION, ValaExpression)) | | #define VALA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_
EXPRESSION, ValaExpression)) | |
| #define VALA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL
A_TYPE_EXPRESSION, ValaExpressionClass)) | | #define VALA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL
A_TYPE_EXPRESSION, ValaExpressionClass)) | |
| #define VALA_IS_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY
PE_EXPRESSION)) | | #define VALA_IS_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY
PE_EXPRESSION)) | |
| #define VALA_IS_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_EXPRESSION)) | | #define VALA_IS_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_EXPRESSION)) | |
| #define VALA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V
ALA_TYPE_EXPRESSION, ValaExpressionClass)) | | #define VALA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V
ALA_TYPE_EXPRESSION, ValaExpressionClass)) | |
| | | | |
| typedef struct _ValaExpressionPrivate ValaExpressionPrivate; | | typedef struct _ValaExpressionPrivate ValaExpressionPrivate; | |
| | | | |
| /** | | /** | |
| * Base class for all code nodes that might be used as an expression. | | * Base class for all code nodes that might be used as an expression. | |
| */ | | */ | |
| struct _ValaExpression { | | struct _ValaExpression { | |
| ValaCodeNode parent; | | ValaCodeNode parent; | |
| ValaExpressionPrivate * priv; | | ValaExpressionPrivate * priv; | |
|
| GList* temp_vars; | | GeeArrayList* temp_vars; | |
| }; | | }; | |
| struct _ValaExpressionClass { | | struct _ValaExpressionClass { | |
| ValaCodeNodeClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
| ValaTypeReference* vala_expression_get_static_type (ValaExpression* self); | | ValaTypeReference* vala_expression_get_static_type (ValaExpression* self); | |
| void vala_expression_set_static_type (ValaExpression* self, ValaTypeReferen
ce* value); | | void vala_expression_set_static_type (ValaExpression* self, ValaTypeReferen
ce* value); | |
| ValaTypeReference* vala_expression_get_expected_type (ValaExpression* self)
; | | ValaTypeReference* vala_expression_get_expected_type (ValaExpression* self)
; | |
| void vala_expression_set_expected_type (ValaExpression* self, ValaTypeRefer
ence* value); | | void vala_expression_set_expected_type (ValaExpression* self, ValaTypeRefer
ence* value); | |
| ValaSymbol* vala_expression_get_symbol_reference (ValaExpression* self); | | ValaSymbol* vala_expression_get_symbol_reference (ValaExpression* self); | |
| void vala_expression_set_symbol_reference (ValaExpression* self, ValaSymbol
* value); | | void vala_expression_set_symbol_reference (ValaExpression* self, ValaSymbol
* value); | |
| gboolean vala_expression_get_ref_leaked (ValaExpression* self); | | gboolean vala_expression_get_ref_leaked (ValaExpression* self); | |
| void vala_expression_set_ref_leaked (ValaExpression* self, gboolean value); | | void vala_expression_set_ref_leaked (ValaExpression* self, gboolean value); | |
| gboolean vala_expression_get_ref_missing (ValaExpression* self); | | gboolean vala_expression_get_ref_missing (ValaExpression* self); | |
| void vala_expression_set_ref_missing (ValaExpression* self, gboolean value)
; | | void vala_expression_set_ref_missing (ValaExpression* self, gboolean value)
; | |
| gboolean vala_expression_get_ref_sink (ValaExpression* self); | | gboolean vala_expression_get_ref_sink (ValaExpression* self); | |
| void vala_expression_set_ref_sink (ValaExpression* self, gboolean value); | | void vala_expression_set_ref_sink (ValaExpression* self, gboolean value); | |
| gboolean vala_expression_get_can_fail (ValaExpression* self); | | gboolean vala_expression_get_can_fail (ValaExpression* self); | |
| void vala_expression_set_can_fail (ValaExpression* self, gboolean value); | | void vala_expression_set_can_fail (ValaExpression* self, gboolean value); | |
|
| GType vala_expression_get_type (); | | GType vala_expression_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 3 lines changed or added | |
|
| valaexpressionstatement.h | | valaexpressionstatement.h | |
| /* valaexpressionstatement.vala | | /* valaexpressionstatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 __VALAEXPRESSIONSTATEMENT_H__ | | #ifndef __VALAEXPRESSIONSTATEMENT_H__ | |
| #define __VALAEXPRESSIONSTATEMENT_H__ | | #define __VALAEXPRESSIONSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_EXPRESSION_STATEMENT (vala_expression_statement_get_type
()) | | #define VALA_TYPE_EXPRESSION_STATEMENT (vala_expression_statement_get_type
()) | |
| #define VALA_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatement)) | | #define VALA_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatement)) | |
| #define VALA_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k
lass), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass)) | | #define VALA_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k
lass), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass)) | |
| #define VALA_IS_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj
), VALA_TYPE_EXPRESSION_STATEMENT)) | | #define VALA_IS_EXPRESSION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj
), VALA_TYPE_EXPRESSION_STATEMENT)) | |
| #define VALA_IS_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE
((klass), VALA_TYPE_EXPRESSION_STATEMENT)) | | #define VALA_IS_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE
((klass), VALA_TYPE_EXPRESSION_STATEMENT)) | |
| #define VALA_EXPRESSION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS
((obj), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass)) | | #define VALA_EXPRESSION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS
((obj), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass)) | |
| | | | |
| typedef struct _ValaExpressionStatementPrivate ValaExpressionStatementPriva
te; | | typedef struct _ValaExpressionStatementPrivate ValaExpressionStatementPriva
te; | |
| | | | |
| /** | | /** | |
| * A code statement that evaluates a given expression. The value computed b
y the | | * A code statement that evaluates a given expression. The value computed b
y the | |
| * expression, if any, is discarded. | | * expression, if any, is discarded. | |
| */ | | */ | |
| struct _ValaExpressionStatement { | | struct _ValaExpressionStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaExpressionStatementPrivate * priv; | | ValaExpressionStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaExpressionStatementClass { | | struct _ValaExpressionStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaExpressionStatement* vala_expression_statement_new (ValaExpression* exp | | ValaExpressionStatement* vala_expression_statement_new (ValaExpression* exp | |
| r, ValaSourceReference* source); | | ression, ValaSourceReference* source_reference); | |
| | | ValaProperty* vala_expression_statement_assigned_property (ValaExpressionSt | |
| | | atement* self); | |
| ValaExpression* vala_expression_statement_get_expression (ValaExpressionSta
tement* self); | | ValaExpression* vala_expression_statement_get_expression (ValaExpressionSta
tement* self); | |
| void vala_expression_statement_set_expression (ValaExpressionStatement* sel
f, ValaExpression* value); | | void vala_expression_statement_set_expression (ValaExpressionStatement* sel
f, ValaExpression* value); | |
|
| GType vala_expression_statement_get_type (); | | GType vala_expression_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 7 change blocks. |
| 7 lines changed or deleted | | 9 lines changed or added | |
|
| valafield.h | | valafield.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 __VALAFIELD_H__ | | #ifndef __VALAFIELD_H__ | |
| #define __VALAFIELD_H__ | | #define __VALAFIELD_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 <vala/valamember.h> | | #include <vala/valamember.h> | |
| #include <vala/valainvokable.h> | | #include <vala/valainvokable.h> | |
| #include <vala/valalockable.h> | | #include <vala/valalockable.h> | |
| #include <vala/valamemberaccessibility.h> | | #include <vala/valamemberaccessibility.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_FIELD (vala_field_get_type ()) | | #define VALA_TYPE_FIELD (vala_field_get_type ()) | |
| #define VALA_FIELD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_FIELD
, ValaField)) | | #define VALA_FIELD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_FIELD
, ValaField)) | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 60 | |
| */ | | */ | |
| struct _ValaField { | | struct _ValaField { | |
| ValaMember parent; | | ValaMember parent; | |
| ValaFieldPrivate * priv; | | ValaFieldPrivate * priv; | |
| ValaMemberAccessibility access; | | ValaMemberAccessibility access; | |
| }; | | }; | |
| struct _ValaFieldClass { | | struct _ValaFieldClass { | |
| ValaMemberClass parent; | | ValaMemberClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaField* vala_field_new (const char* _name, ValaTypeReference* type, Vala
Expression* init, ValaSourceReference* source); | | ValaField* vala_field_new (const char* name, ValaTypeReference* type_refere
nce, ValaExpression* initializer, ValaSourceReference* source_reference); | |
| char* vala_field_get_cname (ValaField* self); | | char* vala_field_get_cname (ValaField* self); | |
| void vala_field_process_attributes (ValaField* self); | | void vala_field_process_attributes (ValaField* self); | |
|
| char* vala_field_get_name (ValaField* self); | | | |
| void vala_field_set_name (ValaField* self, const char* value); | | | |
| ValaTypeReference* vala_field_get_type_reference (ValaField* self); | | ValaTypeReference* vala_field_get_type_reference (ValaField* self); | |
| void vala_field_set_type_reference (ValaField* self, ValaTypeReference* val
ue); | | void vala_field_set_type_reference (ValaField* self, ValaTypeReference* val
ue); | |
| ValaExpression* vala_field_get_initializer (ValaField* self); | | ValaExpression* vala_field_get_initializer (ValaField* self); | |
| void vala_field_set_initializer (ValaField* self, ValaExpression* value); | | void vala_field_set_initializer (ValaField* self, ValaExpression* value); | |
| gboolean vala_field_get_instance (ValaField* self); | | gboolean vala_field_get_instance (ValaField* self); | |
| void vala_field_set_instance (ValaField* self, gboolean value); | | void vala_field_set_instance (ValaField* self, gboolean value); | |
| gboolean vala_field_get_no_array_length (ValaField* self); | | gboolean vala_field_get_no_array_length (ValaField* self); | |
| void vala_field_set_no_array_length (ValaField* self, gboolean value); | | void vala_field_set_no_array_length (ValaField* self, gboolean value); | |
|
| GType vala_field_get_type (); | | GType vala_field_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 4 lines changed or deleted | | 3 lines changed or added | |
|
| valaforeachstatement.h | | valaforeachstatement.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 __VALAFOREACHSTATEMENT_H__ | | #ifndef __VALAFOREACHSTATEMENT_H__ | |
| #define __VALAFOREACHSTATEMENT_H__ | | #define __VALAFOREACHSTATEMENT_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/valastatement.h> | | #include <vala/valablock.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_FOREACH_STATEMENT (vala_foreach_statement_get_type ()) | | #define VALA_TYPE_FOREACH_STATEMENT (vala_foreach_statement_get_type ()) | |
| #define VALA_FOREACH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL
A_TYPE_FOREACH_STATEMENT, ValaForeachStatement)) | | #define VALA_FOREACH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL
A_TYPE_FOREACH_STATEMENT, ValaForeachStatement)) | |
| #define VALA_FOREACH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas
s), VALA_TYPE_FOREACH_STATEMENT, ValaForeachStatementClass)) | | #define VALA_FOREACH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas
s), VALA_TYPE_FOREACH_STATEMENT, ValaForeachStatementClass)) | |
| #define VALA_IS_FOREACH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_FOREACH_STATEMENT)) | | #define VALA_IS_FOREACH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_FOREACH_STATEMENT)) | |
| #define VALA_IS_FOREACH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k
lass), VALA_TYPE_FOREACH_STATEMENT)) | | #define VALA_IS_FOREACH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k
lass), VALA_TYPE_FOREACH_STATEMENT)) | |
| #define VALA_FOREACH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((
obj), VALA_TYPE_FOREACH_STATEMENT, ValaForeachStatementClass)) | | #define VALA_FOREACH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((
obj), VALA_TYPE_FOREACH_STATEMENT, ValaForeachStatementClass)) | |
| | | | |
| typedef struct _ValaForeachStatementPrivate ValaForeachStatementPrivate; | | typedef struct _ValaForeachStatementPrivate ValaForeachStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a foreach statement in the source code. Foreach statements it
erate | | * Represents a foreach statement in the source code. Foreach statements it
erate | |
| * over the elements of a collection. | | * over the elements of a collection. | |
| */ | | */ | |
| struct _ValaForeachStatement { | | struct _ValaForeachStatement { | |
|
| ValaStatement parent; | | ValaBlock parent; | |
| ValaForeachStatementPrivate * priv; | | ValaForeachStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaForeachStatementClass { | | struct _ValaForeachStatementClass { | |
|
| ValaStatementClass parent; | | ValaBlockClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaForeachStatement* vala_foreach_statement_new (ValaTypeReference* type,
const char* id, ValaExpression* col, ValaStatement* _body, ValaSourceRefere
nce* source); | | ValaForeachStatement* vala_foreach_statement_new (ValaTypeReference* type_r
eference, const char* variable_name, ValaExpression* collection, ValaBlock*
body, ValaSourceReference* source_reference); | |
| ValaTypeReference* vala_foreach_statement_get_type_reference (ValaForeachSt
atement* self); | | ValaTypeReference* vala_foreach_statement_get_type_reference (ValaForeachSt
atement* self); | |
| void vala_foreach_statement_set_type_reference (ValaForeachStatement* self,
ValaTypeReference* value); | | void vala_foreach_statement_set_type_reference (ValaForeachStatement* self,
ValaTypeReference* value); | |
| char* vala_foreach_statement_get_variable_name (ValaForeachStatement* self)
; | | char* vala_foreach_statement_get_variable_name (ValaForeachStatement* self)
; | |
| void vala_foreach_statement_set_variable_name (ValaForeachStatement* self,
const char* value); | | void vala_foreach_statement_set_variable_name (ValaForeachStatement* self,
const char* value); | |
| ValaExpression* vala_foreach_statement_get_collection (ValaForeachStatement
* self); | | ValaExpression* vala_foreach_statement_get_collection (ValaForeachStatement
* self); | |
| void vala_foreach_statement_set_collection (ValaForeachStatement* self, Val
aExpression* value); | | void vala_foreach_statement_set_collection (ValaForeachStatement* self, Val
aExpression* value); | |
|
| ValaStatement* vala_foreach_statement_get_body (ValaForeachStatement* self) | | ValaBlock* vala_foreach_statement_get_body (ValaForeachStatement* self); | |
| ; | | void vala_foreach_statement_set_body (ValaForeachStatement* self, ValaBlock | |
| void vala_foreach_statement_set_body (ValaForeachStatement* self, ValaState | | * value); | |
| ment* value); | | | |
| ValaVariableDeclarator* vala_foreach_statement_get_variable_declarator (Val
aForeachStatement* self); | | ValaVariableDeclarator* vala_foreach_statement_get_variable_declarator (Val
aForeachStatement* self); | |
| void vala_foreach_statement_set_variable_declarator (ValaForeachStatement*
self, ValaVariableDeclarator* value); | | void vala_foreach_statement_set_variable_declarator (ValaForeachStatement*
self, ValaVariableDeclarator* value); | |
|
| GType vala_foreach_statement_get_type (); | | ValaVariableDeclarator* vala_foreach_statement_get_collection_variable_decl | |
| | | arator (ValaForeachStatement* self); | |
| | | void vala_foreach_statement_set_collection_variable_declarator (ValaForeach | |
| | | Statement* self, ValaVariableDeclarator* value); | |
| | | ValaVariableDeclarator* vala_foreach_statement_get_iterator_variable_declar | |
| | | ator (ValaForeachStatement* self); | |
| | | void vala_foreach_statement_set_iterator_variable_declarator (ValaForeachSt | |
| | | atement* self, ValaVariableDeclarator* value); | |
| | | GType vala_foreach_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 9 lines changed or deleted | | 16 lines changed or added | |
|
| valaformalparameter.h | | valaformalparameter.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <rasa@gmx.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALAFORMALPARAMETER_H__ | | #ifndef __VALAFORMALPARAMETER_H__ | |
| #define __VALAFORMALPARAMETER_H__ | | #define __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 <vala/valacodenode.h> | | #include <gee/collection.h> | |
| | | #include <vala/valasymbol.h> | |
| #include <vala/valainvokable.h> | | #include <vala/valainvokable.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)) | |
| #define VALA_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o
bj), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | | #define VALA_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o
bj), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | |
| | | | |
| typedef struct _ValaFormalParameterPrivate ValaFormalParameterPrivate; | | typedef struct _ValaFormalParameterPrivate ValaFormalParameterPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a formal parameter in method and callback signatures. | | * Represents a formal parameter in method and callback signatures. | |
| */ | | */ | |
| struct _ValaFormalParameter { | | struct _ValaFormalParameter { | |
|
| ValaCodeNode parent; | | ValaSymbol parent; | |
| ValaFormalParameterPrivate * priv; | | ValaFormalParameterPrivate * priv; | |
| }; | | }; | |
| struct _ValaFormalParameterClass { | | struct _ValaFormalParameterClass { | |
|
| ValaCodeNodeClass parent; | | ValaSymbolClass parent; | |
| }; | | }; | |
| | | | |
| ValaFormalParameter* vala_formal_parameter_new (const char* _name, ValaType
Reference* type, ValaSourceReference* source); | | ValaFormalParameter* vala_formal_parameter_new (const char* _name, ValaType
Reference* type, ValaSourceReference* source); | |
| ValaFormalParameter* vala_formal_parameter_new_with_ellipsis (ValaSourceRef
erence* source); | | ValaFormalParameter* vala_formal_parameter_new_with_ellipsis (ValaSourceRef
erence* source); | |
|
| char* vala_formal_parameter_get_name (ValaFormalParameter* self); | | | |
| void vala_formal_parameter_set_name (ValaFormalParameter* self, const char* | | | |
| value); | | | |
| ValaTypeReference* vala_formal_parameter_get_type_reference (ValaFormalPara
meter* self); | | ValaTypeReference* vala_formal_parameter_get_type_reference (ValaFormalPara
meter* self); | |
| void vala_formal_parameter_set_type_reference (ValaFormalParameter* self, V
alaTypeReference* value); | | void vala_formal_parameter_set_type_reference (ValaFormalParameter* self, V
alaTypeReference* 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); | |
|
| GType vala_formal_parameter_get_type (); | | GType vala_formal_parameter_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 7 lines changed or deleted | | 6 lines changed or added | |
|
| valaforstatement.h | | valaforstatement.h | |
| | | | |
| 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 __VALAFORSTATEMENT_H__ | | #ifndef __VALAFORSTATEMENT_H__ | |
| #define __VALAFORSTATEMENT_H__ | | #define __VALAFORSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | #include <gee/collection.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_FOR_STATEMENT (vala_for_statement_get_type ()) | | #define VALA_TYPE_FOR_STATEMENT (vala_for_statement_get_type ()) | |
| #define VALA_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_FOR_STATEMENT, ValaForStatement)) | | #define VALA_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_FOR_STATEMENT, ValaForStatement)) | |
| #define VALA_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_FOR_STATEMENT, ValaForStatementClass)) | | #define VALA_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_FOR_STATEMENT, ValaForStatementClass)) | |
| #define VALA_IS_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA
_TYPE_FOR_STATEMENT)) | | #define VALA_IS_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA
_TYPE_FOR_STATEMENT)) | |
| #define VALA_IS_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass
), VALA_TYPE_FOR_STATEMENT)) | | #define VALA_IS_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass
), VALA_TYPE_FOR_STATEMENT)) | |
| #define VALA_FOR_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj)
, VALA_TYPE_FOR_STATEMENT, ValaForStatementClass)) | | #define VALA_FOR_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj)
, VALA_TYPE_FOR_STATEMENT, ValaForStatementClass)) | |
| | | | |
| typedef struct _ValaForStatementPrivate ValaForStatementPrivate; | | typedef struct _ValaForStatementPrivate ValaForStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a for iteration statement in the source code. | | * Represents a for iteration statement in the source code. | |
| */ | | */ | |
| struct _ValaForStatement { | | struct _ValaForStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaForStatementPrivate * priv; | | ValaForStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaForStatementClass { | | struct _ValaForStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaForStatement* vala_for_statement_new (ValaExpression* cond, ValaStateme
nt* _body, ValaSourceReference* source); | | ValaForStatement* vala_for_statement_new (ValaExpression* condition, ValaBl
ock* body, ValaSourceReference* source_reference); | |
| void vala_for_statement_add_initializer (ValaForStatement* self, ValaExpres
sion* init); | | void vala_for_statement_add_initializer (ValaForStatement* self, ValaExpres
sion* init); | |
|
| GList* vala_for_statement_get_initializer (ValaForStatement* self); | | GeeCollection* vala_for_statement_get_initializer (ValaForStatement* self); | |
| void vala_for_statement_add_iterator (ValaForStatement* self, ValaExpressio
n* iter); | | void vala_for_statement_add_iterator (ValaForStatement* self, ValaExpressio
n* iter); | |
|
| GList* vala_for_statement_get_iterator (ValaForStatement* self); | | GeeCollection* vala_for_statement_get_iterator (ValaForStatement* self); | |
| ValaExpression* vala_for_statement_get_condition (ValaForStatement* self); | | ValaExpression* vala_for_statement_get_condition (ValaForStatement* self); | |
| void vala_for_statement_set_condition (ValaForStatement* self, ValaExpressi
on* value); | | void vala_for_statement_set_condition (ValaForStatement* self, ValaExpressi
on* value); | |
|
| ValaStatement* vala_for_statement_get_body (ValaForStatement* self); | | ValaBlock* vala_for_statement_get_body (ValaForStatement* self); | |
| void vala_for_statement_set_body (ValaForStatement* self, ValaStatement* va | | void vala_for_statement_set_body (ValaForStatement* self, ValaBlock* value) | |
| lue); | | ; | |
| GType vala_for_statement_get_type (); | | GType vala_for_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 8 change blocks. |
| 10 lines changed or deleted | | 11 lines changed or added | |
|
| valaifstatement.h | | valaifstatement.h | |
| /* valaifstatement.vala | | /* valaifstatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 __VALAIFSTATEMENT_H__ | | #ifndef __VALAIFSTATEMENT_H__ | |
| #define __VALAIFSTATEMENT_H__ | | #define __VALAIFSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_IF_STATEMENT (vala_if_statement_get_type ()) | | #define VALA_TYPE_IF_STATEMENT (vala_if_statement_get_type ()) | |
| #define VALA_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_IF_STATEMENT, ValaIfStatement)) | | #define VALA_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYP
E_IF_STATEMENT, ValaIfStatement)) | |
| #define VALA_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_TYPE_IF_STATEMENT, ValaIfStatementClass)) | | #define VALA_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), V
ALA_TYPE_IF_STATEMENT, ValaIfStatementClass)) | |
| #define VALA_IS_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_
TYPE_IF_STATEMENT)) | | #define VALA_IS_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_
TYPE_IF_STATEMENT)) | |
| #define VALA_IS_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass)
, VALA_TYPE_IF_STATEMENT)) | | #define VALA_IS_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass)
, VALA_TYPE_IF_STATEMENT)) | |
| #define VALA_IF_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
VALA_TYPE_IF_STATEMENT, ValaIfStatementClass)) | | #define VALA_IF_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj),
VALA_TYPE_IF_STATEMENT, ValaIfStatementClass)) | |
| | | | |
| typedef struct _ValaIfStatementPrivate ValaIfStatementPrivate; | | typedef struct _ValaIfStatementPrivate ValaIfStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents an if selection statement in the source code. | | * Represents an if selection statement in the source code. | |
| */ | | */ | |
| struct _ValaIfStatement { | | struct _ValaIfStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaIfStatementPrivate * priv; | | ValaIfStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaIfStatementClass { | | struct _ValaIfStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
| ValaIfStatement* vala_if_statement_new (ValaExpression* cond, ValaBlock* tr
ue_stmt, ValaBlock* false_stmt, ValaSourceReference* source); | | ValaIfStatement* vala_if_statement_new (ValaExpression* cond, ValaBlock* tr
ue_stmt, ValaBlock* false_stmt, ValaSourceReference* source); | |
| ValaExpression* vala_if_statement_get_condition (ValaIfStatement* self); | | ValaExpression* vala_if_statement_get_condition (ValaIfStatement* self); | |
| void vala_if_statement_set_condition (ValaIfStatement* self, ValaExpression
* value); | | void vala_if_statement_set_condition (ValaIfStatement* self, ValaExpression
* value); | |
| ValaBlock* vala_if_statement_get_true_statement (ValaIfStatement* self); | | ValaBlock* vala_if_statement_get_true_statement (ValaIfStatement* self); | |
| void vala_if_statement_set_true_statement (ValaIfStatement* self, ValaBlock
* value); | | void vala_if_statement_set_true_statement (ValaIfStatement* self, ValaBlock
* value); | |
| ValaBlock* vala_if_statement_get_false_statement (ValaIfStatement* self); | | ValaBlock* vala_if_statement_get_false_statement (ValaIfStatement* self); | |
| void vala_if_statement_set_false_statement (ValaIfStatement* self, ValaBloc
k* value); | | void vala_if_statement_set_false_statement (ValaIfStatement* self, ValaBloc
k* value); | |
|
| GType vala_if_statement_get_type (); | | GType vala_if_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 5 lines changed or deleted | | 5 lines changed or added | |
|
| valainterface.h | | valainterface.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 __VALAINTERFACE_H__ | | #ifndef __VALAINTERFACE_H__ | |
| #define __VALAINTERFACE_H__ | | #define __VALAINTERFACE_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 <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_INTERFACE (vala_interface_get_type ()) | | #define VALA_TYPE_INTERFACE (vala_interface_get_type ()) | |
| #define VALA_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_I
NTERFACE, ValaInterface)) | | #define VALA_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_I
NTERFACE, ValaInterface)) | |
| #define VALA_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_INTERFACE, ValaInterfaceClass)) | | #define VALA_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_INTERFACE, ValaInterfaceClass)) | |
| #define VALA_IS_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_INTERFACE)) | | #define VALA_IS_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_INTERFACE)) | |
| #define VALA_IS_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_INTERFACE)) | | #define VALA_IS_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_INTERFACE)) | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 56 | |
| * Represents a class declaration in the source code. | | * Represents a class declaration in the source code. | |
| */ | | */ | |
| struct _ValaInterface { | | struct _ValaInterface { | |
| ValaDataType parent; | | ValaDataType parent; | |
| ValaInterfacePrivate * priv; | | ValaInterfacePrivate * priv; | |
| }; | | }; | |
| struct _ValaInterfaceClass { | | struct _ValaInterfaceClass { | |
| ValaDataTypeClass parent; | | ValaDataTypeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaInterface* vala_interface_new (const char* _name, ValaSourceReference*
source); | | ValaInterface* vala_interface_new (const char* name, ValaSourceReference* s
ource_reference); | |
| void vala_interface_add_type_parameter (ValaInterface* self, ValaTypeParame
ter* p); | | void vala_interface_add_type_parameter (ValaInterface* self, ValaTypeParame
ter* p); | |
|
| | | GeeCollection* vala_interface_get_type_parameters (ValaInterface* self); | |
| void vala_interface_add_prerequisite (ValaInterface* self, ValaTypeReferenc
e* type); | | void vala_interface_add_prerequisite (ValaInterface* self, ValaTypeReferenc
e* type); | |
|
| GList* vala_interface_get_prerequisites (ValaInterface* self); | | void vala_interface_prepend_prerequisite (ValaInterface* self, ValaTypeRefe | |
| | | rence* type); | |
| | | GeeCollection* vala_interface_get_prerequisites (ValaInterface* self); | |
| void vala_interface_add_method (ValaInterface* self, ValaMethod* m); | | void vala_interface_add_method (ValaInterface* self, ValaMethod* m); | |
|
| GList* vala_interface_get_methods (ValaInterface* self); | | GeeCollection* vala_interface_get_methods (ValaInterface* self); | |
| | | void vala_interface_add_field (ValaInterface* self, ValaField* f); | |
| | | GeeCollection* vala_interface_get_fields (ValaInterface* self); | |
| void vala_interface_add_property (ValaInterface* self, ValaProperty* prop); | | void vala_interface_add_property (ValaInterface* self, ValaProperty* prop); | |
|
| GList* vala_interface_get_properties (ValaInterface* self); | | GeeCollection* vala_interface_get_properties (ValaInterface* self); | |
| void vala_interface_add_signal (ValaInterface* self, ValaSignal* sig); | | void vala_interface_add_signal (ValaInterface* self, ValaSignal* sig); | |
|
| GList* vala_interface_get_signals (ValaInterface* self); | | GeeCollection* vala_interface_get_signals (ValaInterface* self); | |
| char* vala_interface_get_lower_case_csuffix (ValaInterface* self); | | char* vala_interface_get_lower_case_csuffix (ValaInterface* self); | |
| void vala_interface_set_lower_case_csuffix (ValaInterface* self, const char
* csuffix); | | void vala_interface_set_lower_case_csuffix (ValaInterface* self, const char
* csuffix); | |
| void vala_interface_process_attributes (ValaInterface* self); | | void vala_interface_process_attributes (ValaInterface* self); | |
| char* vala_interface_get_type_cname (ValaInterface* self); | | char* vala_interface_get_type_cname (ValaInterface* self); | |
| void vala_interface_set_type_cname (ValaInterface* self, const char* type_c
name); | | void vala_interface_set_type_cname (ValaInterface* self, const char* type_c
name); | |
| gboolean vala_interface_get_is_static (ValaInterface* self); | | gboolean vala_interface_get_is_static (ValaInterface* self); | |
| void vala_interface_set_is_static (ValaInterface* self, gboolean value); | | void vala_interface_set_is_static (ValaInterface* self, gboolean value); | |
|
| GType vala_interface_get_type (); | | GType vala_interface_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 8 change blocks. |
| 6 lines changed or deleted | | 12 lines changed or added | |
|
| valainterfacewriter.h | | valainterfacewriter.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <rasa@gmx.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALAINTERFACEWRITER_H__ | | #ifndef __VALAINTERFACEWRITER_H__ | |
| #define __VALAINTERFACEWRITER_H__ | | #define __VALAINTERFACEWRITER_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 <vala/valacodevisitor.h> | | #include <vala/valacodevisitor.h> | |
| #include <vala/valacodecontext.h> | | #include <vala/valacodecontext.h> | |
|
| #include <vala/valasourcefile.h> | | | |
| #include <vala/valanamespace.h> | | #include <vala/valanamespace.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/valaenum.h> | |
| #include <vala/valaenumvalue.h> | | #include <vala/valaenumvalue.h> | |
|
| #include <vala/valaflags.h> | | | |
| #include <vala/valaflagsvalue.h> | | | |
| #include <vala/valaconstant.h> | | #include <vala/valaconstant.h> | |
| #include <vala/valafield.h> | | #include <vala/valafield.h> | |
| #include <vala/valacallback.h> | | #include <vala/valacallback.h> | |
| #include <vala/valamethod.h> | | #include <vala/valamethod.h> | |
| #include <vala/valacreationmethod.h> | | #include <vala/valacreationmethod.h> | |
| #include <vala/valaproperty.h> | | #include <vala/valaproperty.h> | |
| #include <vala/valasignal.h> | | #include <vala/valasignal.h> | |
|
| | | #include <vala/valatypereference.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_INTERFACE_WRITER (vala_interface_writer_get_type ()) | | #define VALA_TYPE_INTERFACE_WRITER (vala_interface_writer_get_type ()) | |
| #define VALA_INTERFACE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA
_TYPE_INTERFACE_WRITER, ValaInterfaceWriter)) | | #define VALA_INTERFACE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA
_TYPE_INTERFACE_WRITER, ValaInterfaceWriter)) | |
| #define VALA_INTERFACE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass
), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | | #define VALA_INTERFACE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass
), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | |
| #define VALA_IS_INTERFACE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V
ALA_TYPE_INTERFACE_WRITER)) | | #define VALA_IS_INTERFACE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V
ALA_TYPE_INTERFACE_WRITER)) | |
| #define VALA_IS_INTERFACE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl
ass), VALA_TYPE_INTERFACE_WRITER)) | | #define VALA_IS_INTERFACE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl
ass), VALA_TYPE_INTERFACE_WRITER)) | |
| #define VALA_INTERFACE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o
bj), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | | #define VALA_INTERFACE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o
bj), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | |
| | | | |
| | | | |
| skipping to change at line 75 | | skipping to change at line 74 | |
| */ | | */ | |
| struct _ValaInterfaceWriter { | | struct _ValaInterfaceWriter { | |
| ValaCodeVisitor parent; | | ValaCodeVisitor parent; | |
| ValaInterfaceWriterPrivate * priv; | | ValaInterfaceWriterPrivate * priv; | |
| }; | | }; | |
| struct _ValaInterfaceWriterClass { | | struct _ValaInterfaceWriterClass { | |
| ValaCodeVisitorClass parent; | | ValaCodeVisitorClass parent; | |
| }; | | }; | |
| | | | |
| void vala_interface_writer_write_file (ValaInterfaceWriter* self, ValaCodeC
ontext* context, const char* filename); | | void vala_interface_writer_write_file (ValaInterfaceWriter* self, ValaCodeC
ontext* context, const char* filename); | |
|
| GType vala_interface_writer_get_type (); | | GType vala_interface_writer_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 5 change blocks. |
| 4 lines changed or deleted | | 3 lines changed or added | |
|
| valainvocationexpression.h | | valainvocationexpression.h | |
| | | | |
| 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 __VALAINVOCATIONEXPRESSION_H__ | | #ifndef __VALAINVOCATIONEXPRESSION_H__ | |
| #define __VALAINVOCATIONEXPRESSION_H__ | | #define __VALAINVOCATIONEXPRESSION_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 <gee/list.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_INVOCATION_EXPRESSION (vala_invocation_expression_get_typ
e ()) | | #define VALA_TYPE_INVOCATION_EXPRESSION (vala_invocation_expression_get_typ
e ()) | |
| #define VALA_INVOCATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpression)) | | #define VALA_INVOCATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),
VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpression)) | |
| #define VALA_INVOCATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((
klass), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpressionClass)) | | #define VALA_INVOCATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((
klass), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpressionClass)) | |
| #define VALA_IS_INVOCATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob
j), VALA_TYPE_INVOCATION_EXPRESSION)) | | #define VALA_IS_INVOCATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob
j), VALA_TYPE_INVOCATION_EXPRESSION)) | |
| #define VALA_IS_INVOCATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE
((klass), VALA_TYPE_INVOCATION_EXPRESSION)) | | #define VALA_IS_INVOCATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE
((klass), VALA_TYPE_INVOCATION_EXPRESSION)) | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 57 | |
| */ | | */ | |
| struct _ValaInvocationExpression { | | struct _ValaInvocationExpression { | |
| ValaExpression parent; | | ValaExpression parent; | |
| ValaInvocationExpressionPrivate * priv; | | ValaInvocationExpressionPrivate * priv; | |
| ValaExpression* _call; | | ValaExpression* _call; | |
| }; | | }; | |
| struct _ValaInvocationExpressionClass { | | struct _ValaInvocationExpressionClass { | |
| ValaExpressionClass parent; | | ValaExpressionClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaInvocationExpression* vala_invocation_expression_new (ValaExpression* _
call, ValaSourceReference* source); | | ValaInvocationExpression* vala_invocation_expression_new (ValaExpression* c
all, ValaSourceReference* source_reference); | |
| void vala_invocation_expression_add_argument (ValaInvocationExpression* sel
f, ValaExpression* arg); | | void vala_invocation_expression_add_argument (ValaInvocationExpression* sel
f, ValaExpression* arg); | |
|
| GList* vala_invocation_expression_get_argument_list (ValaInvocationExpressi
on* self); | | GeeCollection* vala_invocation_expression_get_argument_list (ValaInvocation
Expression* self); | |
| void vala_invocation_expression_append_array_size (ValaInvocationExpression
* self, ValaCCodeExpression* size); | | void vala_invocation_expression_append_array_size (ValaInvocationExpression
* self, ValaCCodeExpression* size); | |
|
| GList* vala_invocation_expression_get_array_sizes (ValaInvocationExpression
* self); | | GeeList* vala_invocation_expression_get_array_sizes (ValaInvocationExpressi
on* self); | |
| ValaExpression* vala_invocation_expression_get_call (ValaInvocationExpressi
on* self); | | ValaExpression* vala_invocation_expression_get_call (ValaInvocationExpressi
on* self); | |
| void vala_invocation_expression_set_call (ValaInvocationExpression* self, V
alaExpression* value); | | void vala_invocation_expression_set_call (ValaInvocationExpression* self, V
alaExpression* value); | |
|
| GType vala_invocation_expression_get_type (); | | GType vala_invocation_expression_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 4 lines changed or deleted | | 6 lines changed or added | |
|
| valalambdaexpression.h | | valalambdaexpression.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 __VALALAMBDAEXPRESSION_H__ | | #ifndef __VALALAMBDAEXPRESSION_H__ | |
| #define __VALALAMBDAEXPRESSION_H__ | | #define __VALALAMBDAEXPRESSION_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 <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_LAMBDA_EXPRESSION (vala_lambda_expression_get_type ()) | | #define VALA_TYPE_LAMBDA_EXPRESSION (vala_lambda_expression_get_type ()) | |
| #define VALA_LAMBDA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL
A_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpression)) | | #define VALA_LAMBDA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL
A_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpression)) | |
| #define VALA_LAMBDA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas
s), VALA_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpressionClass)) | | #define VALA_LAMBDA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas
s), VALA_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpressionClass)) | |
| #define VALA_IS_LAMBDA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_LAMBDA_EXPRESSION)) | | #define VALA_IS_LAMBDA_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_LAMBDA_EXPRESSION)) | |
| #define VALA_IS_LAMBDA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k
lass), VALA_TYPE_LAMBDA_EXPRESSION)) | | #define VALA_IS_LAMBDA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k
lass), VALA_TYPE_LAMBDA_EXPRESSION)) | |
| | | | |
| skipping to change at line 56 | | skipping to change at line 57 | |
| * anonymous methods with implicitly typed parameters. | | * anonymous methods with implicitly typed parameters. | |
| */ | | */ | |
| struct _ValaLambdaExpression { | | struct _ValaLambdaExpression { | |
| ValaExpression parent; | | ValaExpression parent; | |
| ValaLambdaExpressionPrivate * priv; | | ValaLambdaExpressionPrivate * priv; | |
| }; | | }; | |
| struct _ValaLambdaExpressionClass { | | struct _ValaLambdaExpressionClass { | |
| ValaExpressionClass parent; | | ValaExpressionClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaLambdaExpression* vala_lambda_expression_new (ValaExpression* body, Val | | ValaLambdaExpression* vala_lambda_expression_new (ValaExpression* expressio | |
| aSourceReference* source); | | n_body, ValaSourceReference* source_reference); | |
| ValaLambdaExpression* vala_lambda_expression_new_with_statement_body (ValaB | | ValaLambdaExpression* vala_lambda_expression_new_with_statement_body (ValaB | |
| lock* body, ValaSourceReference* source); | | lock* statement_body, ValaSourceReference* source_reference); | |
| void vala_lambda_expression_add_parameter (ValaLambdaExpression* self, cons
t char* param); | | void vala_lambda_expression_add_parameter (ValaLambdaExpression* self, cons
t char* param); | |
|
| GList* vala_lambda_expression_get_parameters (ValaLambdaExpression* self); | | GeeCollection* vala_lambda_expression_get_parameters (ValaLambdaExpression*
self); | |
| ValaExpression* vala_lambda_expression_get_expression_body (ValaLambdaExpre
ssion* self); | | ValaExpression* vala_lambda_expression_get_expression_body (ValaLambdaExpre
ssion* self); | |
| void vala_lambda_expression_set_expression_body (ValaLambdaExpression* self
, ValaExpression* value); | | void vala_lambda_expression_set_expression_body (ValaLambdaExpression* self
, ValaExpression* value); | |
| ValaBlock* vala_lambda_expression_get_statement_body (ValaLambdaExpression*
self); | | ValaBlock* vala_lambda_expression_get_statement_body (ValaLambdaExpression*
self); | |
| void vala_lambda_expression_set_statement_body (ValaLambdaExpression* self,
ValaBlock* value); | | void vala_lambda_expression_set_statement_body (ValaLambdaExpression* self,
ValaBlock* value); | |
| ValaMethod* vala_lambda_expression_get_method (ValaLambdaExpression* self); | | ValaMethod* vala_lambda_expression_get_method (ValaLambdaExpression* self); | |
| void vala_lambda_expression_set_method (ValaLambdaExpression* self, ValaMet
hod* value); | | void vala_lambda_expression_set_method (ValaLambdaExpression* self, ValaMet
hod* value); | |
|
| GType vala_lambda_expression_get_type (); | | GType vala_lambda_expression_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 6 lines changed or deleted | | 7 lines changed or added | |
|
| valalocalvariabledeclaration.h | | valalocalvariabledeclaration.h | |
| | | | |
| 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 __VALALOCALVARIABLEDECLARATION_H__ | | #ifndef __VALALOCALVARIABLEDECLARATION_H__ | |
| #define __VALALOCALVARIABLEDECLARATION_H__ | | #define __VALALOCALVARIABLEDECLARATION_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/collection.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_LOCAL_VARIABLE_DECLARATION (vala_local_variable_declarati
on_get_type ()) | | #define VALA_TYPE_LOCAL_VARIABLE_DECLARATION (vala_local_variable_declarati
on_get_type ()) | |
| #define VALA_LOCAL_VARIABLE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((
obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDeclaration)) | | #define VALA_LOCAL_VARIABLE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((
obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDeclaration)) | |
| #define VALA_LOCAL_VARIABLE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CA
ST ((klass), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDeclara
tionClass)) | | #define VALA_LOCAL_VARIABLE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CA
ST ((klass), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDeclara
tionClass)) | |
| #define VALA_IS_LOCAL_VARIABLE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE
((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | | #define VALA_IS_LOCAL_VARIABLE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE
((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | |
| #define VALA_IS_LOCAL_VARIABLE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS
_TYPE ((klass), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | | #define VALA_IS_LOCAL_VARIABLE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS
_TYPE ((klass), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | |
| #define VALA_LOCAL_VARIABLE_DECLARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET
_CLASS ((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDecla
rationClass)) | | #define VALA_LOCAL_VARIABLE_DECLARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET
_CLASS ((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDecla
rationClass)) | |
| | | | |
| skipping to change at line 52 | | skipping to change at line 53 | |
| * Represents a local variable declaration in the source code. | | * Represents a local variable declaration in the source code. | |
| */ | | */ | |
| struct _ValaLocalVariableDeclaration { | | struct _ValaLocalVariableDeclaration { | |
| ValaCodeNode parent; | | ValaCodeNode parent; | |
| ValaLocalVariableDeclarationPrivate * priv; | | ValaLocalVariableDeclarationPrivate * priv; | |
| }; | | }; | |
| struct _ValaLocalVariableDeclarationClass { | | struct _ValaLocalVariableDeclarationClass { | |
| ValaCodeNodeClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaLocalVariableDeclaration* vala_local_variable_declaration_new (ValaType | | ValaLocalVariableDeclaration* vala_local_variable_declaration_new (ValaType | |
| Reference* type, ValaSourceReference* source); | | Reference* type_reference, ValaSourceReference* source_reference); | |
| ValaLocalVariableDeclaration* vala_local_variable_declaration_new_var_type | | ValaLocalVariableDeclaration* vala_local_variable_declaration_new_var_type | |
| (ValaSourceReference* source); | | (ValaSourceReference* source_reference); | |
| void vala_local_variable_declaration_add_declarator (ValaLocalVariableDecla
ration* self, ValaVariableDeclarator* declarator); | | void vala_local_variable_declaration_add_declarator (ValaLocalVariableDecla
ration* self, ValaVariableDeclarator* declarator); | |
|
| GList* vala_local_variable_declaration_get_variable_declarators (ValaLocalV
ariableDeclaration* self); | | GeeCollection* vala_local_variable_declaration_get_variable_declarators (Va
laLocalVariableDeclaration* self); | |
| ValaTypeReference* vala_local_variable_declaration_get_type_reference (Vala
LocalVariableDeclaration* self); | | ValaTypeReference* vala_local_variable_declaration_get_type_reference (Vala
LocalVariableDeclaration* self); | |
| void vala_local_variable_declaration_set_type_reference (ValaLocalVariableD
eclaration* self, ValaTypeReference* value); | | void vala_local_variable_declaration_set_type_reference (ValaLocalVariableD
eclaration* self, ValaTypeReference* value); | |
|
| GType vala_local_variable_declaration_get_type (); | | GType vala_local_variable_declaration_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 6 lines changed or deleted | | 7 lines changed or added | |
|
| valalockstatement.h | | valalockstatement.h | |
| /* valalockstatement.vala | | /* valalockstatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Raffaele Sandrini | | * Copyright (C) 2006-2007 Raffaele Sandrini, 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 of the License, or (at your option) any later version. | | * version 2 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: | |
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <rasa@gmx.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALALOCKSTATEMENT_H__ | | #ifndef __VALALOCKSTATEMENT_H__ | |
| #define __VALALOCKSTATEMENT_H__ | | #define __VALALOCKSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_LOCK_STATEMENT (vala_lock_statement_get_type ()) | | #define VALA_TYPE_LOCK_STATEMENT (vala_lock_statement_get_type ()) | |
| #define VALA_LOCK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_LOCK_STATEMENT, ValaLockStatement)) | | #define VALA_LOCK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_LOCK_STATEMENT, ValaLockStatement)) | |
| #define VALA_LOCK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_LOCK_STATEMENT, ValaLockStatementClass)) | | #define VALA_LOCK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_LOCK_STATEMENT, ValaLockStatementClass)) | |
| #define VALA_IS_LOCK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_LOCK_STATEMENT)) | | #define VALA_IS_LOCK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_LOCK_STATEMENT)) | |
| #define VALA_IS_LOCK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_LOCK_STATEMENT)) | | #define VALA_IS_LOCK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_LOCK_STATEMENT)) | |
| #define VALA_LOCK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj
), VALA_TYPE_LOCK_STATEMENT, ValaLockStatementClass)) | | #define VALA_LOCK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj
), VALA_TYPE_LOCK_STATEMENT, ValaLockStatementClass)) | |
| | | | |
| typedef struct _ValaLockStatementPrivate ValaLockStatementPrivate; | | typedef struct _ValaLockStatementPrivate ValaLockStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a lock statement e.g. "lock (a) { f(a) }". | | * Represents a lock statement e.g. "lock (a) { f(a) }". | |
| */ | | */ | |
| struct _ValaLockStatement { | | struct _ValaLockStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaLockStatementPrivate * priv; | | ValaLockStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaLockStatementClass { | | struct _ValaLockStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaLockStatement* vala_lock_statement_new (ValaExpression* _resource, Vala
Statement* _body, ValaSourceReference* source); | | ValaLockStatement* vala_lock_statement_new (ValaExpression* resource, ValaB
lock* body, ValaSourceReference* source_reference); | |
| ValaExpression* vala_lock_statement_get_resource (ValaLockStatement* self); | | ValaExpression* vala_lock_statement_get_resource (ValaLockStatement* self); | |
| void vala_lock_statement_set_resource (ValaLockStatement* self, ValaExpress
ion* value); | | void vala_lock_statement_set_resource (ValaLockStatement* self, ValaExpress
ion* value); | |
|
| ValaStatement* vala_lock_statement_get_body (ValaLockStatement* self); | | ValaBlock* vala_lock_statement_get_body (ValaLockStatement* self); | |
| void vala_lock_statement_set_body (ValaLockStatement* self, ValaStatement* | | void vala_lock_statement_set_body (ValaLockStatement* self, ValaBlock* valu | |
| value); | | e); | |
| GType vala_lock_statement_get_type (); | | GType vala_lock_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 7 change blocks. |
| 9 lines changed or deleted | | 9 lines changed or added | |
|
| valamember.h | | valamember.h | |
| /* valamember.vala | | /* valamember.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Raffaele Sandrini | | * Copyright (C) 2006-2007 Raffaele Sandrini, 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 of the License, or (at your option) any later version. | | * version 2 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: | |
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <rasa@gmx.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALAMEMBER_H__ | | #ifndef __VALAMEMBER_H__ | |
| #define __VALAMEMBER_H__ | | #define __VALAMEMBER_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/collection.h> | |
| | | #include <stdlib.h> | |
| | | #include <string.h> | |
| | | #include <vala/valasymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_MEMBER (vala_member_get_type ()) | | #define VALA_TYPE_MEMBER (vala_member_get_type ()) | |
| #define VALA_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_MEMB
ER, ValaMember)) | | #define VALA_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_MEMB
ER, ValaMember)) | |
| #define VALA_MEMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_MEMBER, ValaMemberClass)) | | #define VALA_MEMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_MEMBER, ValaMemberClass)) | |
| #define VALA_IS_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M
EMBER)) | | #define VALA_IS_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M
EMBER)) | |
| #define VALA_IS_MEMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_MEMBER)) | | #define VALA_IS_MEMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_MEMBER)) | |
| #define VALA_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_
TYPE_MEMBER, ValaMemberClass)) | | #define VALA_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_
TYPE_MEMBER, ValaMemberClass)) | |
| | | | |
| typedef struct _ValaMemberPrivate ValaMemberPrivate; | | typedef struct _ValaMemberPrivate ValaMemberPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a general class member. | | * Represents a general class member. | |
| */ | | */ | |
| struct _ValaMember { | | struct _ValaMember { | |
|
| ValaCodeNode parent; | | ValaSymbol parent; | |
| ValaMemberPrivate * priv; | | ValaMemberPrivate * priv; | |
| }; | | }; | |
| struct _ValaMemberClass { | | struct _ValaMemberClass { | |
|
| ValaCodeNodeClass parent; | | ValaSymbolClass parent; | |
| }; | | }; | |
| | | | |
|
| GType vala_member_get_type (); | | void vala_member_add_cheader_filename (ValaMember* self, const char* filena | |
| | | me); | |
| | | GType vala_member_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 5 change blocks. |
| 4 lines changed or deleted | | 10 lines changed or added | |
|
| valamemberaccess.h | | valamemberaccess.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 __VALAMEMBERACCESS_H__ | | #ifndef __VALAMEMBERACCESS_H__ | |
| #define __VALAMEMBERACCESS_H__ | | #define __VALAMEMBERACCESS_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 <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_MEMBER_ACCESS (vala_member_access_get_type ()) | | #define VALA_TYPE_MEMBER_ACCESS (vala_member_access_get_type ()) | |
| #define VALA_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_MEMBER_ACCESS, ValaMemberAccess)) | | #define VALA_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY
PE_MEMBER_ACCESS, ValaMemberAccess)) | |
| #define VALA_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | | #define VALA_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | |
| #define VALA_IS_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA
_TYPE_MEMBER_ACCESS)) | | #define VALA_IS_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA
_TYPE_MEMBER_ACCESS)) | |
| #define VALA_IS_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass
), VALA_TYPE_MEMBER_ACCESS)) | | #define VALA_IS_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass
), VALA_TYPE_MEMBER_ACCESS)) | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 56 | |
| * Represents an access to a type member in the source code. | | * Represents an access to a type member in the source code. | |
| */ | | */ | |
| struct _ValaMemberAccess { | | struct _ValaMemberAccess { | |
| ValaExpression parent; | | ValaExpression parent; | |
| ValaMemberAccessPrivate * priv; | | ValaMemberAccessPrivate * priv; | |
| }; | | }; | |
| struct _ValaMemberAccessClass { | | struct _ValaMemberAccessClass { | |
| ValaExpressionClass parent; | | ValaExpressionClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaMemberAccess* vala_member_access_new (ValaExpression* _inner, const cha | | ValaMemberAccess* vala_member_access_new (ValaExpression* inner, const char | |
| r* member, ValaSourceReference* source); | | * member_name, ValaSourceReference* source_reference); | |
| ValaMemberAccess* vala_member_access_new_simple (const char* member, ValaSo | | ValaMemberAccess* vala_member_access_new_simple (const char* member_name, V | |
| urceReference* source); | | alaSourceReference* source_reference); | |
| void vala_member_access_add_type_argument (ValaMemberAccess* self, ValaType
Reference* arg); | | void vala_member_access_add_type_argument (ValaMemberAccess* self, ValaType
Reference* arg); | |
|
| GList* vala_member_access_get_type_arguments (ValaMemberAccess* self); | | GeeCollection* vala_member_access_get_type_arguments (ValaMemberAccess* sel
f); | |
| ValaExpression* vala_member_access_get_inner (ValaMemberAccess* self); | | ValaExpression* vala_member_access_get_inner (ValaMemberAccess* self); | |
| void vala_member_access_set_inner (ValaMemberAccess* self, ValaExpression*
value); | | void vala_member_access_set_inner (ValaMemberAccess* self, ValaExpression*
value); | |
| char* vala_member_access_get_member_name (ValaMemberAccess* self); | | char* vala_member_access_get_member_name (ValaMemberAccess* self); | |
| void vala_member_access_set_member_name (ValaMemberAccess* self, const char
* value); | | void vala_member_access_set_member_name (ValaMemberAccess* self, const char
* value); | |
|
| GType vala_member_access_get_type (); | | GType vala_member_access_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 6 lines changed or deleted | | 7 lines changed or added | |
|
| valamemorymanager.h | | valamemorymanager.h | |
| | | | |
| skipping to change at line 33 | | skipping to change at line 33 | |
| | | | |
| #ifndef __VALAMEMORYMANAGER_H__ | | #ifndef __VALAMEMORYMANAGER_H__ | |
| #define __VALAMEMORYMANAGER_H__ | | #define __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/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valasourcefile.h> | | #include <vala/valasourcefile.h> | |
|
| #include <vala/valanamespace.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/valafield.h> | | #include <vala/valafield.h> | |
| #include <vala/valamethod.h> | | #include <vala/valamethod.h> | |
| #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/valavariabledeclarator.h> | | #include <vala/valavariabledeclarator.h> | |
| #include <vala/valaexpressionstatement.h> | | #include <vala/valaexpressionstatement.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/valamemberaccess.h> | | #include <vala/valamemberaccess.h> | |
| #include <vala/valainvocationexpression.h> | | #include <vala/valainvocationexpression.h> | |
|
| | | #include <vala/valaobjectcreationexpression.h> | |
| #include <vala/valabinaryexpression.h> | | #include <vala/valabinaryexpression.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 ()) | |
| #define VALA_MEMORY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_MEMORY_MANAGER, ValaMemoryManager)) | | #define VALA_MEMORY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_MEMORY_MANAGER, ValaMemoryManager)) | |
| #define VALA_MEMORY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_MEMORY_MANAGER, ValaMemoryManagerClass)) | | #define VALA_MEMORY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_MEMORY_MANAGER, ValaMemoryManagerClass)) | |
| #define VALA_IS_MEMORY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_MEMORY_MANAGER)) | | #define VALA_IS_MEMORY_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_MEMORY_MANAGER)) | |
| #define VALA_IS_MEMORY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_MEMORY_MANAGER)) | | #define VALA_IS_MEMORY_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_MEMORY_MANAGER)) | |
| | | | |
| skipping to change at line 82 | | skipping to change at line 82 | |
| */ | | */ | |
| struct _ValaMemoryManager { | | struct _ValaMemoryManager { | |
| ValaCodeVisitor parent; | | ValaCodeVisitor parent; | |
| ValaMemoryManagerPrivate * priv; | | ValaMemoryManagerPrivate * priv; | |
| }; | | }; | |
| struct _ValaMemoryManagerClass { | | struct _ValaMemoryManagerClass { | |
| ValaCodeVisitorClass parent; | | ValaCodeVisitorClass parent; | |
| }; | | }; | |
| | | | |
| void vala_memory_manager_analyze (ValaMemoryManager* self, ValaCodeContext*
context); | | void vala_memory_manager_analyze (ValaMemoryManager* self, ValaCodeContext*
context); | |
|
| GType vala_memory_manager_get_type (); | | GType vala_memory_manager_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 2 lines changed or deleted | | 2 lines changed or added | |
|
| valamethod.h | | valamethod.h | |
| | | | |
| skipping to change at line 31 | | skipping to change at line 31 | |
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <rasa@gmx.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALAMETHOD_H__ | | #ifndef __VALAMETHOD_H__ | |
| #define __VALAMETHOD_H__ | | #define __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 <vala/valamember.h> | | #include <vala/valamember.h> | |
| #include <vala/valainvokable.h> | | #include <vala/valainvokable.h> | |
| #include <vala/valamemberaccessibility.h> | | #include <vala/valamemberaccessibility.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)) | |
| | | | |
| skipping to change at line 60 | | skipping to change at line 61 | |
| struct _ValaMethod { | | struct _ValaMethod { | |
| ValaMember parent; | | ValaMember parent; | |
| ValaMethodPrivate * priv; | | ValaMethodPrivate * priv; | |
| ValaMemberAccessibility access; | | ValaMemberAccessibility access; | |
| }; | | }; | |
| struct _ValaMethodClass { | | struct _ValaMethodClass { | |
| ValaMemberClass parent; | | ValaMemberClass parent; | |
| char* (*get_default_cname) (ValaMethod* self); | | char* (*get_default_cname) (ValaMethod* self); | |
| }; | | }; | |
| | | | |
|
| ValaMethod* vala_method_new (const char* _name, ValaTypeReference* _return_
type, ValaSourceReference* source); | | ValaMethod* vala_method_new (const char* name, ValaTypeReference* return_ty
pe, ValaSourceReference* source_reference); | |
| void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para
m); | | void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para
m); | |
| char* vala_method_get_cname (ValaMethod* self); | | char* vala_method_get_cname (ValaMethod* self); | |
| char* vala_method_get_default_cname (ValaMethod* self); | | char* vala_method_get_default_cname (ValaMethod* self); | |
| char* vala_method_get_real_cname (ValaMethod* self); | | char* vala_method_get_real_cname (ValaMethod* self); | |
| void vala_method_set_cname (ValaMethod* self, const char* cname); | | void vala_method_set_cname (ValaMethod* self, const char* cname); | |
| void vala_method_process_attributes (ValaMethod* self); | | void vala_method_process_attributes (ValaMethod* self); | |
| gboolean vala_method_equals (ValaMethod* self, ValaMethod* m2); | | gboolean vala_method_equals (ValaMethod* self, ValaMethod* m2); | |
| void vala_method_add_error_domain (ValaMethod* self, ValaTypeReference* err
or_domain); | | void vala_method_add_error_domain (ValaMethod* self, ValaTypeReference* err
or_domain); | |
|
| GList* vala_method_get_error_domains (ValaMethod* self); | | GeeCollection* vala_method_get_error_domains (ValaMethod* self); | |
| char* vala_method_get_name (ValaMethod* self); | | | |
| void vala_method_set_name (ValaMethod* self, const char* value); | | | |
| ValaTypeReference* vala_method_get_return_type (ValaMethod* self); | | ValaTypeReference* vala_method_get_return_type (ValaMethod* self); | |
| void vala_method_set_return_type (ValaMethod* self, ValaTypeReference* valu
e); | | void vala_method_set_return_type (ValaMethod* self, ValaTypeReference* valu
e); | |
| 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); | |
| 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); | |
| 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); | |
| | | | |
| skipping to change at line 100 | | skipping to change at line 99 | |
| 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); | |
| 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 (); | | GType vala_method_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 5 lines changed or deleted | | 4 lines changed or added | |
|
| valanamespace.h | | valanamespace.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 __VALANAMESPACE_H__ | | #ifndef __VALANAMESPACE_H__ | |
| #define __VALANAMESPACE_H__ | | #define __VALANAMESPACE_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 <vala/valasymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_NAMESPACE (vala_namespace_get_type ()) | | #define VALA_TYPE_NAMESPACE (vala_namespace_get_type ()) | |
| #define VALA_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_N
AMESPACE, ValaNamespace)) | | #define VALA_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_N
AMESPACE, ValaNamespace)) | |
| #define VALA_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_NAMESPACE, ValaNamespaceClass)) | | #define VALA_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA
_TYPE_NAMESPACE, ValaNamespaceClass)) | |
| #define VALA_IS_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_NAMESPACE)) | | #define VALA_IS_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP
E_NAMESPACE)) | |
| #define VALA_IS_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_NAMESPACE)) | | #define VALA_IS_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V
ALA_TYPE_NAMESPACE)) | |
| #define VALA_NAMESPACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA
LA_TYPE_NAMESPACE, ValaNamespaceClass)) | | #define VALA_NAMESPACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA
LA_TYPE_NAMESPACE, ValaNamespaceClass)) | |
| | | | |
| typedef struct _ValaNamespacePrivate ValaNamespacePrivate; | | typedef struct _ValaNamespacePrivate ValaNamespacePrivate; | |
| | | | |
| /** | | /** | |
| * Represents a namespace declaration in the source code. | | * Represents a namespace declaration in the source code. | |
| */ | | */ | |
| struct _ValaNamespace { | | struct _ValaNamespace { | |
|
| ValaCodeNode parent; | | ValaSymbol parent; | |
| ValaNamespacePrivate * priv; | | ValaNamespacePrivate * priv; | |
| }; | | }; | |
| struct _ValaNamespaceClass { | | struct _ValaNamespaceClass { | |
|
| ValaCodeNodeClass parent; | | ValaSymbolClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaNamespace* vala_namespace_new (const char* _name, ValaSourceReference* | | ValaNamespace* vala_namespace_new (const char* name, ValaSourceReference* s | |
| source); | | ource_reference); | |
| | | void vala_namespace_add_namespace (ValaNamespace* self, ValaNamespace* ns); | |
| | | GeeCollection* vala_namespace_get_namespaces (ValaNamespace* self); | |
| void vala_namespace_add_class (ValaNamespace* self, ValaClass* cl); | | void vala_namespace_add_class (ValaNamespace* self, ValaClass* cl); | |
|
| void vala_namespace_remove_class (ValaNamespace* self, ValaClass* cl); | | | |
| void vala_namespace_add_interface (ValaNamespace* self, ValaInterface* ifac
e); | | void vala_namespace_add_interface (ValaNamespace* self, ValaInterface* ifac
e); | |
| void vala_namespace_add_struct (ValaNamespace* self, ValaStruct* st); | | void vala_namespace_add_struct (ValaNamespace* self, ValaStruct* st); | |
| void vala_namespace_add_enum (ValaNamespace* self, ValaEnum* en); | | void vala_namespace_add_enum (ValaNamespace* self, ValaEnum* en); | |
|
| void vala_namespace_add_flags (ValaNamespace* self, ValaFlags* fl); | | | |
| void vala_namespace_add_callback (ValaNamespace* self, ValaCallback* cb); | | void vala_namespace_add_callback (ValaNamespace* self, ValaCallback* cb); | |
|
| GList* vala_namespace_get_structs (ValaNamespace* self); | | GeeCollection* vala_namespace_get_structs (ValaNamespace* self); | |
| GList* vala_namespace_get_classes (ValaNamespace* self); | | GeeCollection* vala_namespace_get_classes (ValaNamespace* self); | |
| GList* vala_namespace_get_interfaces (ValaNamespace* self); | | GeeCollection* vala_namespace_get_interfaces (ValaNamespace* self); | |
| void vala_namespace_add_constant (ValaNamespace* self, ValaConstant* consta
nt); | | void vala_namespace_add_constant (ValaNamespace* self, ValaConstant* consta
nt); | |
| void vala_namespace_add_field (ValaNamespace* self, ValaField* f); | | void vala_namespace_add_field (ValaNamespace* self, ValaField* f); | |
| void vala_namespace_add_method (ValaNamespace* self, ValaMethod* m); | | void vala_namespace_add_method (ValaNamespace* self, ValaMethod* m); | |
|
| char* vala_namespace_camel_case_to_lower_case (const char* camel_case); | | | |
| char* vala_namespace_get_cprefix (ValaNamespace* self); | | | |
| void vala_namespace_set_cprefix (ValaNamespace* self, const char* cprefix); | | void vala_namespace_set_cprefix (ValaNamespace* self, const char* cprefix); | |
|
| char* vala_namespace_get_lower_case_cprefix (ValaNamespace* self); | | | |
| void vala_namespace_set_lower_case_cprefix (ValaNamespace* self, const char
* cprefix); | | void vala_namespace_set_lower_case_cprefix (ValaNamespace* self, const char
* cprefix); | |
|
| GList* vala_namespace_get_cheader_filenames (ValaNamespace* self); | | | |
| char* vala_namespace_get_cheader_filename (ValaNamespace* self); | | char* vala_namespace_get_cheader_filename (ValaNamespace* self); | |
| void vala_namespace_set_cheader_filename (ValaNamespace* self, const char*
cheader_filename); | | void vala_namespace_set_cheader_filename (ValaNamespace* self, const char*
cheader_filename); | |
| void vala_namespace_process_attributes (ValaNamespace* self); | | void vala_namespace_process_attributes (ValaNamespace* self); | |
|
| char* vala_namespace_get_name (ValaNamespace* self); | | gboolean vala_namespace_get_pkg (ValaNamespace* self); | |
| void vala_namespace_set_name (ValaNamespace* self, const char* value); | | void vala_namespace_set_pkg (ValaNamespace* self, gboolean value); | |
| GType vala_namespace_get_type (); | | GType vala_namespace_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 11 change blocks. |
| 16 lines changed or deleted | | 14 lines changed or added | |
|
| valanamespacereference.h | | valanamespacereference.h | |
| /* valanamespacereference.vala | | /* valanamespacereference.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 54 | | skipping to change at line 54 | |
| * A reference to a namespace symbol. | | * A reference to a namespace symbol. | |
| */ | | */ | |
| struct _ValaNamespaceReference { | | struct _ValaNamespaceReference { | |
| ValaCodeNode parent; | | ValaCodeNode parent; | |
| ValaNamespaceReferencePrivate * priv; | | ValaNamespaceReferencePrivate * priv; | |
| }; | | }; | |
| struct _ValaNamespaceReferenceClass { | | struct _ValaNamespaceReferenceClass { | |
| ValaCodeNodeClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaNamespaceReference* vala_namespace_reference_new (const char* _name, Va
laSourceReference* source); | | ValaNamespaceReference* vala_namespace_reference_new (const char* name, Val
aSourceReference* source_reference); | |
| char* vala_namespace_reference_get_name (ValaNamespaceReference* self); | | char* vala_namespace_reference_get_name (ValaNamespaceReference* self); | |
| void vala_namespace_reference_set_name (ValaNamespaceReference* self, const
char* value); | | void vala_namespace_reference_set_name (ValaNamespaceReference* self, const
char* value); | |
| ValaSymbol* vala_namespace_reference_get_namespace_symbol (ValaNamespaceRef
erence* self); | | ValaSymbol* vala_namespace_reference_get_namespace_symbol (ValaNamespaceRef
erence* self); | |
| void vala_namespace_reference_set_namespace_symbol (ValaNamespaceReference*
self, ValaSymbol* value); | | void vala_namespace_reference_set_namespace_symbol (ValaNamespaceReference*
self, ValaSymbol* value); | |
|
| GType vala_namespace_reference_get_type (); | | GType vala_namespace_reference_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 | |
|
| valaobjectcreationexpression.h | | valaobjectcreationexpression.h | |
| | | | |
| 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 __VALAOBJECTCREATIONEXPRESSION_H__ | | #ifndef __VALAOBJECTCREATIONEXPRESSION_H__ | |
| #define __VALAOBJECTCREATIONEXPRESSION_H__ | | #define __VALAOBJECTCREATIONEXPRESSION_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/collection.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_OBJECT_CREATION_EXPRESSION (vala_object_creation_expressi
on_get_type ()) | | #define VALA_TYPE_OBJECT_CREATION_EXPRESSION (vala_object_creation_expressi
on_get_type ()) | |
| #define VALA_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((
obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpression)) | | #define VALA_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((
obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpression)) | |
| #define VALA_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CA
ST ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpres
sionClass)) | | #define VALA_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_CA
ST ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpres
sionClass)) | |
| #define VALA_IS_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE
((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | | #define VALA_IS_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE
((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | |
| #define VALA_IS_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS
_TYPE ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | | #define VALA_IS_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS
_TYPE ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | |
| | | | |
| skipping to change at line 53 | | skipping to change at line 54 | |
| * Represents an object creation expression in the source code. | | * Represents an object creation expression in the source code. | |
| */ | | */ | |
| struct _ValaObjectCreationExpression { | | struct _ValaObjectCreationExpression { | |
| ValaExpression parent; | | ValaExpression parent; | |
| ValaObjectCreationExpressionPrivate * priv; | | ValaObjectCreationExpressionPrivate * priv; | |
| }; | | }; | |
| struct _ValaObjectCreationExpressionClass { | | struct _ValaObjectCreationExpressionClass { | |
| ValaExpressionClass parent; | | ValaExpressionClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaObjectCreationExpression* vala_object_creation_expression_new (ValaMemb
erAccess* name, ValaSourceReference* source); | | ValaObjectCreationExpression* vala_object_creation_expression_new (ValaMemb
erAccess* member_name, ValaSourceReference* source_reference); | |
| void vala_object_creation_expression_add_argument (ValaObjectCreationExpres
sion* self, ValaExpression* arg); | | void vala_object_creation_expression_add_argument (ValaObjectCreationExpres
sion* self, ValaExpression* arg); | |
|
| GList* vala_object_creation_expression_get_argument_list (ValaObjectCreatio
nExpression* self); | | GeeCollection* vala_object_creation_expression_get_argument_list (ValaObjec
tCreationExpression* self); | |
| ValaTypeReference* vala_object_creation_expression_get_type_reference (Vala
ObjectCreationExpression* self); | | ValaTypeReference* vala_object_creation_expression_get_type_reference (Vala
ObjectCreationExpression* self); | |
| void vala_object_creation_expression_set_type_reference (ValaObjectCreation
Expression* self, ValaTypeReference* value); | | void vala_object_creation_expression_set_type_reference (ValaObjectCreation
Expression* self, ValaTypeReference* value); | |
| ValaMethod* vala_object_creation_expression_get_constructor (ValaObjectCrea
tionExpression* self); | | ValaMethod* vala_object_creation_expression_get_constructor (ValaObjectCrea
tionExpression* self); | |
| void vala_object_creation_expression_set_constructor (ValaObjectCreationExp
ression* self, ValaMethod* value); | | void vala_object_creation_expression_set_constructor (ValaObjectCreationExp
ression* self, ValaMethod* value); | |
| ValaMemberAccess* vala_object_creation_expression_get_member_name (ValaObje
ctCreationExpression* self); | | ValaMemberAccess* vala_object_creation_expression_get_member_name (ValaObje
ctCreationExpression* self); | |
| void vala_object_creation_expression_set_member_name (ValaObjectCreationExp
ression* self, ValaMemberAccess* value); | | void vala_object_creation_expression_set_member_name (ValaObjectCreationExp
ression* self, ValaMemberAccess* value); | |
|
| GType vala_object_creation_expression_get_type (); | | GType vala_object_creation_expression_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 3 lines changed or deleted | | 4 lines changed or added | |
|
| valaproperty.h | | valaproperty.h | |
| | | | |
| skipping to change at line 63 | | skipping to change at line 63 | |
| }; | | }; | |
| struct _ValaPropertyClass { | | struct _ValaPropertyClass { | |
| ValaMemberClass parent; | | ValaMemberClass parent; | |
| }; | | }; | |
| | | | |
| ValaProperty* vala_property_new (const char* _name, ValaTypeReference* type
, ValaPropertyAccessor* _get_accessor, ValaPropertyAccessor* _set_accessor,
ValaSourceReference* source); | | ValaProperty* vala_property_new (const char* _name, ValaTypeReference* type
, ValaPropertyAccessor* _get_accessor, ValaPropertyAccessor* _set_accessor,
ValaSourceReference* source); | |
| char* vala_property_get_upper_case_cname (ValaProperty* self); | | char* vala_property_get_upper_case_cname (ValaProperty* self); | |
| ValaCCodeConstant* vala_property_get_canonical_cconstant (ValaProperty* sel
f); | | ValaCCodeConstant* vala_property_get_canonical_cconstant (ValaProperty* sel
f); | |
| void vala_property_process_attributes (ValaProperty* self); | | void vala_property_process_attributes (ValaProperty* self); | |
| gboolean vala_property_equals (ValaProperty* self, ValaProperty* prop2); | | gboolean vala_property_equals (ValaProperty* self, ValaProperty* prop2); | |
|
| char* vala_property_get_name (ValaProperty* self); | | | |
| void vala_property_set_name (ValaProperty* self, const char* value); | | | |
| ValaTypeReference* vala_property_get_type_reference (ValaProperty* self); | | ValaTypeReference* vala_property_get_type_reference (ValaProperty* self); | |
| void vala_property_set_type_reference (ValaProperty* self, ValaTypeReferenc
e* value); | | void vala_property_set_type_reference (ValaProperty* self, ValaTypeReferenc
e* value); | |
| ValaPropertyAccessor* vala_property_get_get_accessor (ValaProperty* self); | | ValaPropertyAccessor* vala_property_get_get_accessor (ValaProperty* self); | |
| void vala_property_set_get_accessor (ValaProperty* self, ValaPropertyAccess
or* value); | | void vala_property_set_get_accessor (ValaProperty* self, ValaPropertyAccess
or* value); | |
| ValaPropertyAccessor* vala_property_get_set_accessor (ValaProperty* self); | | ValaPropertyAccessor* vala_property_get_set_accessor (ValaProperty* self); | |
| void vala_property_set_set_accessor (ValaProperty* self, ValaPropertyAccess
or* value); | | void vala_property_set_set_accessor (ValaProperty* self, ValaPropertyAccess
or* value); | |
| ValaMemberAccessibility vala_property_get_access (ValaProperty* self); | | ValaMemberAccessibility vala_property_get_access (ValaProperty* self); | |
| void vala_property_set_access (ValaProperty* self, ValaMemberAccessibility
value); | | void vala_property_set_access (ValaProperty* self, ValaMemberAccessibility
value); | |
| ValaFormalParameter* vala_property_get_this_parameter (ValaProperty* self); | | ValaFormalParameter* vala_property_get_this_parameter (ValaProperty* self); | |
| void vala_property_set_this_parameter (ValaProperty* self, ValaFormalParame
ter* value); | | void vala_property_set_this_parameter (ValaProperty* self, ValaFormalParame
ter* value); | |
| | | | |
| skipping to change at line 89 | | skipping to change at line 87 | |
| 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); | |
| 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); | |
|
| GType vala_property_get_type (); | | GType vala_property_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 2 change blocks. |
| 3 lines changed or deleted | | 1 lines changed or added | |
|
| valapropertyaccessor.h | | valapropertyaccessor.h | |
| | | | |
| skipping to change at line 52 | | skipping to change at line 52 | |
| * Represents a get or set accessor of a property in the source code. | | * Represents a get or set accessor of a property in the source code. | |
| */ | | */ | |
| struct _ValaPropertyAccessor { | | struct _ValaPropertyAccessor { | |
| ValaCodeNode parent; | | ValaCodeNode parent; | |
| ValaPropertyAccessorPrivate * priv; | | ValaPropertyAccessorPrivate * priv; | |
| }; | | }; | |
| struct _ValaPropertyAccessorClass { | | struct _ValaPropertyAccessorClass { | |
| ValaCodeNodeClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaPropertyAccessor* vala_property_accessor_new (gboolean _readable, gbool | | ValaPropertyAccessor* vala_property_accessor_new (gboolean readable, gboole | |
| ean _writable, gboolean _construction, ValaStatement* _body, ValaSourceRefe | | an writable, gboolean construction, ValaBlock* body, ValaSourceReference* s | |
| rence* source); | | ource_reference); | |
| | | ValaProperty* vala_property_accessor_get_prop (ValaPropertyAccessor* self); | |
| | | 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); | |
|
| ValaStatement* vala_property_accessor_get_body (ValaPropertyAccessor* self) | | ValaBlock* vala_property_accessor_get_body (ValaPropertyAccessor* self); | |
| ; | | void vala_property_accessor_set_body (ValaPropertyAccessor* self, ValaBlock | |
| void vala_property_accessor_set_body (ValaPropertyAccessor* self, ValaState | | * value); | |
| ment* 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 (); | | GType vala_property_accessor_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 3 change blocks. |
| 8 lines changed or deleted | | 10 lines changed or added | |
|
| valareturnstatement.h | | valareturnstatement.h | |
| /* valareturnstatement.vala | | /* valareturnstatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 __VALARETURNSTATEMENT_H__ | | #ifndef __VALARETURNSTATEMENT_H__ | |
| #define __VALARETURNSTATEMENT_H__ | | #define __VALARETURNSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_RETURN_STATEMENT (vala_return_statement_get_type ()) | | #define VALA_TYPE_RETURN_STATEMENT (vala_return_statement_get_type ()) | |
| #define VALA_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA
_TYPE_RETURN_STATEMENT, ValaReturnStatement)) | | #define VALA_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA
_TYPE_RETURN_STATEMENT, ValaReturnStatement)) | |
| #define VALA_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass
), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass)) | | #define VALA_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass
), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass)) | |
| #define VALA_IS_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V
ALA_TYPE_RETURN_STATEMENT)) | | #define VALA_IS_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V
ALA_TYPE_RETURN_STATEMENT)) | |
| #define VALA_IS_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl
ass), VALA_TYPE_RETURN_STATEMENT)) | | #define VALA_IS_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl
ass), VALA_TYPE_RETURN_STATEMENT)) | |
| #define VALA_RETURN_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o
bj), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass)) | | #define VALA_RETURN_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o
bj), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass)) | |
| | | | |
| typedef struct _ValaReturnStatementPrivate ValaReturnStatementPrivate; | | typedef struct _ValaReturnStatementPrivate ValaReturnStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a return statement in the source code. | | * Represents a return statement in the source code. | |
| */ | | */ | |
| struct _ValaReturnStatement { | | struct _ValaReturnStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaReturnStatementPrivate * priv; | | ValaReturnStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaReturnStatementClass { | | struct _ValaReturnStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
| ValaReturnStatement* vala_return_statement_new (ValaExpression* result, Val
aSourceReference* source); | | ValaReturnStatement* vala_return_statement_new (ValaExpression* result, Val
aSourceReference* source); | |
| ValaExpression* vala_return_statement_get_return_expression (ValaReturnStat
ement* self); | | ValaExpression* vala_return_statement_get_return_expression (ValaReturnStat
ement* self); | |
| void vala_return_statement_set_return_expression (ValaReturnStatement* self
, ValaExpression* value); | | void vala_return_statement_set_return_expression (ValaReturnStatement* self
, ValaExpression* value); | |
|
| GType vala_return_statement_get_type (); | | GType vala_return_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 5 lines changed or deleted | | 5 lines changed or added | |
|
| valasemanticanalyzer.h | | valasemanticanalyzer.h | |
| | | | |
| 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> | |
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <rasa@gmx.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALASEMANTICANALYZER_H__ | | #ifndef __VALASEMANTICANALYZER_H__ | |
| #define __VALASEMANTICANALYZER_H__ | | #define __VALASEMANTICANALYZER_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/collection.h> | |
| #include <stdlib.h> | | #include <stdlib.h> | |
| #include <string.h> | | #include <string.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> | |
|
| #include <vala/valanamespace.h> | | | |
| #include <vala/valaclass.h> | | #include <vala/valaclass.h> | |
| #include <vala/valainterface.h> | | #include <vala/valainterface.h> | |
| #include <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
| #include <vala/valastruct.h> | | #include <vala/valastruct.h> | |
| #include <vala/valacallback.h> | | #include <vala/valacallback.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> | |
| | | | |
| skipping to change at line 73 | | skipping to change at line 73 | |
| #include <vala/valalockstatement.h> | | #include <vala/valalockstatement.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/valatypereference.h> | | #include <vala/valatypereference.h> | |
|
| #include <vala/valacodenode.h> | | | |
| #include <vala/valasymbol.h> | | #include <vala/valasymbol.h> | |
| #include <vala/valaparenthesizedexpression.h> | | #include <vala/valaparenthesizedexpression.h> | |
| #include <vala/valamemberaccess.h> | | #include <vala/valamemberaccess.h> | |
| #include <vala/valainvocationexpression.h> | | #include <vala/valainvocationexpression.h> | |
| #include <vala/valaexpression.h> | | #include <vala/valaexpression.h> | |
|
| | | #include <vala/valacodenode.h> | |
| #include <vala/valaelementaccess.h> | | #include <vala/valaelementaccess.h> | |
| #include <vala/valabaseaccess.h> | | #include <vala/valabaseaccess.h> | |
| #include <vala/valapostfixexpression.h> | | #include <vala/valapostfixexpression.h> | |
| #include <vala/valaobjectcreationexpression.h> | | #include <vala/valaobjectcreationexpression.h> | |
| #include <vala/valasizeofexpression.h> | | #include <vala/valasizeofexpression.h> | |
| #include <vala/valatypeofexpression.h> | | #include <vala/valatypeofexpression.h> | |
| #include <vala/valaunaryexpression.h> | | #include <vala/valaunaryexpression.h> | |
| #include <vala/valacastexpression.h> | | #include <vala/valacastexpression.h> | |
| #include <vala/valapointerindirection.h> | | #include <vala/valapointerindirection.h> | |
| #include <vala/valaaddressofexpression.h> | | #include <vala/valaaddressofexpression.h> | |
| | | | |
| skipping to change at line 123 | | skipping to change at line 123 | |
| ValaCodeVisitor parent; | | ValaCodeVisitor parent; | |
| ValaSemanticAnalyzerPrivate * priv; | | ValaSemanticAnalyzerPrivate * priv; | |
| }; | | }; | |
| struct _ValaSemanticAnalyzerClass { | | struct _ValaSemanticAnalyzerClass { | |
| ValaCodeVisitorClass parent; | | ValaCodeVisitorClass parent; | |
| }; | | }; | |
| | | | |
| ValaSemanticAnalyzer* vala_semantic_analyzer_new (gboolean manage_memory); | | ValaSemanticAnalyzer* vala_semantic_analyzer_new (gboolean manage_memory); | |
| void vala_semantic_analyzer_analyze (ValaSemanticAnalyzer* self, ValaCodeCo
ntext* context); | | void vala_semantic_analyzer_analyze (ValaSemanticAnalyzer* self, ValaCodeCo
ntext* context); | |
| ValaSymbol* vala_semantic_analyzer_symbol_lookup_inherited (ValaSymbol* sym
, const char* name); | | ValaSymbol* vala_semantic_analyzer_symbol_lookup_inherited (ValaSymbol* sym
, const char* name); | |
|
| | | ValaTypeReference* vala_semantic_analyzer_get_actual_type (ValaTypeReferenc
e* derived_instance_type, ValaSymbol* generic_member, ValaTypeReference* ge
neric_type, ValaCodeNode* node_reference); | |
| gboolean vala_semantic_analyzer_get_memory_management (ValaSemanticAnalyzer
* self); | | gboolean vala_semantic_analyzer_get_memory_management (ValaSemanticAnalyzer
* self); | |
| void vala_semantic_analyzer_set_memory_management (ValaSemanticAnalyzer* se
lf, gboolean value); | | void vala_semantic_analyzer_set_memory_management (ValaSemanticAnalyzer* se
lf, gboolean value); | |
|
| GType vala_semantic_analyzer_get_type (); | | GType vala_semantic_analyzer_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 3 lines changed or deleted | | 4 lines changed or added | |
|
| valasignal.h | | valasignal.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 __VALASIGNAL_H__ | | #ifndef __VALASIGNAL_H__ | |
| #define __VALASIGNAL_H__ | | #define __VALASIGNAL_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 <ccode/valaccodeconstant.h> | | #include <ccode/valaccodeconstant.h> | |
| #include <vala/valamember.h> | | #include <vala/valamember.h> | |
| #include <vala/valainvokable.h> | | #include <vala/valainvokable.h> | |
| #include <vala/valalockable.h> | | #include <vala/valalockable.h> | |
| #include <vala/valamemberaccessibility.h> | | #include <vala/valamemberaccessibility.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_SIGNAL (vala_signal_get_type ()) | | #define VALA_TYPE_SIGNAL (vala_signal_get_type ()) | |
| | | | |
| skipping to change at line 59 | | skipping to change at line 60 | |
| * Represents an object signal. Signals enable objects to provide notificat
ions. | | * Represents an object signal. Signals enable objects to provide notificat
ions. | |
| */ | | */ | |
| struct _ValaSignal { | | struct _ValaSignal { | |
| ValaMember parent; | | ValaMember parent; | |
| ValaSignalPrivate * priv; | | ValaSignalPrivate * priv; | |
| }; | | }; | |
| struct _ValaSignalClass { | | struct _ValaSignalClass { | |
| ValaMemberClass parent; | | ValaMemberClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaSignal* vala_signal_new (const char* _name, ValaTypeReference* _return_
type, ValaSourceReference* source); | | ValaSignal* vala_signal_new (const char* name, ValaTypeReference* return_ty
pe, ValaSourceReference* source_reference); | |
| void vala_signal_add_parameter (ValaSignal* self, ValaFormalParameter* para
m); | | void vala_signal_add_parameter (ValaSignal* self, ValaFormalParameter* para
m); | |
| ValaCallback* vala_signal_get_callback (ValaSignal* self); | | ValaCallback* vala_signal_get_callback (ValaSignal* self); | |
| char* vala_signal_get_cname (ValaSignal* self); | | char* vala_signal_get_cname (ValaSignal* self); | |
| void vala_signal_set_cname (ValaSignal* self, const char* cname); | | void vala_signal_set_cname (ValaSignal* self, const char* cname); | |
| ValaCCodeConstant* vala_signal_get_canonical_cconstant (ValaSignal* self); | | ValaCCodeConstant* vala_signal_get_canonical_cconstant (ValaSignal* self); | |
| void vala_signal_process_attributes (ValaSignal* self); | | void vala_signal_process_attributes (ValaSignal* self); | |
|
| char* vala_signal_get_name (ValaSignal* self); | | | |
| void vala_signal_set_name (ValaSignal* self, const char* value); | | | |
| ValaTypeReference* vala_signal_get_return_type (ValaSignal* self); | | ValaTypeReference* vala_signal_get_return_type (ValaSignal* self); | |
| void vala_signal_set_return_type (ValaSignal* self, ValaTypeReference* valu
e); | | void vala_signal_set_return_type (ValaSignal* self, ValaTypeReference* valu
e); | |
| ValaMemberAccessibility vala_signal_get_access (ValaSignal* self); | | ValaMemberAccessibility vala_signal_get_access (ValaSignal* self); | |
| void vala_signal_set_access (ValaSignal* self, ValaMemberAccessibility valu
e); | | void vala_signal_set_access (ValaSignal* self, ValaMemberAccessibility valu
e); | |
| gboolean vala_signal_get_has_emitter (ValaSignal* self); | | gboolean vala_signal_get_has_emitter (ValaSignal* self); | |
| void vala_signal_set_has_emitter (ValaSignal* self, gboolean value); | | void vala_signal_set_has_emitter (ValaSignal* self, gboolean value); | |
|
| GType vala_signal_get_type (); | | GType vala_signal_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 4 lines changed or deleted | | 3 lines changed or added | |
|
| valasourcefile.h | | valasourcefile.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 __VALASOURCEFILE_H__ | | #ifndef __VALASOURCEFILE_H__ | |
| #define __VALASOURCEFILE_H__ | | #define __VALASOURCEFILE_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 <vala/valasourcefile.h> | | #include <vala/valasourcefile.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_SOURCE_FILE (vala_source_file_get_type ()) | | #define VALA_TYPE_SOURCE_FILE (vala_source_file_get_type ()) | |
| #define VALA_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE
_SOURCE_FILE, ValaSourceFile)) | | #define VALA_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE
_SOURCE_FILE, ValaSourceFile)) | |
| #define VALA_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA
LA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | | #define VALA_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA
LA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | |
| #define VALA_IS_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T
YPE_SOURCE_FILE)) | | #define VALA_IS_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T
YPE_SOURCE_FILE)) | |
| #define VALA_IS_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_SOURCE_FILE)) | | #define VALA_IS_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass),
VALA_TYPE_SOURCE_FILE)) | |
| | | | |
| skipping to change at line 60 | | skipping to change at line 61 | |
| }; | | }; | |
| struct _ValaSourceFileClass { | | struct _ValaSourceFileClass { | |
| GObjectClass parent; | | GObjectClass parent; | |
| }; | | }; | |
| typedef enum { | | typedef enum { | |
| VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_FULL, | | VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_FULL, | |
| VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_SHALLOW, | | VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_SHALLOW, | |
| VALA_SOURCE_FILE_DEPENDENCY_TYPE_SOURCE | | VALA_SOURCE_FILE_DEPENDENCY_TYPE_SOURCE | |
| } ValaSourceFileDependencyType; | | } ValaSourceFileDependencyType; | |
| | | | |
|
| ValaSourceFile* vala_source_file_new (ValaCodeContext* _context, const char
* _filename, gboolean _pkg); | | ValaSourceFile* vala_source_file_new (ValaCodeContext* context, const char*
filename, gboolean pkg); | |
| void vala_source_file_add_using_directive (ValaSourceFile* self, ValaNamesp
aceReference* ns); | | void vala_source_file_add_using_directive (ValaSourceFile* self, ValaNamesp
aceReference* ns); | |
|
| GList* vala_source_file_get_using_directives (ValaSourceFile* self); | | GeeCollection* vala_source_file_get_using_directives (ValaSourceFile* self) | |
| void vala_source_file_add_namespace (ValaSourceFile* self, ValaNamespace* n | | ; | |
| s); | | void vala_source_file_add_node (ValaSourceFile* self, ValaCodeNode* node); | |
| ValaNamespace* vala_source_file_get_global_namespace (ValaSourceFile* self) | | GeeCollection* vala_source_file_get_nodes (ValaSourceFile* self); | |
| ; | | | |
| GList* vala_source_file_get_namespaces (ValaSourceFile* self); | | | |
| void vala_source_file_accept (ValaSourceFile* self, ValaCodeVisitor* visito
r); | | void vala_source_file_accept (ValaSourceFile* self, ValaCodeVisitor* visito
r); | |
| void vala_source_file_accept_children (ValaSourceFile* self, ValaCodeVisito
r* visitor); | | void vala_source_file_accept_children (ValaSourceFile* self, ValaCodeVisito
r* visitor); | |
| char* vala_source_file_get_cheader_filename (ValaSourceFile* self); | | char* vala_source_file_get_cheader_filename (ValaSourceFile* self); | |
| char* vala_source_file_get_csource_filename (ValaSourceFile* self); | | char* vala_source_file_get_csource_filename (ValaSourceFile* self); | |
| char* vala_source_file_get_cinclude_filename (ValaSourceFile* self); | | char* vala_source_file_get_cinclude_filename (ValaSourceFile* self); | |
| void vala_source_file_add_symbol_dependency (ValaSourceFile* self, ValaSymb
ol* sym, ValaSourceFileDependencyType dep_type); | | void vala_source_file_add_symbol_dependency (ValaSourceFile* self, ValaSymb
ol* sym, ValaSourceFileDependencyType dep_type); | |
|
| GList* vala_source_file_get_header_external_includes (ValaSourceFile* self)
; | | GeeCollection* vala_source_file_get_header_external_includes (ValaSourceFil
e* self); | |
| void vala_source_file_add_header_internal_include (ValaSourceFile* self, co
nst char* include); | | void vala_source_file_add_header_internal_include (ValaSourceFile* self, co
nst char* include); | |
|
| GList* vala_source_file_get_header_internal_includes (ValaSourceFile* self) | | GeeCollection* vala_source_file_get_header_internal_includes (ValaSourceFil | |
| ; | | e* self); | |
| GList* vala_source_file_get_source_external_includes (ValaSourceFile* self) | | GeeCollection* vala_source_file_get_source_external_includes (ValaSourceFil | |
| ; | | e* self); | |
| GList* vala_source_file_get_source_internal_includes (ValaSourceFile* self) | | GeeCollection* vala_source_file_get_source_internal_includes (ValaSourceFil | |
| ; | | e* self); | |
| GList* vala_source_file_get_header_internal_full_dependencies (ValaSourceFi | | GeeCollection* vala_source_file_get_header_internal_full_dependencies (Vala | |
| le* self); | | SourceFile* self); | |
| GList* vala_source_file_get_header_internal_dependencies (ValaSourceFile* s | | GeeCollection* vala_source_file_get_header_internal_dependencies (ValaSourc | |
| elf); | | eFile* self); | |
| char* vala_source_file_get_filename (ValaSourceFile* self); | | char* vala_source_file_get_filename (ValaSourceFile* self); | |
| void vala_source_file_set_filename (ValaSourceFile* self, const char* value
); | | void vala_source_file_set_filename (ValaSourceFile* self, const char* value
); | |
| char* vala_source_file_get_comment (ValaSourceFile* self); | | char* vala_source_file_get_comment (ValaSourceFile* self); | |
| void vala_source_file_set_comment (ValaSourceFile* self, const char* value)
; | | void vala_source_file_set_comment (ValaSourceFile* self, const char* value)
; | |
| gboolean vala_source_file_get_pkg (ValaSourceFile* self); | | gboolean vala_source_file_get_pkg (ValaSourceFile* self); | |
| void vala_source_file_set_pkg (ValaSourceFile* self, gboolean value); | | void vala_source_file_set_pkg (ValaSourceFile* self, gboolean value); | |
| ValaSourceFileCycle* vala_source_file_get_cycle (ValaSourceFile* self); | | ValaSourceFileCycle* vala_source_file_get_cycle (ValaSourceFile* self); | |
| void vala_source_file_set_cycle (ValaSourceFile* self, ValaSourceFileCycle*
value); | | void vala_source_file_set_cycle (ValaSourceFile* self, ValaSourceFileCycle*
value); | |
| gboolean vala_source_file_get_is_cycle_head (ValaSourceFile* self); | | gboolean vala_source_file_get_is_cycle_head (ValaSourceFile* self); | |
| void vala_source_file_set_is_cycle_head (ValaSourceFile* self, gboolean val
ue); | | void vala_source_file_set_is_cycle_head (ValaSourceFile* self, gboolean val
ue); | |
| gint vala_source_file_get_mark (ValaSourceFile* self); | | gint vala_source_file_get_mark (ValaSourceFile* self); | |
| void vala_source_file_set_mark (ValaSourceFile* self, gint value); | | void vala_source_file_set_mark (ValaSourceFile* self, gint value); | |
| ValaCodeContext* vala_source_file_get_context (ValaSourceFile* self); | | ValaCodeContext* vala_source_file_get_context (ValaSourceFile* self); | |
| void vala_source_file_set_context (ValaSourceFile* self, ValaCodeContext* v
alue); | | void vala_source_file_set_context (ValaSourceFile* self, ValaCodeContext* v
alue); | |
|
| GType vala_source_file_get_type (); | | GType vala_source_file_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 19 lines changed or deleted | | 18 lines changed or added | |
|
| valasourcefilecycle.h | | valasourcefilecycle.h | |
| /* valasourcefilecycle.vala | | /* valasourcefilecycle.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 __VALASOURCEFILECYCLE_H__ | | #ifndef __VALASOURCEFILECYCLE_H__ | |
| #define __VALASOURCEFILECYCLE_H__ | | #define __VALASOURCEFILECYCLE_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/list.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_SOURCE_FILE_CYCLE (vala_source_file_cycle_get_type ()) | | #define VALA_TYPE_SOURCE_FILE_CYCLE (vala_source_file_cycle_get_type ()) | |
| #define VALA_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL
A_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycle)) | | #define VALA_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VAL
A_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycle)) | |
| #define VALA_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas
s), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass)) | | #define VALA_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klas
s), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass)) | |
| #define VALA_IS_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_SOURCE_FILE_CYCLE)) | | #define VALA_IS_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj),
VALA_TYPE_SOURCE_FILE_CYCLE)) | |
| #define VALA_IS_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k
lass), VALA_TYPE_SOURCE_FILE_CYCLE)) | | #define VALA_IS_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k
lass), VALA_TYPE_SOURCE_FILE_CYCLE)) | |
| #define VALA_SOURCE_FILE_CYCLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((
obj), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass)) | | #define VALA_SOURCE_FILE_CYCLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((
obj), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass)) | |
| | | | |
| typedef struct _ValaSourceFileCyclePrivate ValaSourceFileCyclePrivate; | | typedef struct _ValaSourceFileCyclePrivate ValaSourceFileCyclePrivate; | |
| | | | |
| /** | | /** | |
| * Represents a dependency cycle of source files. | | * Represents a dependency cycle of source files. | |
| */ | | */ | |
| struct _ValaSourceFileCycle { | | struct _ValaSourceFileCycle { | |
| GObject parent; | | GObject parent; | |
| ValaSourceFileCyclePrivate * priv; | | ValaSourceFileCyclePrivate * priv; | |
|
| GList* files; | | GeeList* files; | |
| ValaSourceFile* head; | | ValaSourceFile* head; | |
| }; | | }; | |
| struct _ValaSourceFileCycleClass { | | struct _ValaSourceFileCycleClass { | |
| GObjectClass parent; | | GObjectClass parent; | |
| }; | | }; | |
| | | | |
|
| GType vala_source_file_cycle_get_type (); | | GType vala_source_file_cycle_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 3 lines changed or deleted | | 4 lines changed or added | |
|
| valastruct.h | | valastruct.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 __VALASTRUCT_H__ | | #ifndef __VALASTRUCT_H__ | |
| #define __VALASTRUCT_H__ | | #define __VALASTRUCT_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 <vala/valadatatype.h> | | #include <vala/valadatatype.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_STRUCT (vala_struct_get_type ()) | | #define VALA_TYPE_STRUCT (vala_struct_get_type ()) | |
| #define VALA_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_STRU
CT, ValaStruct)) | | #define VALA_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_STRU
CT, ValaStruct)) | |
| #define VALA_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_STRUCT, ValaStructClass)) | | #define VALA_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_STRUCT, ValaStructClass)) | |
| #define VALA_IS_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S
TRUCT)) | | #define VALA_IS_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S
TRUCT)) | |
| #define VALA_IS_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_STRUCT)) | | #define VALA_IS_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_STRUCT)) | |
| | | | |
| skipping to change at line 55 | | skipping to change at line 56 | |
| * Represents a struct declaration in the source code. | | * Represents a struct declaration in the source code. | |
| */ | | */ | |
| struct _ValaStruct { | | struct _ValaStruct { | |
| ValaDataType parent; | | ValaDataType parent; | |
| ValaStructPrivate * priv; | | ValaStructPrivate * priv; | |
| }; | | }; | |
| struct _ValaStructClass { | | struct _ValaStructClass { | |
| ValaDataTypeClass parent; | | ValaDataTypeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaStruct* vala_struct_new (const char* _name, ValaSourceReference* source
); | | ValaStruct* vala_struct_new (const char* name, ValaSourceReference* source_
reference); | |
| void vala_struct_add_type_parameter (ValaStruct* self, ValaTypeParameter* p
); | | void vala_struct_add_type_parameter (ValaStruct* self, ValaTypeParameter* p
); | |
| void vala_struct_add_constant (ValaStruct* self, ValaConstant* c); | | void vala_struct_add_constant (ValaStruct* self, ValaConstant* c); | |
| void vala_struct_add_field (ValaStruct* self, ValaField* f); | | void vala_struct_add_field (ValaStruct* self, ValaField* f); | |
|
| GList* vala_struct_get_fields (ValaStruct* self); | | GeeCollection* vala_struct_get_fields (ValaStruct* self); | |
| void vala_struct_add_method (ValaStruct* self, ValaMethod* m); | | void vala_struct_add_method (ValaStruct* self, ValaMethod* m); | |
|
| GList* vala_struct_get_methods (ValaStruct* self); | | GeeCollection* vala_struct_get_methods (ValaStruct* self); | |
| gboolean vala_struct_is_integer_type (ValaStruct* self); | | gboolean vala_struct_is_integer_type (ValaStruct* self); | |
| gboolean vala_struct_is_floating_type (ValaStruct* self); | | gboolean vala_struct_is_floating_type (ValaStruct* self); | |
| gint vala_struct_get_rank (ValaStruct* self); | | gint vala_struct_get_rank (ValaStruct* self); | |
| void vala_struct_set_is_reference_type (ValaStruct* self, gboolean ref_type
); | | void vala_struct_set_is_reference_type (ValaStruct* self, gboolean ref_type
); | |
| void vala_struct_process_attributes (ValaStruct* self); | | void vala_struct_process_attributes (ValaStruct* self); | |
| void vala_struct_set_dup_function (ValaStruct* self, const char* name); | | void vala_struct_set_dup_function (ValaStruct* self, const char* name); | |
| void vala_struct_set_type_id (ValaStruct* self, const char* name); | | void vala_struct_set_type_id (ValaStruct* self, const char* name); | |
| void vala_struct_add_base_type (ValaStruct* self, ValaTypeReference* type); | | void vala_struct_add_base_type (ValaStruct* self, ValaTypeReference* type); | |
|
| GList* vala_struct_get_base_types (ValaStruct* self); | | GeeCollection* vala_struct_get_base_types (ValaStruct* self); | |
| ValaMethod* vala_struct_get_default_construction_method (ValaStruct* self); | | ValaMethod* vala_struct_get_default_construction_method (ValaStruct* self); | |
| void vala_struct_set_default_construction_method (ValaStruct* self, ValaMet
hod* value); | | void vala_struct_set_default_construction_method (ValaStruct* self, ValaMet
hod* value); | |
|
| GType vala_struct_get_type (); | | GType vala_struct_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 5 lines changed or deleted | | 6 lines changed or added | |
|
| valaswitchsection.h | | valaswitchsection.h | |
| | | | |
| 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 __VALASWITCHSECTION_H__ | | #ifndef __VALASWITCHSECTION_H__ | |
| #define __VALASWITCHSECTION_H__ | | #define __VALASWITCHSECTION_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| | | #include <gee/collection.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_SWITCH_SECTION (vala_switch_section_get_type ()) | | #define VALA_TYPE_SWITCH_SECTION (vala_switch_section_get_type ()) | |
| #define VALA_SWITCH_SECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_SWITCH_SECTION, ValaSwitchSection)) | | #define VALA_SWITCH_SECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_SWITCH_SECTION, ValaSwitchSection)) | |
| #define VALA_SWITCH_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_SWITCH_SECTION, ValaSwitchSectionClass)) | | #define VALA_SWITCH_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_SWITCH_SECTION, ValaSwitchSectionClass)) | |
| #define VALA_IS_SWITCH_SECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_SWITCH_SECTION)) | | #define VALA_IS_SWITCH_SECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_SWITCH_SECTION)) | |
| #define VALA_IS_SWITCH_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_SWITCH_SECTION)) | | #define VALA_IS_SWITCH_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_SWITCH_SECTION)) | |
| #define VALA_SWITCH_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj
), VALA_TYPE_SWITCH_SECTION, ValaSwitchSectionClass)) | | #define VALA_SWITCH_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj
), VALA_TYPE_SWITCH_SECTION, ValaSwitchSectionClass)) | |
| | | | |
| skipping to change at line 52 | | skipping to change at line 53 | |
| * Represents a switch section in the source code. | | * Represents a switch section in the source code. | |
| */ | | */ | |
| struct _ValaSwitchSection { | | struct _ValaSwitchSection { | |
| ValaCodeNode parent; | | ValaCodeNode parent; | |
| ValaSwitchSectionPrivate * priv; | | ValaSwitchSectionPrivate * priv; | |
| }; | | }; | |
| struct _ValaSwitchSectionClass { | | struct _ValaSwitchSectionClass { | |
| ValaCodeNodeClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaSwitchSection* vala_switch_section_new (ValaSourceReference* source); | | ValaSwitchSection* vala_switch_section_new (ValaSourceReference* source_ref
erence); | |
| void vala_switch_section_add_label (ValaSwitchSection* self, ValaSwitchLabe
l* label); | | void vala_switch_section_add_label (ValaSwitchSection* self, ValaSwitchLabe
l* label); | |
|
| GList* vala_switch_section_get_labels (ValaSwitchSection* self); | | GeeCollection* vala_switch_section_get_labels (ValaSwitchSection* self); | |
| gboolean vala_switch_section_has_default_label (ValaSwitchSection* self); | | gboolean vala_switch_section_has_default_label (ValaSwitchSection* self); | |
| void vala_switch_section_add_statement (ValaSwitchSection* self, ValaStatem
ent* stmt); | | void vala_switch_section_add_statement (ValaSwitchSection* self, ValaStatem
ent* stmt); | |
|
| GList* vala_switch_section_get_statements (ValaSwitchSection* self); | | GeeCollection* vala_switch_section_get_statements (ValaSwitchSection* self) | |
| GType vala_switch_section_get_type (); | | ; | |
| | | GType vala_switch_section_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 4 lines changed or deleted | | 6 lines changed or added | |
|
| valaswitchstatement.h | | valaswitchstatement.h | |
| | | | |
| 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 __VALASWITCHSTATEMENT_H__ | | #ifndef __VALASWITCHSTATEMENT_H__ | |
| #define __VALASWITCHSTATEMENT_H__ | | #define __VALASWITCHSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | #include <gee/collection.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_SWITCH_STATEMENT (vala_switch_statement_get_type ()) | | #define VALA_TYPE_SWITCH_STATEMENT (vala_switch_statement_get_type ()) | |
| #define VALA_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA
_TYPE_SWITCH_STATEMENT, ValaSwitchStatement)) | | #define VALA_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA
_TYPE_SWITCH_STATEMENT, ValaSwitchStatement)) | |
| #define VALA_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass
), VALA_TYPE_SWITCH_STATEMENT, ValaSwitchStatementClass)) | | #define VALA_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass
), VALA_TYPE_SWITCH_STATEMENT, ValaSwitchStatementClass)) | |
| #define VALA_IS_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V
ALA_TYPE_SWITCH_STATEMENT)) | | #define VALA_IS_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V
ALA_TYPE_SWITCH_STATEMENT)) | |
| #define VALA_IS_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl
ass), VALA_TYPE_SWITCH_STATEMENT)) | | #define VALA_IS_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl
ass), VALA_TYPE_SWITCH_STATEMENT)) | |
| #define VALA_SWITCH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o
bj), VALA_TYPE_SWITCH_STATEMENT, ValaSwitchStatementClass)) | | #define VALA_SWITCH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o
bj), VALA_TYPE_SWITCH_STATEMENT, ValaSwitchStatementClass)) | |
| | | | |
| typedef struct _ValaSwitchStatementPrivate ValaSwitchStatementPrivate; | | typedef struct _ValaSwitchStatementPrivate ValaSwitchStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a switch selection statement in the source code. | | * Represents a switch selection statement in the source code. | |
| */ | | */ | |
| struct _ValaSwitchStatement { | | struct _ValaSwitchStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaSwitchStatementPrivate * priv; | | ValaSwitchStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaSwitchStatementClass { | | struct _ValaSwitchStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaSwitchStatement* vala_switch_statement_new (ValaExpression* expr, ValaS
ourceReference* source); | | ValaSwitchStatement* vala_switch_statement_new (ValaExpression* expression,
ValaSourceReference* source_reference); | |
| void vala_switch_statement_add_section (ValaSwitchStatement* self, ValaSwit
chSection* section); | | void vala_switch_statement_add_section (ValaSwitchStatement* self, ValaSwit
chSection* section); | |
|
| GList* vala_switch_statement_get_sections (ValaSwitchStatement* self); | | GeeCollection* vala_switch_statement_get_sections (ValaSwitchStatement* sel
f); | |
| ValaExpression* vala_switch_statement_get_expression (ValaSwitchStatement*
self); | | ValaExpression* vala_switch_statement_get_expression (ValaSwitchStatement*
self); | |
| void vala_switch_statement_set_expression (ValaSwitchStatement* self, ValaE
xpression* value); | | void vala_switch_statement_set_expression (ValaSwitchStatement* self, ValaE
xpression* value); | |
|
| GType vala_switch_statement_get_type (); | | GType vala_switch_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 7 change blocks. |
| 6 lines changed or deleted | | 7 lines changed or added | |
|
| valasymbol.h | | valasymbol.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 __VALASYMBOL_H__ | | #ifndef __VALASYMBOL_H__ | |
| #define __VALASYMBOL_H__ | | #define __VALASYMBOL_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 <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_SYMBOL (vala_symbol_get_type ()) | | #define VALA_TYPE_SYMBOL (vala_symbol_get_type ()) | |
| #define VALA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SYMB
OL, ValaSymbol)) | | #define VALA_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SYMB
OL, ValaSymbol)) | |
| #define VALA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_SYMBOL, ValaSymbolClass)) | | #define VALA_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY
PE_SYMBOL, ValaSymbolClass)) | |
| #define VALA_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S
YMBOL)) | | #define VALA_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S
YMBOL)) | |
| #define VALA_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_SYMBOL)) | | #define VALA_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA
_TYPE_SYMBOL)) | |
| #define VALA_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_
TYPE_SYMBOL, ValaSymbolClass)) | | #define VALA_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_
TYPE_SYMBOL, ValaSymbolClass)) | |
| | | | |
| typedef struct _ValaSymbolPrivate ValaSymbolPrivate; | | typedef struct _ValaSymbolPrivate ValaSymbolPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a node in the symbol tree. | | * Represents a node in the symbol tree. | |
| */ | | */ | |
| struct _ValaSymbol { | | struct _ValaSymbol { | |
|
| GObject parent; | | ValaCodeNode parent; | |
| ValaSymbolPrivate * priv; | | ValaSymbolPrivate * priv; | |
| }; | | }; | |
| struct _ValaSymbolClass { | | struct _ValaSymbolClass { | |
|
| GObjectClass parent; | | ValaCodeNodeClass parent; | |
| | | char* (*get_cprefix) (ValaSymbol* self); | |
| | | char* (*get_lower_case_cname) (ValaSymbol* self, const char* infix); | |
| | | char* (*get_lower_case_cprefix) (ValaSymbol* self); | |
| | | GeeCollection* (*get_cheader_filenames) (ValaSymbol* self); | |
| }; | | }; | |
| | | | |
|
| ValaSymbol* vala_symbol_new (ValaCodeNode* _node); | | | |
| char* vala_symbol_get_full_name (ValaSymbol* self); | | char* vala_symbol_get_full_name (ValaSymbol* self); | |
|
| void vala_symbol_add (ValaSymbol* self, const char* name, ValaSymbol* sym); | | char* vala_symbol_get_cprefix (ValaSymbol* self); | |
| ValaSymbol* vala_symbol_lookup (ValaSymbol* self, const char* name); | | char* vala_symbol_get_lower_case_cname (ValaSymbol* self, const char* infix | |
| ValaCodeNode* vala_symbol_get_node (ValaSymbol* self); | | ); | |
| void vala_symbol_set_node (ValaSymbol* self, ValaCodeNode* value); | | char* vala_symbol_get_lower_case_cprefix (ValaSymbol* self); | |
| | | GeeCollection* vala_symbol_get_cheader_filenames (ValaSymbol* self); | |
| | | char* vala_symbol_camel_case_to_lower_case (const char* camel_case); | |
| ValaSymbol* vala_symbol_get_parent_symbol (ValaSymbol* self); | | ValaSymbol* vala_symbol_get_parent_symbol (ValaSymbol* self); | |
|
| void vala_symbol_set_parent_symbol (ValaSymbol* self, ValaSymbol* value); | | ValaScope* vala_symbol_get_owner (ValaSymbol* self); | |
| | | void vala_symbol_set_owner (ValaSymbol* self, ValaScope* value); | |
| char* vala_symbol_get_name (ValaSymbol* self); | | char* vala_symbol_get_name (ValaSymbol* self); | |
| void vala_symbol_set_name (ValaSymbol* self, const char* value); | | void vala_symbol_set_name (ValaSymbol* self, const char* value); | |
| gboolean vala_symbol_get_active (ValaSymbol* self); | | gboolean vala_symbol_get_active (ValaSymbol* self); | |
| void vala_symbol_set_active (ValaSymbol* self, gboolean value); | | void vala_symbol_set_active (ValaSymbol* self, gboolean value); | |
|
| GType vala_symbol_get_type (); | | ValaScope* vala_symbol_get_scope (ValaSymbol* self); | |
| | | GType vala_symbol_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 7 change blocks. |
| 9 lines changed or deleted | | 17 lines changed or added | |
|
| valathrowstatement.h | | valathrowstatement.h | |
| | | | |
| 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 __VALATHROWSTATEMENT_H__ | | #ifndef __VALATHROWSTATEMENT_H__ | |
| #define __VALATHROWSTATEMENT_H__ | | #define __VALATHROWSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_THROW_STATEMENT (vala_throw_statement_get_type ()) | | #define VALA_TYPE_THROW_STATEMENT (vala_throw_statement_get_type ()) | |
| #define VALA_THROW_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_THROW_STATEMENT, ValaThrowStatement)) | | #define VALA_THROW_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_THROW_STATEMENT, ValaThrowStatement)) | |
| #define VALA_THROW_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_THROW_STATEMENT, ValaThrowStatementClass)) | | #define VALA_THROW_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_THROW_STATEMENT, ValaThrowStatementClass)) | |
| #define VALA_IS_THROW_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_THROW_STATEMENT)) | | #define VALA_IS_THROW_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_THROW_STATEMENT)) | |
| #define VALA_IS_THROW_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_THROW_STATEMENT)) | | #define VALA_IS_THROW_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_THROW_STATEMENT)) | |
| #define VALA_THROW_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_THROW_STATEMENT, ValaThrowStatementClass)) | | #define VALA_THROW_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_THROW_STATEMENT, ValaThrowStatementClass)) | |
| | | | |
| typedef struct _ValaThrowStatementPrivate ValaThrowStatementPrivate; | | typedef struct _ValaThrowStatementPrivate ValaThrowStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a throw statement in the source code. | | * Represents a throw statement in the source code. | |
| */ | | */ | |
| struct _ValaThrowStatement { | | struct _ValaThrowStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaThrowStatementPrivate * priv; | | ValaThrowStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaThrowStatementClass { | | struct _ValaThrowStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
| ValaThrowStatement* vala_throw_statement_new (ValaExpression* error_express
ion, ValaSourceReference* source_reference); | | ValaThrowStatement* vala_throw_statement_new (ValaExpression* error_express
ion, ValaSourceReference* source_reference); | |
| ValaExpression* vala_throw_statement_get_error_expression (ValaThrowStateme
nt* self); | | ValaExpression* vala_throw_statement_get_error_expression (ValaThrowStateme
nt* self); | |
| void vala_throw_statement_set_error_expression (ValaThrowStatement* self, V
alaExpression* value); | | void vala_throw_statement_set_error_expression (ValaThrowStatement* self, V
alaExpression* value); | |
|
| GType vala_throw_statement_get_type (); | | GType vala_throw_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 5 change blocks. |
| 4 lines changed or deleted | | 4 lines changed or added | |
|
| valatrystatement.h | | valatrystatement.h | |
| | | | |
| 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 __VALATRYSTATEMENT_H__ | | #ifndef __VALATRYSTATEMENT_H__ | |
| #define __VALATRYSTATEMENT_H__ | | #define __VALATRYSTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | #include <gee/collection.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.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)) | |
| #define VALA_TRY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj)
, VALA_TYPE_TRY_STATEMENT, ValaTryStatementClass)) | | #define VALA_TRY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj)
, VALA_TYPE_TRY_STATEMENT, ValaTryStatementClass)) | |
| | | | |
| typedef struct _ValaTryStatementPrivate ValaTryStatementPrivate; | | typedef struct _ValaTryStatementPrivate ValaTryStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a try statement in the source code. | | * Represents a try statement in the source code. | |
| */ | | */ | |
| struct _ValaTryStatement { | | struct _ValaTryStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaTryStatementPrivate * priv; | | ValaTryStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaTryStatementClass { | | struct _ValaTryStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
| 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); | |
|
| GList* vala_try_statement_get_catch_clauses (ValaTryStatement* self); | | GeeCollection* 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 (); | | GType vala_try_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 5 lines changed or deleted | | 6 lines changed or added | |
|
| valatypeparameter.h | | valatypeparameter.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 __VALATYPEPARAMETER_H__ | | #ifndef __VALATYPEPARAMETER_H__ | |
| #define __VALATYPEPARAMETER_H__ | | #define __VALATYPEPARAMETER_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/valasymbol.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_TYPE_PARAMETER (vala_type_parameter_get_type ()) | | #define VALA_TYPE_TYPE_PARAMETER (vala_type_parameter_get_type ()) | |
| #define VALA_TYPE_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_TYPE_PARAMETER, ValaTypeParameter)) | | #define VALA_TYPE_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_TYPE_PARAMETER, ValaTypeParameter)) | |
| #define VALA_TYPE_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_TYPE_PARAMETER, ValaTypeParameterClass)) | | #define VALA_TYPE_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_TYPE_PARAMETER, ValaTypeParameterClass)) | |
| #define VALA_IS_TYPE_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_TYPE_PARAMETER)) | | #define VALA_IS_TYPE_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_TYPE_PARAMETER)) | |
| #define VALA_IS_TYPE_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_TYPE_PARAMETER)) | | #define VALA_IS_TYPE_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_TYPE_PARAMETER)) | |
| #define VALA_TYPE_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj
), VALA_TYPE_TYPE_PARAMETER, ValaTypeParameterClass)) | | #define VALA_TYPE_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj
), VALA_TYPE_TYPE_PARAMETER, ValaTypeParameterClass)) | |
| | | | |
| typedef struct _ValaTypeParameterPrivate ValaTypeParameterPrivate; | | typedef struct _ValaTypeParameterPrivate ValaTypeParameterPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a generic type parameter in the source code. | | * Represents a generic type parameter in the source code. | |
| */ | | */ | |
| struct _ValaTypeParameter { | | struct _ValaTypeParameter { | |
|
| ValaCodeNode parent; | | ValaSymbol parent; | |
| ValaTypeParameterPrivate * priv; | | ValaTypeParameterPrivate * priv; | |
| ValaDataType* type; | | ValaDataType* type; | |
| }; | | }; | |
| struct _ValaTypeParameterClass { | | struct _ValaTypeParameterClass { | |
|
| ValaCodeNodeClass parent; | | ValaSymbolClass parent; | |
| }; | | }; | |
| | | | |
| ValaTypeParameter* vala_type_parameter_new (const char* _name, ValaSourceRe
ference* source); | | ValaTypeParameter* vala_type_parameter_new (const char* _name, ValaSourceRe
ference* source); | |
| ValaArray* vala_type_parameter_get_array (ValaTypeParameter* self, gint ran
k); | | ValaArray* vala_type_parameter_get_array (ValaTypeParameter* self, gint ran
k); | |
| gboolean vala_type_parameter_equals (ValaTypeParameter* self, ValaTypeParam
eter* param2); | | gboolean vala_type_parameter_equals (ValaTypeParameter* self, ValaTypeParam
eter* param2); | |
|
| char* vala_type_parameter_get_name (ValaTypeParameter* self); | | GType vala_type_parameter_get_type (void); | |
| void vala_type_parameter_set_name (ValaTypeParameter* self, const char* val | | | |
| ue); | | | |
| GType vala_type_parameter_get_type (); | | | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 6 lines changed or deleted | | 4 lines changed or added | |
|
| valatypereference.h | | valatypereference.h | |
| | | | |
| skipping to change at line 35 | | skipping to change at line 35 | |
| * Raffaele Sandrini <rasa@gmx.ch> | | * Raffaele Sandrini <rasa@gmx.ch> | |
| */ | | */ | |
| | | | |
| #ifndef __VALATYPEREFERENCE_H__ | | #ifndef __VALATYPEREFERENCE_H__ | |
| #define __VALATYPEREFERENCE_H__ | | #define __VALATYPEREFERENCE_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/list.h> | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_TYPE_REFERENCE (vala_type_reference_get_type ()) | | #define VALA_TYPE_TYPE_REFERENCE (vala_type_reference_get_type ()) | |
| #define VALA_TYPE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_TYPE_REFERENCE, ValaTypeReference)) | | #define VALA_TYPE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T
YPE_TYPE_REFERENCE, ValaTypeReference)) | |
| #define VALA_TYPE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_TYPE_REFERENCE, ValaTypeReferenceClass)) | | #define VALA_TYPE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass),
VALA_TYPE_TYPE_REFERENCE, ValaTypeReferenceClass)) | |
| #define VALA_IS_TYPE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_TYPE_REFERENCE)) | | #define VALA_IS_TYPE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL
A_TYPE_TYPE_REFERENCE)) | |
| #define VALA_IS_TYPE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_TYPE_REFERENCE)) | | #define VALA_IS_TYPE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas
s), VALA_TYPE_TYPE_REFERENCE)) | |
| #define VALA_TYPE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj
), VALA_TYPE_TYPE_REFERENCE, ValaTypeReferenceClass)) | | #define VALA_TYPE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj
), VALA_TYPE_TYPE_REFERENCE, ValaTypeReferenceClass)) | |
| | | | |
| skipping to change at line 60 | | skipping to change at line 61 | |
| * expressions. | | * expressions. | |
| */ | | */ | |
| struct _ValaTypeReference { | | struct _ValaTypeReference { | |
| ValaCodeNode parent; | | ValaCodeNode parent; | |
| ValaTypeReferencePrivate * priv; | | ValaTypeReferencePrivate * priv; | |
| }; | | }; | |
| struct _ValaTypeReferenceClass { | | struct _ValaTypeReferenceClass { | |
| ValaCodeNodeClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaTypeReference* vala_type_reference_new (); | | ValaTypeReference* vala_type_reference_new (void); | |
| ValaTypeReference* vala_type_reference_new_from_name (const char* ns, const
char* type, ValaSourceReference* source); | | ValaTypeReference* vala_type_reference_new_from_name (const char* ns, const
char* type, ValaSourceReference* source); | |
| ValaTypeReference* vala_type_reference_new_from_expression (ValaExpression*
expr); | | ValaTypeReference* vala_type_reference_new_from_expression (ValaExpression*
expr); | |
| void vala_type_reference_add_type_argument (ValaTypeReference* self, ValaTy
peReference* arg); | | void vala_type_reference_add_type_argument (ValaTypeReference* self, ValaTy
peReference* arg); | |
|
| GList* vala_type_reference_get_type_arguments (ValaTypeReference* self); | | GeeList* vala_type_reference_get_type_arguments (ValaTypeReference* self); | |
| void vala_type_reference_remove_all_type_arguments (ValaTypeReference* self
); | | void vala_type_reference_remove_all_type_arguments (ValaTypeReference* self
); | |
| char* vala_type_reference_get_cname (ValaTypeReference* self, gboolean var_
type, gboolean const_type); | | char* vala_type_reference_get_cname (ValaTypeReference* self, gboolean var_
type, gboolean const_type); | |
| char* vala_type_reference_get_const_cname (ValaTypeReference* self); | | char* vala_type_reference_get_const_cname (ValaTypeReference* self); | |
| char* vala_type_reference_to_string (ValaTypeReference* self); | | char* vala_type_reference_to_string (ValaTypeReference* self); | |
| ValaTypeReference* vala_type_reference_copy (ValaTypeReference* self); | | ValaTypeReference* vala_type_reference_copy (ValaTypeReference* self); | |
| gboolean vala_type_reference_equals (ValaTypeReference* self, ValaTypeRefer
ence* type2); | | gboolean vala_type_reference_equals (ValaTypeReference* self, ValaTypeRefer
ence* type2); | |
| gboolean vala_type_reference_stricter (ValaTypeReference* self, ValaTypeRef
erence* type2); | | gboolean vala_type_reference_stricter (ValaTypeReference* self, ValaTypeRef
erence* type2); | |
| gboolean vala_type_reference_get_transfers_ownership (ValaTypeReference* se
lf); | | gboolean vala_type_reference_get_transfers_ownership (ValaTypeReference* se
lf); | |
| void vala_type_reference_set_transfers_ownership (ValaTypeReference* self,
gboolean value); | | void vala_type_reference_set_transfers_ownership (ValaTypeReference* self,
gboolean value); | |
| gboolean vala_type_reference_get_takes_ownership (ValaTypeReference* self); | | gboolean vala_type_reference_get_takes_ownership (ValaTypeReference* self); | |
| | | | |
| skipping to change at line 100 | | skipping to change at line 101 | |
| char* vala_type_reference_get_type_name (ValaTypeReference* self); | | char* vala_type_reference_get_type_name (ValaTypeReference* self); | |
| void vala_type_reference_set_type_name (ValaTypeReference* self, const char
* value); | | void vala_type_reference_set_type_name (ValaTypeReference* self, const char
* value); | |
| gint vala_type_reference_get_array_rank (ValaTypeReference* self); | | gint vala_type_reference_get_array_rank (ValaTypeReference* self); | |
| void vala_type_reference_set_array_rank (ValaTypeReference* self, gint valu
e); | | void vala_type_reference_set_array_rank (ValaTypeReference* self, gint valu
e); | |
| gint vala_type_reference_get_pointer_level (ValaTypeReference* self); | | gint vala_type_reference_get_pointer_level (ValaTypeReference* self); | |
| void vala_type_reference_set_pointer_level (ValaTypeReference* self, gint v
alue); | | void vala_type_reference_set_pointer_level (ValaTypeReference* self, gint v
alue); | |
| gboolean vala_type_reference_get_is_ref (ValaTypeReference* self); | | gboolean vala_type_reference_get_is_ref (ValaTypeReference* self); | |
| void vala_type_reference_set_is_ref (ValaTypeReference* self, gboolean valu
e); | | void vala_type_reference_set_is_ref (ValaTypeReference* self, gboolean valu
e); | |
| gboolean vala_type_reference_get_is_weak (ValaTypeReference* self); | | gboolean vala_type_reference_get_is_weak (ValaTypeReference* self); | |
| void vala_type_reference_set_is_weak (ValaTypeReference* self, gboolean val
ue); | | void vala_type_reference_set_is_weak (ValaTypeReference* self, gboolean val
ue); | |
|
| GType vala_type_reference_get_type (); | | GType vala_type_reference_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 4 change blocks. |
| 3 lines changed or deleted | | 4 lines changed or added | |
|
| valavariabledeclarator.h | | valavariabledeclarator.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 __VALAVARIABLEDECLARATOR_H__ | | #ifndef __VALAVARIABLEDECLARATOR_H__ | |
| #define __VALAVARIABLEDECLARATOR_H__ | | #define __VALAVARIABLEDECLARATOR_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/valacodenode.h> | | #include <gee/collection.h> | |
| | | #include <vala/valasymbol.h> | |
| #include <vala/valainvokable.h> | | #include <vala/valainvokable.h> | |
|
| | | #include <vala/valacodenode.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_VARIABLE_DECLARATOR (vala_variable_declarator_get_type ()
) | | #define VALA_TYPE_VARIABLE_DECLARATOR (vala_variable_declarator_get_type ()
) | |
| #define VALA_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V
ALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclarator)) | | #define VALA_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V
ALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclarator)) | |
| #define VALA_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl
ass), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | | #define VALA_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl
ass), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | |
| #define VALA_IS_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj)
, VALA_TYPE_VARIABLE_DECLARATOR)) | | #define VALA_IS_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj)
, VALA_TYPE_VARIABLE_DECLARATOR)) | |
| #define VALA_IS_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (
(klass), VALA_TYPE_VARIABLE_DECLARATOR)) | | #define VALA_IS_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (
(klass), VALA_TYPE_VARIABLE_DECLARATOR)) | |
| #define VALA_VARIABLE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS
((obj), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | | #define VALA_VARIABLE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS
((obj), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | |
| | | | |
| typedef struct _ValaVariableDeclaratorPrivate ValaVariableDeclaratorPrivate
; | | typedef struct _ValaVariableDeclaratorPrivate ValaVariableDeclaratorPrivate
; | |
| | | | |
| /** | | /** | |
| * Represents a variable declarator in the source code. | | * Represents a variable declarator in the source code. | |
| */ | | */ | |
| struct _ValaVariableDeclarator { | | struct _ValaVariableDeclarator { | |
|
| ValaCodeNode parent; | | ValaSymbol parent; | |
| ValaVariableDeclaratorPrivate * priv; | | ValaVariableDeclaratorPrivate * priv; | |
| }; | | }; | |
| struct _ValaVariableDeclaratorClass { | | struct _ValaVariableDeclaratorClass { | |
|
| ValaCodeNodeClass parent; | | ValaSymbolClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaVariableDeclarator* vala_variable_declarator_new (const char* _name, Va | | ValaVariableDeclarator* vala_variable_declarator_new (const char* name, Val | |
| laExpression* init, ValaSourceReference* source); | | aExpression* initializer, ValaSourceReference* source_reference); | |
| char* vala_variable_declarator_get_name (ValaVariableDeclarator* self); | | | |
| void vala_variable_declarator_set_name (ValaVariableDeclarator* self, const | | | |
| char* value); | | | |
| ValaExpression* vala_variable_declarator_get_initializer (ValaVariableDecla
rator* self); | | ValaExpression* vala_variable_declarator_get_initializer (ValaVariableDecla
rator* self); | |
| void vala_variable_declarator_set_initializer (ValaVariableDeclarator* self
, ValaExpression* value); | | void vala_variable_declarator_set_initializer (ValaVariableDeclarator* self
, ValaExpression* value); | |
| ValaTypeReference* vala_variable_declarator_get_type_reference (ValaVariabl
eDeclarator* self); | | ValaTypeReference* vala_variable_declarator_get_type_reference (ValaVariabl
eDeclarator* self); | |
| void vala_variable_declarator_set_type_reference (ValaVariableDeclarator* s
elf, ValaTypeReference* value); | | void vala_variable_declarator_set_type_reference (ValaVariableDeclarator* s
elf, ValaTypeReference* value); | |
|
| GType vala_variable_declarator_get_type (); | | GType vala_variable_declarator_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 6 change blocks. |
| 9 lines changed or deleted | | 8 lines changed or added | |
|
| valawhilestatement.h | | valawhilestatement.h | |
| /* valawhilestatement.vala | | /* valawhilestatement.vala | |
| * | | * | |
|
| * Copyright (C) 2006 Jürg Billeter | | * Copyright (C) 2006-2007 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 of the License, or (at your option) any later version. | | * version 2 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 __VALAWHILESTATEMENT_H__ | | #ifndef __VALAWHILESTATEMENT_H__ | |
| #define __VALAWHILESTATEMENT_H__ | | #define __VALAWHILESTATEMENT_H__ | |
| | | | |
| #include <glib.h> | | #include <glib.h> | |
| #include <glib-object.h> | | #include <glib-object.h> | |
|
| #include <vala/valastatement.h> | | | |
| #include <vala/valacodenode.h> | | #include <vala/valacodenode.h> | |
|
| | | #include <vala/valastatement.h> | |
| | | | |
| G_BEGIN_DECLS | | G_BEGIN_DECLS | |
| | | | |
| #define VALA_TYPE_WHILE_STATEMENT (vala_while_statement_get_type ()) | | #define VALA_TYPE_WHILE_STATEMENT (vala_while_statement_get_type ()) | |
| #define VALA_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_WHILE_STATEMENT, ValaWhileStatement)) | | #define VALA_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_
TYPE_WHILE_STATEMENT, ValaWhileStatement)) | |
| #define VALA_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_WHILE_STATEMENT, ValaWhileStatementClass)) | | #define VALA_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass)
, VALA_TYPE_WHILE_STATEMENT, ValaWhileStatementClass)) | |
| #define VALA_IS_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_WHILE_STATEMENT)) | | #define VALA_IS_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA
LA_TYPE_WHILE_STATEMENT)) | |
| #define VALA_IS_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_WHILE_STATEMENT)) | | #define VALA_IS_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla
ss), VALA_TYPE_WHILE_STATEMENT)) | |
| #define VALA_WHILE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_WHILE_STATEMENT, ValaWhileStatementClass)) | | #define VALA_WHILE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob
j), VALA_TYPE_WHILE_STATEMENT, ValaWhileStatementClass)) | |
| | | | |
| typedef struct _ValaWhileStatementPrivate ValaWhileStatementPrivate; | | typedef struct _ValaWhileStatementPrivate ValaWhileStatementPrivate; | |
| | | | |
| /** | | /** | |
| * Represents a while iteration statement in the source code. | | * Represents a while iteration statement in the source code. | |
| */ | | */ | |
| struct _ValaWhileStatement { | | struct _ValaWhileStatement { | |
|
| ValaStatement parent; | | ValaCodeNode parent; | |
| ValaWhileStatementPrivate * priv; | | ValaWhileStatementPrivate * priv; | |
| }; | | }; | |
| struct _ValaWhileStatementClass { | | struct _ValaWhileStatementClass { | |
|
| ValaStatementClass parent; | | ValaCodeNodeClass parent; | |
| }; | | }; | |
| | | | |
|
| ValaWhileStatement* vala_while_statement_new (ValaExpression* cond, ValaSta
tement* _body, ValaSourceReference* source); | | ValaWhileStatement* vala_while_statement_new (ValaExpression* condition, Va
laBlock* body, ValaSourceReference* source_reference); | |
| ValaExpression* vala_while_statement_get_condition (ValaWhileStatement* sel
f); | | ValaExpression* vala_while_statement_get_condition (ValaWhileStatement* sel
f); | |
| void vala_while_statement_set_condition (ValaWhileStatement* self, ValaExpr
ession* value); | | void vala_while_statement_set_condition (ValaWhileStatement* self, ValaExpr
ession* value); | |
|
| ValaStatement* vala_while_statement_get_body (ValaWhileStatement* self); | | ValaBlock* vala_while_statement_get_body (ValaWhileStatement* self); | |
| void vala_while_statement_set_body (ValaWhileStatement* self, ValaStatement | | void vala_while_statement_set_body (ValaWhileStatement* self, ValaBlock* va | |
| * value); | | lue); | |
| GType vala_while_statement_get_type (); | | GType vala_while_statement_get_type (void); | |
| | | | |
| G_END_DECLS | | G_END_DECLS | |
| | | | |
| #endif | | #endif | |
| | | | |
End of changes. 7 change blocks. |
| 9 lines changed or deleted | | 9 lines changed or added | |
|