iterator.h | iterator.h | |||
---|---|---|---|---|
/* iterator.vala | /* iterator.vala | |||
* | * | |||
* Copyright (C) 2007 Jürg Billeter | * Copyright (C) 2007-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
vala.h | vala.h | |||
---|---|---|---|---|
skipping to change at line 44 | skipping to change at line 44 | |||
#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> | |||
#include <vala/valalocalvariabledeclaration.h> | #include <vala/valalocalvariable.h> | |||
#include <vala/valalockstatement.h> | #include <vala/valalockstatement.h> | |||
#include <vala/valamemberaccess.h> | #include <vala/valamemberaccess.h> | |||
#include <vala/valamemberinitializer.h> | #include <vala/valamemberinitializer.h> | |||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valanamedargument.h> | #include <vala/valanamedargument.h> | |||
#include <vala/valanamespace.h> | #include <vala/valanamespace.h> | |||
#include <vala/valanamespacereference.h> | #include <vala/valanamespacereference.h> | |||
#include <vala/valanullliteral.h> | #include <vala/valanullliteral.h> | |||
#include <vala/valaobjectcreationexpression.h> | #include <vala/valaobjectcreationexpression.h> | |||
#include <vala/valaparenthesizedexpression.h> | #include <vala/valaparenthesizedexpression.h> | |||
skipping to change at line 84 | skipping to change at line 84 | |||
#include <vala/valaswitchstatement.h> | #include <vala/valaswitchstatement.h> | |||
#include <vala/valathrowstatement.h> | #include <vala/valathrowstatement.h> | |||
#include <vala/valatrystatement.h> | #include <vala/valatrystatement.h> | |||
#include <vala/valatypecheck.h> | #include <vala/valatypecheck.h> | |||
#include <vala/valatypeofexpression.h> | #include <vala/valatypeofexpression.h> | |||
#include <vala/valatypeparameter.h> | #include <vala/valatypeparameter.h> | |||
#include <vala/valatypesymbol.h> | #include <vala/valatypesymbol.h> | |||
#include <vala/valaunaryexpression.h> | #include <vala/valaunaryexpression.h> | |||
#include <vala/valaunresolvedsymbol.h> | #include <vala/valaunresolvedsymbol.h> | |||
#include <vala/valaunresolvedtype.h> | #include <vala/valaunresolvedtype.h> | |||
#include <vala/valavariabledeclarator.h> | ||||
#include <vala/valavoidtype.h> | #include <vala/valavoidtype.h> | |||
#include <vala/valawhilestatement.h> | #include <vala/valawhilestatement.h> | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 1 lines changed or added | |||
valaarraycreationexpression.h | valaarraycreationexpression.h | |||
---|---|---|---|---|
/* valaarraycreationexpression.vala | /* valaarraycreationexpression.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Raffaele Sandrini, Jürg Billeter | * Copyright (C) 2006-2008 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.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 32 | skipping to change at line 32 | |||
*/ | */ | |||
#ifndef __VALA_VALAARRAYCREATIONEXPRESSION_H__ | #ifndef __VALA_VALAARRAYCREATIONEXPRESSION_H__ | |||
#define __VALA_VALAARRAYCREATIONEXPRESSION_H__ | #define __VALA_VALAARRAYCREATIONEXPRESSION_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <gee/list.h> | #include <gee/list.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valacodebinding.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)) | |||
#define VALA_ARRAY_CREATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpress ionClass)) | #define VALA_ARRAY_CREATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpress ionClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
valaassignment.h | valaassignment.h | |||
---|---|---|---|---|
skipping to change at line 30 | skipping to change at line 30 | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALA_VALAASSIGNMENT_H__ | #ifndef __VALA_VALAASSIGNMENT_H__ | |||
#define __VALA_VALAASSIGNMENT_H__ | #define __VALA_VALAASSIGNMENT_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valacodebinding.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ASSIGNMENT (vala_assignment_get_type ()) | #define VALA_TYPE_ASSIGNMENT (vala_assignment_get_type ()) | |||
#define VALA_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ ASSIGNMENT, ValaAssignment)) | #define VALA_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ ASSIGNMENT, ValaAssignment)) | |||
#define VALA_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_ASSIGNMENT, ValaAssignmentClass)) | #define VALA_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_ASSIGNMENT, ValaAssignmentClass)) | |||
#define VALA_IS_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_ASSIGNMENT)) | #define VALA_IS_ASSIGNMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_ASSIGNMENT)) | |||
#define VALA_IS_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ASSIGNMENT)) | #define VALA_IS_ASSIGNMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ASSIGNMENT)) | |||
#define VALA_ASSIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_ASSIGNMENT, ValaAssignmentClass)) | #define VALA_ASSIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_ASSIGNMENT, ValaAssignmentClass)) | |||
skipping to change at line 57 | skipping to change at line 58 | |||
* Supports =, |=, &=, ^=, +=, -=, *=, /=, %=, <<=, >>=. | * Supports =, |=, &=, ^=, +=, -=, *=, /=, %=, <<=, >>=. | |||
*/ | */ | |||
struct _ValaAssignment { | struct _ValaAssignment { | |||
ValaExpression parent_instance; | ValaExpression parent_instance; | |||
ValaAssignmentPrivate * priv; | ValaAssignmentPrivate * priv; | |||
}; | }; | |||
struct _ValaAssignmentClass { | struct _ValaAssignmentClass { | |||
ValaExpressionClass parent_class; | ValaExpressionClass parent_class; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_ASSIGNMENT_OPERATOR_NONE, | ||||
VALA_ASSIGNMENT_OPERATOR_SIMPLE, | VALA_ASSIGNMENT_OPERATOR_SIMPLE, | |||
VALA_ASSIGNMENT_OPERATOR_BITWISE_OR, | VALA_ASSIGNMENT_OPERATOR_BITWISE_OR, | |||
VALA_ASSIGNMENT_OPERATOR_BITWISE_AND, | VALA_ASSIGNMENT_OPERATOR_BITWISE_AND, | |||
VALA_ASSIGNMENT_OPERATOR_BITWISE_XOR, | VALA_ASSIGNMENT_OPERATOR_BITWISE_XOR, | |||
VALA_ASSIGNMENT_OPERATOR_ADD, | VALA_ASSIGNMENT_OPERATOR_ADD, | |||
VALA_ASSIGNMENT_OPERATOR_SUB, | VALA_ASSIGNMENT_OPERATOR_SUB, | |||
VALA_ASSIGNMENT_OPERATOR_MUL, | VALA_ASSIGNMENT_OPERATOR_MUL, | |||
VALA_ASSIGNMENT_OPERATOR_DIV, | VALA_ASSIGNMENT_OPERATOR_DIV, | |||
VALA_ASSIGNMENT_OPERATOR_PERCENT, | VALA_ASSIGNMENT_OPERATOR_PERCENT, | |||
VALA_ASSIGNMENT_OPERATOR_SHIFT_LEFT, | VALA_ASSIGNMENT_OPERATOR_SHIFT_LEFT, | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||
valaattributeprocessor.h | valaattributeprocessor.h | |||
---|---|---|---|---|
skipping to change at line 37 | skipping to change at line 37 | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
#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/valaerrordomain.h> | ||||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valacreationmethod.h> | #include <vala/valacreationmethod.h> | |||
#include <vala/valaformalparameter.h> | #include <vala/valaformalparameter.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valadelegate.h> | #include <vala/valadelegate.h> | |||
#include <vala/valaconstant.h> | #include <vala/valaconstant.h> | |||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <vala/valasignal.h> | #include <vala/valasignal.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valabinaryexpression.h | valabinaryexpression.h | |||
---|---|---|---|---|
skipping to change at line 59 | skipping to change at line 59 | |||
* Supports +, -, *, /, %, <<, >>, <, >, <=, >=, ==, !=, &, |, ^, &&, ||. | * Supports +, -, *, /, %, <<, >>, <, >, <=, >=, ==, !=, &, |, ^, &&, ||. | |||
*/ | */ | |||
struct _ValaBinaryExpression { | struct _ValaBinaryExpression { | |||
ValaExpression parent_instance; | ValaExpression parent_instance; | |||
ValaBinaryExpressionPrivate * priv; | ValaBinaryExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaBinaryExpressionClass { | struct _ValaBinaryExpressionClass { | |||
ValaExpressionClass parent_class; | ValaExpressionClass parent_class; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_BINARY_OPERATOR_NONE, | ||||
VALA_BINARY_OPERATOR_PLUS, | VALA_BINARY_OPERATOR_PLUS, | |||
VALA_BINARY_OPERATOR_MINUS, | VALA_BINARY_OPERATOR_MINUS, | |||
VALA_BINARY_OPERATOR_MUL, | VALA_BINARY_OPERATOR_MUL, | |||
VALA_BINARY_OPERATOR_DIV, | VALA_BINARY_OPERATOR_DIV, | |||
VALA_BINARY_OPERATOR_MOD, | VALA_BINARY_OPERATOR_MOD, | |||
VALA_BINARY_OPERATOR_SHIFT_LEFT, | VALA_BINARY_OPERATOR_SHIFT_LEFT, | |||
VALA_BINARY_OPERATOR_SHIFT_RIGHT, | VALA_BINARY_OPERATOR_SHIFT_RIGHT, | |||
VALA_BINARY_OPERATOR_LESS_THAN, | VALA_BINARY_OPERATOR_LESS_THAN, | |||
VALA_BINARY_OPERATOR_GREATER_THAN, | VALA_BINARY_OPERATOR_GREATER_THAN, | |||
VALA_BINARY_OPERATOR_LESS_THAN_OR_EQUAL, | VALA_BINARY_OPERATOR_LESS_THAN_OR_EQUAL, | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valablock.h | valablock.h | |||
---|---|---|---|---|
/* valablock.vala | /* valablock.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 58 | skipping to change at line 58 | |||
ValaSymbol parent_instance; | ValaSymbol parent_instance; | |||
ValaBlockPrivate * priv; | ValaBlockPrivate * priv; | |||
}; | }; | |||
struct _ValaBlockClass { | struct _ValaBlockClass { | |||
ValaSymbolClass parent_class; | ValaSymbolClass parent_class; | |||
}; | }; | |||
ValaBlock* vala_block_new (ValaSourceReference* source_reference); | 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); | |||
GeeCollection* 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, ValaLocalVariable* loc al); | |||
GeeCollection* 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 (void); | GType vala_block_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valacatchclause.h | valacatchclause.h | |||
---|---|---|---|---|
skipping to change at line 54 | skipping to change at line 54 | |||
* Represents a catch clause in a try statement in the source code. | * Represents a catch clause in a try statement in the source code. | |||
*/ | */ | |||
struct _ValaCatchClause { | struct _ValaCatchClause { | |||
ValaCodeNode parent_instance; | ValaCodeNode parent_instance; | |||
ValaCatchClausePrivate * priv; | ValaCatchClausePrivate * priv; | |||
}; | }; | |||
struct _ValaCatchClauseClass { | struct _ValaCatchClauseClass { | |||
ValaCodeNodeClass parent_class; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCatchClause* vala_catch_clause_new (ValaDataType* type_reference, const | ValaCatchClause* vala_catch_clause_new (ValaDataType* error_type, const cha | |||
char* variable_name, ValaBlock* body, ValaSourceReference* source_referenc | r* variable_name, ValaBlock* body, ValaSourceReference* source_reference); | |||
e); | ValaDataType* vala_catch_clause_get_error_type (ValaCatchClause* self); | |||
ValaDataType* vala_catch_clause_get_type_reference (ValaCatchClause* self); | void vala_catch_clause_set_error_type (ValaCatchClause* self, ValaDataType* | |||
void vala_catch_clause_set_type_reference (ValaCatchClause* self, ValaDataT | value); | |||
ype* value); | ||||
char* vala_catch_clause_get_variable_name (ValaCatchClause* self); | char* vala_catch_clause_get_variable_name (ValaCatchClause* self); | |||
void vala_catch_clause_set_variable_name (ValaCatchClause* self, const char * value); | void vala_catch_clause_set_variable_name (ValaCatchClause* self, const char * value); | |||
ValaBlock* vala_catch_clause_get_body (ValaCatchClause* self); | ValaBlock* vala_catch_clause_get_body (ValaCatchClause* self); | |||
void vala_catch_clause_set_body (ValaCatchClause* self, ValaBlock* value); | void vala_catch_clause_set_body (ValaCatchClause* self, ValaBlock* value); | |||
ValaVariableDeclarator* vala_catch_clause_get_variable_declarator (ValaCatc | ValaLocalVariable* vala_catch_clause_get_error_variable (ValaCatchClause* s | |||
hClause* self); | elf); | |||
void vala_catch_clause_set_variable_declarator (ValaCatchClause* self, Vala | void vala_catch_clause_set_error_variable (ValaCatchClause* self, ValaLocal | |||
VariableDeclarator* value); | Variable* value); | |||
GType vala_catch_clause_get_type (void); | GType vala_catch_clause_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
10 lines changed or deleted | 9 lines changed or added | |||
valaccodearraycreationexpressionbinding.h | valaccodearraycreationexpressionbinding.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 <raffaele@sandrini.ch> | * Raffaele Sandrini <raffaele@sandrini.ch> | |||
*/ | */ | |||
#ifndef __GOBJECT_VALACCODEARRAYCREATIONEXPRESSIONBINDING_H__ | #ifndef __GOBJECT_VALACCODEARRAYCREATIONEXPRESSIONBINDING_H__ | |||
#define __GOBJECT_VALACCODEARRAYCREATIONEXPRESSIONBINDING_H__ | #define __GOBJECT_VALACCODEARRAYCREATIONEXPRESSIONBINDING_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodegenerator.h> | ||||
#include <vala/valaarraycreationexpression.h> | #include <vala/valaarraycreationexpression.h> | |||
#include <gobject/valaccodeexpressionbinding.h> | #include <gobject/valaccodeexpressionbinding.h> | |||
#include <gobject/valaccodebinding.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDING (vala_ccode_array _creation_expression_binding_get_type ()) | #define VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDING (vala_ccode_array _creation_expression_binding_get_type ()) | |||
#define VALA_CCODE_ARRAY_CREATION_EXPRESSION_BINDING(obj) (G_TYPE_CHECK_INS TANCE_CAST ((obj), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDING, ValaC CodeArrayCreationExpressionBinding)) | #define VALA_CCODE_ARRAY_CREATION_EXPRESSION_BINDING(obj) (G_TYPE_CHECK_INS TANCE_CAST ((obj), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDING, ValaC CodeArrayCreationExpressionBinding)) | |||
#define VALA_CCODE_ARRAY_CREATION_EXPRESSION_BINDING_CLASS(klass) (G_TYPE_C HECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDING , ValaCCodeArrayCreationExpressionBindingClass)) | #define VALA_CCODE_ARRAY_CREATION_EXPRESSION_BINDING_CLASS(klass) (G_TYPE_C HECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDING , ValaCCodeArrayCreationExpressionBindingClass)) | |||
#define VALA_IS_CCODE_ARRAY_CREATION_EXPRESSION_BINDING(obj) (G_TYPE_CHECK_ INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDING)) | #define VALA_IS_CCODE_ARRAY_CREATION_EXPRESSION_BINDING(obj) (G_TYPE_CHECK_ INSTANCE_TYPE ((obj), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDING)) | |||
#define VALA_IS_CCODE_ARRAY_CREATION_EXPRESSION_BINDING_CLASS(klass) (G_TYP E_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BIND ING)) | #define VALA_IS_CCODE_ARRAY_CREATION_EXPRESSION_BINDING_CLASS(klass) (G_TYP E_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BIND ING)) | |||
#define VALA_CCODE_ARRAY_CREATION_EXPRESSION_BINDING_GET_CLASS(obj) (G_TYPE _INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDI NG, ValaCCodeArrayCreationExpressionBindingClass)) | #define VALA_CCODE_ARRAY_CREATION_EXPRESSION_BINDING_GET_CLASS(obj) (G_TYPE _INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDI NG, ValaCCodeArrayCreationExpressionBindingClass)) | |||
typedef struct _ValaCCodeArrayCreationExpressionBinding ValaCCodeArrayCreat | ||||
ionExpressionBinding; | ||||
typedef struct _ValaCCodeArrayCreationExpressionBindingClass ValaCCodeArray | ||||
CreationExpressionBindingClass; | ||||
typedef struct _ValaCCodeArrayCreationExpressionBindingPrivate ValaCCodeArr ayCreationExpressionBindingPrivate; | typedef struct _ValaCCodeArrayCreationExpressionBindingPrivate ValaCCodeArr ayCreationExpressionBindingPrivate; | |||
/** | /** | |||
* The link between an assignment and generated code. | * The link between an assignment and generated code. | |||
*/ | */ | |||
struct _ValaCCodeArrayCreationExpressionBinding { | struct _ValaCCodeArrayCreationExpressionBinding { | |||
ValaCCodeExpressionBinding parent_instance; | ValaCCodeExpressionBinding parent_instance; | |||
ValaCCodeArrayCreationExpressionBindingPrivate * priv; | ValaCCodeArrayCreationExpressionBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeArrayCreationExpressionBindingClass { | struct _ValaCCodeArrayCreationExpressionBindingClass { | |||
ValaCCodeExpressionBindingClass parent_class; | ValaCCodeExpressionBindingClass parent_class; | |||
}; | }; | |||
ValaCCodeArrayCreationExpressionBinding* vala_ccode_array_creation_expressi on_binding_new (ValaCodeGenerator* codegen, ValaArrayCreationExpression* ar ray_creation_expression); | ValaCCodeArrayCreationExpressionBinding* vala_ccode_array_creation_expressi on_binding_new (ValaCCodeGenerator* codegen, ValaArrayCreationExpression* a rray_creation_expression); | |||
ValaArrayCreationExpression* vala_ccode_array_creation_expression_binding_g et_array_creation_expression (ValaCCodeArrayCreationExpressionBinding* self ); | ValaArrayCreationExpression* vala_ccode_array_creation_expression_binding_g et_array_creation_expression (ValaCCodeArrayCreationExpressionBinding* self ); | |||
void vala_ccode_array_creation_expression_binding_set_array_creation_expres sion (ValaCCodeArrayCreationExpressionBinding* self, ValaArrayCreationExpre ssion* value); | void vala_ccode_array_creation_expression_binding_set_array_creation_expres sion (ValaCCodeArrayCreationExpressionBinding* self, ValaArrayCreationExpre ssion* value); | |||
GType vala_ccode_array_creation_expression_binding_get_type (void); | GType vala_ccode_array_creation_expression_binding_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
6 lines changed or deleted | 2 lines changed or added | |||
valaccodeassignmentbinding.h | valaccodeassignmentbinding.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 <raffaele@sandrini.ch> | * Raffaele Sandrini <raffaele@sandrini.ch> | |||
*/ | */ | |||
#ifndef __GOBJECT_VALACCODEASSIGNMENTBINDING_H__ | #ifndef __GOBJECT_VALACCODEASSIGNMENTBINDING_H__ | |||
#define __GOBJECT_VALACCODEASSIGNMENTBINDING_H__ | #define __GOBJECT_VALACCODEASSIGNMENTBINDING_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodegenerator.h> | ||||
#include <vala/valaassignment.h> | #include <vala/valaassignment.h> | |||
#include <gobject/valaccodeexpressionbinding.h> | #include <gobject/valaccodeexpressionbinding.h> | |||
#include <gobject/valaccodebinding.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_ASSIGNMENT_BINDING (vala_ccode_assignment_binding_g et_type ()) | #define VALA_TYPE_CCODE_ASSIGNMENT_BINDING (vala_ccode_assignment_binding_g et_type ()) | |||
#define VALA_CCODE_ASSIGNMENT_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((ob j), VALA_TYPE_CCODE_ASSIGNMENT_BINDING, ValaCCodeAssignmentBinding)) | #define VALA_CCODE_ASSIGNMENT_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((ob j), VALA_TYPE_CCODE_ASSIGNMENT_BINDING, ValaCCodeAssignmentBinding)) | |||
#define VALA_CCODE_ASSIGNMENT_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_ASSIGNMENT_BINDING, ValaCCodeAssignmentBindingCl ass)) | #define VALA_CCODE_ASSIGNMENT_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_ASSIGNMENT_BINDING, ValaCCodeAssignmentBindingCl ass)) | |||
#define VALA_IS_CCODE_ASSIGNMENT_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ( (obj), VALA_TYPE_CCODE_ASSIGNMENT_BINDING)) | #define VALA_IS_CCODE_ASSIGNMENT_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ( (obj), VALA_TYPE_CCODE_ASSIGNMENT_BINDING)) | |||
#define VALA_IS_CCODE_ASSIGNMENT_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_T YPE ((klass), VALA_TYPE_CCODE_ASSIGNMENT_BINDING)) | #define VALA_IS_CCODE_ASSIGNMENT_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_T YPE ((klass), VALA_TYPE_CCODE_ASSIGNMENT_BINDING)) | |||
#define VALA_CCODE_ASSIGNMENT_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_ASSIGNMENT_BINDING, ValaCCodeAssignmentBinding Class)) | #define VALA_CCODE_ASSIGNMENT_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_ASSIGNMENT_BINDING, ValaCCodeAssignmentBinding Class)) | |||
typedef struct _ValaCCodeAssignmentBinding ValaCCodeAssignmentBinding; | ||||
typedef struct _ValaCCodeAssignmentBindingClass ValaCCodeAssignmentBindingC | ||||
lass; | ||||
typedef struct _ValaCCodeAssignmentBindingPrivate ValaCCodeAssignmentBindin gPrivate; | typedef struct _ValaCCodeAssignmentBindingPrivate ValaCCodeAssignmentBindin gPrivate; | |||
/** | /** | |||
* The link between an assignment and generated code. | * The link between an assignment and generated code. | |||
*/ | */ | |||
struct _ValaCCodeAssignmentBinding { | struct _ValaCCodeAssignmentBinding { | |||
ValaCCodeExpressionBinding parent_instance; | ValaCCodeExpressionBinding parent_instance; | |||
ValaCCodeAssignmentBindingPrivate * priv; | ValaCCodeAssignmentBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeAssignmentBindingClass { | struct _ValaCCodeAssignmentBindingClass { | |||
ValaCCodeExpressionBindingClass parent_class; | ValaCCodeExpressionBindingClass parent_class; | |||
}; | }; | |||
ValaCCodeAssignmentBinding* vala_ccode_assignment_binding_new (ValaCodeGene rator* codegen, ValaAssignment* assignment); | ValaCCodeAssignmentBinding* vala_ccode_assignment_binding_new (ValaCCodeGen erator* codegen, ValaAssignment* assignment); | |||
ValaAssignment* vala_ccode_assignment_binding_get_assignment (ValaCCodeAssi gnmentBinding* self); | ValaAssignment* vala_ccode_assignment_binding_get_assignment (ValaCCodeAssi gnmentBinding* self); | |||
void vala_ccode_assignment_binding_set_assignment (ValaCCodeAssignmentBindi ng* self, ValaAssignment* value); | void vala_ccode_assignment_binding_set_assignment (ValaCCodeAssignmentBindi ng* self, ValaAssignment* value); | |||
GType vala_ccode_assignment_binding_get_type (void); | GType vala_ccode_assignment_binding_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
5 lines changed or deleted | 2 lines changed or added | |||
valaccodebinding.h | valaccodebinding.h | |||
---|---|---|---|---|
/* valaccodebinding.vala | /* valaccodebinding.vala | |||
* | * | |||
* Copyright (C) 2007 Jürg Billeter | * Copyright (C) 2007-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 29 | skipping to change at line 29 | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __GOBJECT_VALACCODEBINDING_H__ | #ifndef __GOBJECT_VALACCODEBINDING_H__ | |||
#define __GOBJECT_VALACCODEBINDING_H__ | #define __GOBJECT_VALACCODEBINDING_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodebinding.h> | #include <vala/valacodebinding.h> | |||
#include <gobject/valaccodegenerator.h> | #include <ccode/valaccodeidentifier.h> | |||
#include <vala/valadatatype.h> | ||||
#include <ccode/valaccodeexpression.h> | ||||
#include <ccode/valaccodeconstant.h> | ||||
#include <vala/valacodenode.h> | ||||
#include <vala/valamethod.h> | ||||
#include <vala/valaarraycreationexpression.h> | ||||
#include <vala/valaelementaccess.h> | ||||
#include <vala/valaassignment.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
typedef struct _ValaCCodeArrayCreationExpressionBinding ValaCCodeArrayCreat | ||||
ionExpressionBinding; | ||||
typedef struct _ValaCCodeArrayCreationExpressionBindingClass ValaCCodeArray | ||||
CreationExpressionBindingClass; | ||||
typedef struct _ValaCCodeExpressionBinding ValaCCodeExpressionBinding; | ||||
typedef struct _ValaCCodeExpressionBindingClass ValaCCodeExpressionBindingC | ||||
lass; | ||||
typedef struct _ValaCCodeBinding ValaCCodeBinding; | ||||
typedef struct _ValaCCodeBindingClass ValaCCodeBindingClass; | ||||
typedef struct _ValaCCodeMethodBinding ValaCCodeMethodBinding; | ||||
typedef struct _ValaCCodeMethodBindingClass ValaCCodeMethodBindingClass; | ||||
typedef struct _ValaCCodeGenerator ValaCCodeGenerator; | ||||
typedef struct _ValaCCodeGeneratorClass ValaCCodeGeneratorClass; | ||||
typedef struct _ValaCCodeDynamicMethodBinding ValaCCodeDynamicMethodBinding | ||||
; | ||||
typedef struct _ValaCCodeDynamicMethodBindingClass ValaCCodeDynamicMethodBi | ||||
ndingClass; | ||||
typedef struct _ValaCCodeDynamicSignalBinding ValaCCodeDynamicSignalBinding | ||||
; | ||||
typedef struct _ValaCCodeDynamicSignalBindingClass ValaCCodeDynamicSignalBi | ||||
ndingClass; | ||||
typedef struct _ValaCCodeElementAccessBinding ValaCCodeElementAccessBinding | ||||
; | ||||
typedef struct _ValaCCodeElementAccessBindingClass ValaCCodeElementAccessBi | ||||
ndingClass; | ||||
typedef struct _ValaCCodeAssignmentBinding ValaCCodeAssignmentBinding; | ||||
typedef struct _ValaCCodeAssignmentBindingClass ValaCCodeAssignmentBindingC | ||||
lass; | ||||
#define VALA_TYPE_CCODE_BINDING (vala_ccode_binding_get_type ()) | #define VALA_TYPE_CCODE_BINDING (vala_ccode_binding_get_type ()) | |||
#define VALA_CCODE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_CCODE_BINDING, ValaCCodeBinding)) | #define VALA_CCODE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_CCODE_BINDING, ValaCCodeBinding)) | |||
#define VALA_CCODE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | #define VALA_CCODE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | |||
#define VALA_IS_CCODE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_CCODE_BINDING)) | #define VALA_IS_CCODE_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_CCODE_BINDING)) | |||
#define VALA_IS_CCODE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_CCODE_BINDING)) | #define VALA_IS_CCODE_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_CCODE_BINDING)) | |||
#define VALA_CCODE_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | #define VALA_CCODE_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | |||
typedef struct _ValaCCodeBinding ValaCCodeBinding; | ||||
typedef struct _ValaCCodeBindingClass ValaCCodeBindingClass; | ||||
typedef struct _ValaCCodeBindingPrivate ValaCCodeBindingPrivate; | typedef struct _ValaCCodeBindingPrivate ValaCCodeBindingPrivate; | |||
/** | /** | |||
* The link between a source code node and generated code. | * The link between a source code node and generated code. | |||
*/ | */ | |||
struct _ValaCCodeBinding { | struct _ValaCCodeBinding { | |||
ValaCodeBinding parent_instance; | ValaCodeBinding parent_instance; | |||
ValaCCodeBindingPrivate * priv; | ValaCCodeBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeBindingClass { | struct _ValaCCodeBindingClass { | |||
ValaCodeBindingClass parent_class; | ValaCodeBindingClass parent_class; | |||
void (*emit) (ValaCCodeBinding* self); | ||||
}; | }; | |||
void vala_ccode_binding_emit (ValaCCodeBinding* self); | ||||
ValaCCodeIdentifier* vala_ccode_binding_get_value_setter_function (ValaCCod | ||||
eBinding* self, ValaDataType* type_reference); | ||||
ValaCCodeExpression* vala_ccode_binding_get_construct_property_assignment ( | ||||
ValaCCodeBinding* self, ValaCCodeConstant* canonical_cconstant, ValaDataTyp | ||||
e* property_type, ValaCCodeExpression* value); | ||||
ValaCCodeBinding* vala_ccode_binding_code_binding (ValaCCodeBinding* self, | ||||
ValaCodeNode* node); | ||||
ValaCCodeMethodBinding* vala_ccode_binding_method_binding (ValaCCodeBinding | ||||
* self, ValaMethod* node); | ||||
ValaCCodeArrayCreationExpressionBinding* vala_ccode_binding_array_creation_ | ||||
expression_binding (ValaCCodeBinding* self, ValaArrayCreationExpression* no | ||||
de); | ||||
ValaCCodeElementAccessBinding* vala_ccode_binding_element_access_binding (V | ||||
alaCCodeBinding* self, ValaElementAccess* node); | ||||
ValaCCodeAssignmentBinding* vala_ccode_binding_assignment_binding (ValaCCod | ||||
eBinding* self, ValaAssignment* node); | ||||
ValaCCodeBinding* vala_ccode_binding_new (void); | ||||
ValaCCodeGenerator* vala_ccode_binding_get_codegen (ValaCCodeBinding* self) ; | ValaCCodeGenerator* vala_ccode_binding_get_codegen (ValaCCodeBinding* self) ; | |||
void vala_ccode_binding_set_codegen (ValaCCodeBinding* self, ValaCCodeGener ator* value); | void vala_ccode_binding_set_codegen (ValaCCodeBinding* self, ValaCCodeGener ator* value); | |||
GType vala_ccode_binding_get_type (void); | GType vala_ccode_binding_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 6 change blocks. | ||||
4 lines changed or deleted | 58 lines changed or added | |||
valaccodeblock.h | valaccodeblock.h | |||
---|---|---|---|---|
/* valaccodeblock.vala | /* valaccodeblock.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodedeclarator.h | valaccodedeclarator.h | |||
---|---|---|---|---|
skipping to change at line 57 | skipping to change at line 57 | |||
struct _ValaCCodeDeclarator { | struct _ValaCCodeDeclarator { | |||
ValaCCodeNode parent_instance; | ValaCCodeNode parent_instance; | |||
ValaCCodeDeclaratorPrivate * priv; | ValaCCodeDeclaratorPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeDeclaratorClass { | struct _ValaCCodeDeclaratorClass { | |||
ValaCCodeNodeClass parent_class; | ValaCCodeNodeClass parent_class; | |||
void (*write_initialization) (ValaCCodeDeclarator* self, ValaCCodeWr iter* writer); | void (*write_initialization) (ValaCCodeDeclarator* self, ValaCCodeWr iter* writer); | |||
}; | }; | |||
void vala_ccode_declarator_write_initialization (ValaCCodeDeclarator* self, ValaCCodeWriter* writer); | void vala_ccode_declarator_write_initialization (ValaCCodeDeclarator* self, ValaCCodeWriter* writer); | |||
ValaCCodeDeclarator* vala_ccode_declarator_new (void); | ||||
GType vala_ccode_declarator_get_type (void); | GType vala_ccode_declarator_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valaccodeelementaccessbinding.h | valaccodeelementaccessbinding.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 <raffaele@sandrini.ch> | * Raffaele Sandrini <raffaele@sandrini.ch> | |||
*/ | */ | |||
#ifndef __GOBJECT_VALACCODEELEMENTACCESSBINDING_H__ | #ifndef __GOBJECT_VALACCODEELEMENTACCESSBINDING_H__ | |||
#define __GOBJECT_VALACCODEELEMENTACCESSBINDING_H__ | #define __GOBJECT_VALACCODEELEMENTACCESSBINDING_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodegenerator.h> | ||||
#include <vala/valaelementaccess.h> | #include <vala/valaelementaccess.h> | |||
#include <gobject/valaccodeexpressionbinding.h> | #include <gobject/valaccodeexpressionbinding.h> | |||
#include <gobject/valaccodebinding.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING (vala_ccode_element_access_b inding_get_type ()) | #define VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING (vala_ccode_element_access_b inding_get_type ()) | |||
#define VALA_CCODE_ELEMENT_ACCESS_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING, ValaCCodeElementAccessBindi ng)) | #define VALA_CCODE_ELEMENT_ACCESS_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING, ValaCCodeElementAccessBindi ng)) | |||
#define VALA_CCODE_ELEMENT_ACCESS_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_ CAST ((klass), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING, ValaCCodeElementAcce ssBindingClass)) | #define VALA_CCODE_ELEMENT_ACCESS_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_ CAST ((klass), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING, ValaCCodeElementAcce ssBindingClass)) | |||
#define VALA_IS_CCODE_ELEMENT_ACCESS_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TY PE ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING)) | #define VALA_IS_CCODE_ELEMENT_ACCESS_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TY PE ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING)) | |||
#define VALA_IS_CCODE_ELEMENT_ACCESS_BINDING_CLASS(klass) (G_TYPE_CHECK_CLA SS_TYPE ((klass), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING)) | #define VALA_IS_CCODE_ELEMENT_ACCESS_BINDING_CLASS(klass) (G_TYPE_CHECK_CLA SS_TYPE ((klass), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING)) | |||
#define VALA_CCODE_ELEMENT_ACCESS_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_G ET_CLASS ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING, ValaCCodeElementAc cessBindingClass)) | #define VALA_CCODE_ELEMENT_ACCESS_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_G ET_CLASS ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING, ValaCCodeElementAc cessBindingClass)) | |||
typedef struct _ValaCCodeElementAccessBinding ValaCCodeElementAccessBinding | ||||
; | ||||
typedef struct _ValaCCodeElementAccessBindingClass ValaCCodeElementAccessBi | ||||
ndingClass; | ||||
typedef struct _ValaCCodeElementAccessBindingPrivate ValaCCodeElementAccess BindingPrivate; | typedef struct _ValaCCodeElementAccessBindingPrivate ValaCCodeElementAccess BindingPrivate; | |||
/** | /** | |||
* The link between an element access and generated code. | * The link between an element access and generated code. | |||
*/ | */ | |||
struct _ValaCCodeElementAccessBinding { | struct _ValaCCodeElementAccessBinding { | |||
ValaCCodeExpressionBinding parent_instance; | ValaCCodeExpressionBinding parent_instance; | |||
ValaCCodeElementAccessBindingPrivate * priv; | ValaCCodeElementAccessBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeElementAccessBindingClass { | struct _ValaCCodeElementAccessBindingClass { | |||
ValaCCodeExpressionBindingClass parent_class; | ValaCCodeExpressionBindingClass parent_class; | |||
}; | }; | |||
ValaCCodeElementAccessBinding* vala_ccode_element_access_binding_new (ValaC odeGenerator* codegen, ValaElementAccess* element_access); | ValaCCodeElementAccessBinding* vala_ccode_element_access_binding_new (ValaC CodeGenerator* codegen, ValaElementAccess* element_access); | |||
ValaElementAccess* vala_ccode_element_access_binding_get_element_access (Va laCCodeElementAccessBinding* self); | ValaElementAccess* vala_ccode_element_access_binding_get_element_access (Va laCCodeElementAccessBinding* self); | |||
void vala_ccode_element_access_binding_set_element_access (ValaCCodeElement AccessBinding* self, ValaElementAccess* value); | void vala_ccode_element_access_binding_set_element_access (ValaCCodeElement AccessBinding* self, ValaElementAccess* value); | |||
GType vala_ccode_element_access_binding_get_type (void); | GType vala_ccode_element_access_binding_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
6 lines changed or deleted | 2 lines changed or added | |||
valaccodeenum.h | valaccodeenum.h | |||
---|---|---|---|---|
/* valaccodeenum.vala | /* valaccodeenum.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodeenumvalue.h | valaccodeenumvalue.h | |||
---|---|---|---|---|
/* valaccodeenumvalue.vala | /* valaccodeenumvalue.vala | |||
* | * | |||
* Copyright (C) 2007 Jürg Billeter | * Copyright (C) 2007-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodeexpression.h | valaccodeexpression.h | |||
---|---|---|---|---|
skipping to change at line 54 | skipping to change at line 54 | |||
* Represents an expression node in the C code tree. | * Represents an expression node in the C code tree. | |||
*/ | */ | |||
struct _ValaCCodeExpression { | struct _ValaCCodeExpression { | |||
ValaCCodeNode parent_instance; | ValaCCodeNode parent_instance; | |||
ValaCCodeExpressionPrivate * priv; | ValaCCodeExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeExpressionClass { | struct _ValaCCodeExpressionClass { | |||
ValaCCodeNodeClass parent_class; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeExpression* vala_ccode_expression_new (void); | ||||
GType vala_ccode_expression_get_type (void); | GType vala_ccode_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valaccodeexpressionbinding.h | valaccodeexpressionbinding.h | |||
---|---|---|---|---|
skipping to change at line 40 | skipping to change at line 40 | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_EXPRESSION_BINDING (vala_ccode_expression_binding_g et_type ()) | #define VALA_TYPE_CCODE_EXPRESSION_BINDING (vala_ccode_expression_binding_g et_type ()) | |||
#define VALA_CCODE_EXPRESSION_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((ob j), VALA_TYPE_CCODE_EXPRESSION_BINDING, ValaCCodeExpressionBinding)) | #define VALA_CCODE_EXPRESSION_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((ob j), VALA_TYPE_CCODE_EXPRESSION_BINDING, ValaCCodeExpressionBinding)) | |||
#define VALA_CCODE_EXPRESSION_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_EXPRESSION_BINDING, ValaCCodeExpressionBindingCl ass)) | #define VALA_CCODE_EXPRESSION_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_CCODE_EXPRESSION_BINDING, ValaCCodeExpressionBindingCl ass)) | |||
#define VALA_IS_CCODE_EXPRESSION_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ( (obj), VALA_TYPE_CCODE_EXPRESSION_BINDING)) | #define VALA_IS_CCODE_EXPRESSION_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ( (obj), VALA_TYPE_CCODE_EXPRESSION_BINDING)) | |||
#define VALA_IS_CCODE_EXPRESSION_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_T YPE ((klass), VALA_TYPE_CCODE_EXPRESSION_BINDING)) | #define VALA_IS_CCODE_EXPRESSION_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_T YPE ((klass), VALA_TYPE_CCODE_EXPRESSION_BINDING)) | |||
#define VALA_CCODE_EXPRESSION_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_EXPRESSION_BINDING, ValaCCodeExpressionBinding Class)) | #define VALA_CCODE_EXPRESSION_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_EXPRESSION_BINDING, ValaCCodeExpressionBinding Class)) | |||
typedef struct _ValaCCodeExpressionBinding ValaCCodeExpressionBinding; | ||||
typedef struct _ValaCCodeExpressionBindingClass ValaCCodeExpressionBindingC | ||||
lass; | ||||
typedef struct _ValaCCodeExpressionBindingPrivate ValaCCodeExpressionBindin gPrivate; | typedef struct _ValaCCodeExpressionBindingPrivate ValaCCodeExpressionBindin gPrivate; | |||
/** | /** | |||
* The link between an expression and generated code. | * The link between an expression and generated code. | |||
*/ | */ | |||
struct _ValaCCodeExpressionBinding { | struct _ValaCCodeExpressionBinding { | |||
ValaCCodeBinding parent_instance; | ValaCCodeBinding parent_instance; | |||
ValaCCodeExpressionBindingPrivate * priv; | ValaCCodeExpressionBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeExpressionBindingClass { | struct _ValaCCodeExpressionBindingClass { | |||
ValaCCodeBindingClass parent_class; | ValaCCodeBindingClass parent_class; | |||
}; | }; | |||
ValaCCodeExpressionBinding* vala_ccode_expression_binding_new (void); | ||||
ValaCCodeExpression* vala_ccode_expression_binding_get_codenode (ValaCCodeE xpressionBinding* self); | ValaCCodeExpression* vala_ccode_expression_binding_get_codenode (ValaCCodeE xpressionBinding* self); | |||
void vala_ccode_expression_binding_set_codenode (ValaCCodeExpressionBinding * self, ValaCCodeExpression* value); | void vala_ccode_expression_binding_set_codenode (ValaCCodeExpressionBinding * self, ValaCCodeExpression* value); | |||
GType vala_ccode_expression_binding_get_type (void); | GType vala_ccode_expression_binding_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 | |||
valaccodeforstatement.h | valaccodeforstatement.h | |||
---|---|---|---|---|
/* valaccodeforstatement.vala | /* valaccodeforstatement.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodegenerator.h | valaccodegenerator.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> | |||
* Raffaele Sandrini <raffaele@sandrini.ch> | * Raffaele Sandrini <raffaele@sandrini.ch> | |||
*/ | */ | |||
#ifndef __GOBJECT_VALACCODEGENERATOR_H__ | #ifndef __GOBJECT_VALACCODEGENERATOR_H__ | |||
#define __GOBJECT_VALACCODEGENERATOR_H__ | #define __GOBJECT_VALACCODEGENERATOR_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodegenerator.h> | #include <vala/valacodegenerator.h> | |||
#include <vala/valacodecontext.h> | ||||
#include <vala/valasymbol.h> | ||||
#include <vala/valatypesymbol.h> | #include <vala/valatypesymbol.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valamethod.h> | ||||
#include <vala/valadatatype.h> | ||||
#include <vala/valatrystatement.h> | ||||
#include <vala/valapropertyaccessor.h> | ||||
#include <ccode/valaccodefragment.h> | #include <ccode/valaccodefragment.h> | |||
#include <ccode/valaccodestruct.h> | ||||
#include <ccode/valaccodeenum.h> | ||||
#include <ccode/valaccodefunction.h> | ||||
#include <ccode/valaccodeblock.h> | ||||
#include <gee/arraylist.h> | #include <gee/arraylist.h> | |||
#include <vala/valadatatype.h> | #include <gee/set.h> | |||
#include <vala/valaerrortype.h> | #include <vala/valaerrortype.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valainterface.h> | |||
#include <stdlib.h> | ||||
#include <string.h> | ||||
#include <vala/valaenum.h> | #include <vala/valaenum.h> | |||
#include <vala/valaenumvalue.h> | #include <vala/valaenumvalue.h> | |||
#include <vala/valaerrordomain.h> | #include <vala/valaerrordomain.h> | |||
#include <vala/valaerrorcode.h> | #include <vala/valaerrorcode.h> | |||
#include <vala/valadelegate.h> | #include <vala/valadelegate.h> | |||
#include <vala/valamember.h> | #include <vala/valamember.h> | |||
#include <vala/valaconstant.h> | #include <vala/valaconstant.h> | |||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <vala/valacreationmethod.h> | ||||
#include <vala/valaformalparameter.h> | #include <vala/valaformalparameter.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valapropertyaccessor.h> | ||||
#include <vala/valaconstructor.h> | #include <vala/valaconstructor.h> | |||
#include <vala/valadestructor.h> | #include <vala/valadestructor.h> | |||
#include <vala/valablock.h> | #include <vala/valablock.h> | |||
#include <vala/valaemptystatement.h> | #include <vala/valaemptystatement.h> | |||
#include <vala/valadeclarationstatement.h> | #include <vala/valadeclarationstatement.h> | |||
#include <vala/valavariabledeclarator.h> | #include <vala/valalocalvariable.h> | |||
#include <vala/valainitializerlist.h> | #include <vala/valainitializerlist.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valaexpressionstatement.h> | #include <vala/valaexpressionstatement.h> | |||
#include <vala/valaifstatement.h> | #include <vala/valaifstatement.h> | |||
#include <vala/valaswitchstatement.h> | #include <vala/valaswitchstatement.h> | |||
#include <vala/valaswitchsection.h> | #include <vala/valaswitchsection.h> | |||
#include <vala/valawhilestatement.h> | #include <vala/valawhilestatement.h> | |||
#include <vala/valadostatement.h> | #include <vala/valadostatement.h> | |||
#include <vala/valaforstatement.h> | #include <vala/valaforstatement.h> | |||
#include <vala/valaforeachstatement.h> | #include <vala/valaforeachstatement.h> | |||
#include <vala/valabreakstatement.h> | #include <vala/valabreakstatement.h> | |||
#include <vala/valacontinuestatement.h> | #include <vala/valacontinuestatement.h> | |||
#include <vala/valareturnstatement.h> | #include <vala/valareturnstatement.h> | |||
#include <vala/valathrowstatement.h> | #include <vala/valathrowstatement.h> | |||
#include <vala/valatrystatement.h> | ||||
#include <vala/valacatchclause.h> | #include <vala/valacatchclause.h> | |||
#include <vala/valalockstatement.h> | #include <vala/valalockstatement.h> | |||
#include <vala/valadeletestatement.h> | #include <vala/valadeletestatement.h> | |||
#include <vala/valaarraycreationexpression.h> | #include <vala/valaarraycreationexpression.h> | |||
#include <vala/valabooleanliteral.h> | #include <vala/valabooleanliteral.h> | |||
#include <vala/valacharacterliteral.h> | #include <vala/valacharacterliteral.h> | |||
#include <vala/valaintegerliteral.h> | #include <vala/valaintegerliteral.h> | |||
#include <vala/valarealliteral.h> | #include <vala/valarealliteral.h> | |||
#include <vala/valastringliteral.h> | #include <vala/valastringliteral.h> | |||
#include <vala/valanullliteral.h> | #include <vala/valanullliteral.h> | |||
#include <vala/valaparenthesizedexpression.h> | #include <vala/valaparenthesizedexpression.h> | |||
#include <vala/valamemberaccess.h> | ||||
#include <vala/valainvocationexpression.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> | |||
#include <vala/valareferencetransferexpression.h> | #include <vala/valareferencetransferexpression.h> | |||
#include <vala/valabinaryexpression.h> | #include <vala/valabinaryexpression.h> | |||
#include <vala/valatypecheck.h> | #include <vala/valatypecheck.h> | |||
#include <vala/valaconditionalexpression.h> | #include <vala/valaconditionalexpression.h> | |||
#include <vala/valalambdaexpression.h> | #include <vala/valalambdaexpression.h> | |||
#include <vala/valaassignment.h> | #include <vala/valaassignment.h> | |||
#include <ccode/valaccodefunctioncall.h> | #include <ccode/valaccodefunctioncall.h> | |||
#include <vala/valamemberaccess.h> | #include <ccode/valaccodestatement.h> | |||
#include <stdlib.h> | #include <float.h> | |||
#include <string.h> | #include <math.h> | |||
#include <vala/valacodebinding.h> | #include <vala/valacodebinding.h> | |||
#include <vala/valanamespace.h> | #include <vala/valanamespace.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valainterface.h> | #include <vala/valadynamicmethod.h> | |||
#include <vala/valamethod.h> | ||||
#include <vala/valacreationmethod.h> | ||||
#include <vala/valasignal.h> | #include <vala/valasignal.h> | |||
#include <vala/valadynamicsignal.h> | ||||
#include <vala/valatypeparameter.h> | #include <vala/valatypeparameter.h> | |||
#include <vala/valalocalvariabledeclaration.h> | ||||
#include <vala/valaswitchlabel.h> | #include <vala/valaswitchlabel.h> | |||
#include <vala/valainvocationexpression.h> | #include <gee/collection.h> | |||
#include <ccode/valaccodeidentifier.h> | ||||
#include <float.h> | ||||
#include <math.h> | ||||
#include <vala/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
#include <gobject/valaccodebinding.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_GENERATOR (vala_ccode_generator_get_type ()) | #define VALA_TYPE_CCODE_GENERATOR (vala_ccode_generator_get_type ()) | |||
#define VALA_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_CCODE_GENERATOR, ValaCCodeGenerator)) | #define VALA_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_CCODE_GENERATOR, ValaCCodeGenerator)) | |||
#define VALA_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | #define VALA_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | |||
#define VALA_IS_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CCODE_GENERATOR)) | #define VALA_IS_CCODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CCODE_GENERATOR)) | |||
#define VALA_IS_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CCODE_GENERATOR)) | #define VALA_IS_CCODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CCODE_GENERATOR)) | |||
#define VALA_CCODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | #define VALA_CCODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | |||
typedef struct _ValaCCodeGenerator ValaCCodeGenerator; | ||||
typedef struct _ValaCCodeGeneratorClass ValaCCodeGeneratorClass; | ||||
typedef struct _ValaCCodeGeneratorPrivate ValaCCodeGeneratorPrivate; | typedef struct _ValaCCodeGeneratorPrivate ValaCCodeGeneratorPrivate; | |||
/** | /** | |||
* Code visitor generating C Code. | * Code visitor generating C Code. | |||
*/ | */ | |||
struct _ValaCCodeGenerator { | struct _ValaCCodeGenerator { | |||
ValaCodeGenerator parent_instance; | ValaCodeGenerator parent_instance; | |||
ValaCCodeGeneratorPrivate * priv; | ValaCCodeGeneratorPrivate * priv; | |||
ValaCodeContext* context; | ||||
ValaSymbol* root_symbol; | ||||
ValaSymbol* current_symbol; | ||||
ValaTypesymbol* current_type_symbol; | ValaTypesymbol* current_type_symbol; | |||
ValaClass* current_class; | ValaClass* current_class; | |||
ValaMethod* current_method; | ||||
ValaDataType* current_return_type; | ||||
ValaTryStatement* current_try; | ||||
ValaPropertyAccessor* current_property_accessor; | ||||
ValaCCodeFragment* header_begin; | ||||
ValaCCodeFragment* header_type_declaration; | ||||
ValaCCodeFragment* header_type_definition; | ||||
ValaCCodeFragment* header_type_member_declaration; | ||||
ValaCCodeFragment* header_constant_declaration; | ||||
ValaCCodeFragment* source_begin; | ||||
ValaCCodeFragment* source_include_directives; | ||||
ValaCCodeFragment* source_type_declaration; | ||||
ValaCCodeFragment* source_type_definition; | ||||
ValaCCodeFragment* source_type_member_declaration; | ValaCCodeFragment* source_type_member_declaration; | |||
ValaCCodeFragment* source_constant_declaration; | ||||
ValaCCodeFragment* source_signal_marshaller_declaration; | ||||
ValaCCodeFragment* source_type_member_definition; | ValaCCodeFragment* source_type_member_definition; | |||
ValaCCodeFragment* class_init_fragment; | ||||
ValaCCodeFragment* instance_init_fragment; | ||||
ValaCCodeFragment* instance_dispose_fragment; | ||||
ValaCCodeFragment* source_signal_marshaller_definition; | ||||
ValaCCodeFragment* module_init_fragment; | ||||
ValaCCodeStruct* instance_struct; | ||||
ValaCCodeStruct* type_struct; | ||||
ValaCCodeStruct* instance_priv_struct; | ||||
ValaCCodeEnum* prop_enum; | ||||
ValaCCodeEnum* cenum; | ||||
ValaCCodeFunction* function; | ||||
ValaCCodeBlock* block; | ||||
GeeArrayList* temp_vars; | GeeArrayList* temp_vars; | |||
GeeArrayList* temp_ref_vars; | ||||
GeeSet* user_marshal_set; | ||||
GeeSet* predefined_marshal_set; | ||||
GeeSet* c_keywords; | ||||
gint next_temp_var_id; | ||||
gboolean in_creation_method; | gboolean in_creation_method; | |||
gboolean current_method_inner_error; | ||||
ValaDataType* bool_type; | ValaDataType* bool_type; | |||
ValaDataType* char_type; | ValaDataType* char_type; | |||
ValaDataType* unichar_type; | ValaDataType* unichar_type; | |||
ValaDataType* short_type; | ValaDataType* short_type; | |||
ValaDataType* ushort_type; | ValaDataType* ushort_type; | |||
ValaDataType* int_type; | ValaDataType* int_type; | |||
ValaDataType* uint_type; | ValaDataType* uint_type; | |||
ValaDataType* long_type; | ValaDataType* long_type; | |||
ValaDataType* ulong_type; | ValaDataType* ulong_type; | |||
ValaDataType* int64_type; | ValaDataType* int64_type; | |||
ValaDataType* uint64_type; | ValaDataType* uint64_type; | |||
ValaDataType* string_type; | ValaDataType* string_type; | |||
ValaDataType* float_type; | ValaDataType* float_type; | |||
ValaDataType* double_type; | ValaDataType* double_type; | |||
ValaTypesymbol* gtype_type; | ValaTypesymbol* gtype_type; | |||
ValaTypesymbol* gtypeinstance_type; | ValaTypesymbol* gtypeinstance_type; | |||
ValaTypesymbol* gobject_type; | ValaTypesymbol* gobject_type; | |||
ValaErrorType* gerror_type; | ValaErrorType* gerror_type; | |||
ValaTypesymbol* glist_type; | ValaClass* glist_type; | |||
ValaTypesymbol* gslist_type; | ValaClass* gslist_type; | |||
ValaTypesymbol* gstring_type; | ||||
ValaTypesymbol* gstringbuilder_type; | ValaTypesymbol* gstringbuilder_type; | |||
ValaTypesymbol* garray_type; | ValaTypesymbol* garray_type; | |||
ValaDataType* gquark_type; | ValaDataType* gquark_type; | |||
ValaDataType* mutex_type; | ValaDataType* mutex_type; | |||
ValaTypesymbol* type_module_type; | ValaTypesymbol* type_module_type; | |||
ValaTypesymbol* iterable_type; | ValaInterface* iterable_type; | |||
ValaTypesymbol* iterator_type; | ValaInterface* iterator_type; | |||
ValaTypesymbol* list_type; | ValaInterface* list_type; | |||
ValaTypesymbol* map_type; | ValaInterface* map_type; | |||
ValaTypesymbol* connection_type; | ValaTypesymbol* dbus_object_type; | |||
ValaMethod* substring_method; | ||||
gboolean in_plugin; | ||||
char* module_init_param_name; | ||||
gboolean string_h_needed; | ||||
gboolean requires_array_move; | ||||
gboolean dbus_glib_h_needed; | ||||
}; | }; | |||
struct _ValaCCodeGeneratorClass { | struct _ValaCCodeGeneratorClass { | |||
ValaCodeGeneratorClass parent_class; | ValaCodeGeneratorClass parent_class; | |||
}; | }; | |||
ValaCCodeGenerator* vala_ccode_generator_new (void); | ValaCCodeGenerator* vala_ccode_generator_new (void); | |||
gboolean vala_ccode_generator_is_pure_ccode_expression (ValaCCodeGenerator* self, ValaCCodeExpression* cexpr); | gboolean vala_ccode_generator_is_pure_ccode_expression (ValaCCodeGenerator* self, ValaCCodeExpression* cexpr); | |||
ValaVariableDeclarator* vala_ccode_generator_get_temp_variable_declarator ( | char* vala_ccode_generator_get_variable_cname (ValaCCodeGenerator* self, co | |||
ValaCCodeGenerator* self, ValaDataType* type, gboolean takes_ownership, Val | nst char* name); | |||
aCodeNode* node_reference); | ValaLocalVariable* vala_ccode_generator_get_temp_variable (ValaCCodeGenerat | |||
or* self, ValaDataType* type, gboolean takes_ownership, ValaCodeNode* node_ | ||||
reference); | ||||
ValaCCodeExpression* vala_ccode_generator_get_unref_expression (ValaCCodeGe nerator* self, ValaCCodeExpression* cvar, ValaDataType* type, ValaExpressio n* expr); | ValaCCodeExpression* vala_ccode_generator_get_unref_expression (ValaCCodeGe nerator* self, ValaCCodeExpression* cvar, ValaDataType* type, ValaExpressio n* expr); | |||
char* vala_ccode_generator_get_array_length_cname (ValaCCodeGenerator* self , const char* array_cname, gint dim); | ||||
ValaCCodeExpression* vala_ccode_generator_get_array_length_cexpression (Val aCCodeGenerator* self, ValaExpression* array_expr, gint dim); | ValaCCodeExpression* vala_ccode_generator_get_array_length_cexpression (Val aCCodeGenerator* self, ValaExpression* array_expr, gint dim); | |||
char* vala_ccode_generator_get_delegate_target_cname (ValaCCodeGenerator* s elf, const char* delegate_cname); | ||||
ValaCCodeExpression* vala_ccode_generator_get_delegate_target_cexpression ( ValaCCodeGenerator* self, ValaExpression* delegate_expr); | ValaCCodeExpression* vala_ccode_generator_get_delegate_target_cexpression ( ValaCCodeGenerator* self, ValaExpression* delegate_expr); | |||
void vala_ccode_generator_visit_expression (ValaCCodeGenerator* self, ValaE xpression* expr); | void vala_ccode_generator_visit_expression (ValaCCodeGenerator* self, ValaE xpression* expr); | |||
ValaCCodeExpression* vala_ccode_generator_convert_from_generic_pointer (Val aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_typ e); | ValaCCodeExpression* vala_ccode_generator_convert_from_generic_pointer (Val aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_typ e); | |||
ValaCCodeExpression* vala_ccode_generator_convert_to_generic_pointer (ValaC CodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_type) ; | ValaCCodeExpression* vala_ccode_generator_convert_to_generic_pointer (ValaC CodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_type) ; | |||
ValaCCodeExpression* vala_ccode_generator_get_implicit_cast_expression (Val aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* expression _type, ValaDataType* target_type); | ValaCCodeExpression* vala_ccode_generator_get_implicit_cast_expression (Val aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* expression _type, ValaDataType* target_type); | |||
ValaCCodeFunctionCall* vala_ccode_generator_get_property_set_call (ValaCCod eGenerator* self, ValaProperty* prop, ValaMemberAccess* ma, ValaCCodeExpres sion* cexpr); | ValaCCodeFunctionCall* vala_ccode_generator_get_property_set_call (ValaCCod eGenerator* self, ValaProperty* prop, ValaMemberAccess* ma, ValaCCodeExpres sion* cexpr); | |||
gboolean vala_ccode_generator_is_address_of_possible (ValaCCodeGenerator* s elf, ValaExpression* e); | gboolean vala_ccode_generator_is_address_of_possible (ValaCCodeGenerator* s elf, ValaExpression* e); | |||
ValaCCodeExpression* vala_ccode_generator_get_address_of_expression (ValaCC odeGenerator* self, ValaExpression* e, ValaCCodeExpression* ce); | ValaCCodeExpression* vala_ccode_generator_get_address_of_expression (ValaCC odeGenerator* self, ValaExpression* e, ValaCCodeExpression* ce); | |||
gboolean vala_ccode_generator_add_wrapper (ValaCCodeGenerator* self, const char* wrapper_name); | gboolean vala_ccode_generator_add_wrapper (ValaCCodeGenerator* self, const char* wrapper_name); | |||
ValaDataType* vala_ccode_generator_get_data_type_for_symbol (ValaTypesymbol * sym); | ValaDataType* vala_ccode_generator_get_data_type_for_symbol (ValaTypesymbol * sym); | |||
ValaCCodeIdentifier* vala_ccode_generator_get_value_setter_function (ValaCC | ValaCCodeExpression* vala_ccode_generator_default_value_for_type (ValaCCode | |||
odeGenerator* self, ValaDataType* type_reference); | Generator* self, ValaDataType* type, gboolean initializer_expression); | |||
ValaCCodeStatement* vala_ccode_generator_create_type_check_statement (ValaC | ||||
CodeGenerator* self, ValaCodeNode* method_node, ValaDataType* ret_type, Val | ||||
aTypesymbol* t, gboolean non_null, const char* var_name); | ||||
gint vala_ccode_generator_get_param_pos (ValaCCodeGenerator* self, double p aram_pos, gboolean ellipsis); | gint vala_ccode_generator_get_param_pos (ValaCCodeGenerator* self, double p aram_pos, gboolean ellipsis); | |||
char* vala_ccode_generator_get_signal_marshaller_function (ValaCCodeGenerat | ValaCCodeBinding* vala_ccode_generator_code_binding (ValaCCodeGenerator* se | |||
or* self, ValaSignal* sig, const char* prefix); | lf, ValaCodeNode* node); | |||
ValaCCodeMethodBinding* vala_ccode_generator_method_binding (ValaCCodeGener | ||||
ator* self, ValaMethod* node); | ||||
ValaCCodeDynamicMethodBinding* vala_ccode_generator_dynamic_method_binding | ||||
(ValaCCodeGenerator* self, ValaDynamicMethod* node); | ||||
ValaCCodeDynamicSignalBinding* vala_ccode_generator_dynamic_signal_binding | ||||
(ValaCCodeGenerator* self, ValaDynamicSignal* node); | ||||
ValaCCodeArrayCreationExpressionBinding* vala_ccode_generator_array_creatio | ||||
n_expression_binding (ValaCCodeGenerator* self, ValaArrayCreationExpression | ||||
* node); | ||||
ValaCCodeElementAccessBinding* vala_ccode_generator_element_access_binding | ||||
(ValaCCodeGenerator* self, ValaElementAccess* node); | ||||
ValaCCodeAssignmentBinding* vala_ccode_generator_assignment_binding (ValaCC | ||||
odeGenerator* self, ValaAssignment* node); | ||||
char* vala_ccode_generator_get_marshaller_function (ValaCCodeGenerator* sel | ||||
f, GeeCollection* params, ValaDataType* return_type, const char* prefix); | ||||
void vala_ccode_generator_generate_marshaller (ValaCCodeGenerator* self, Ge | ||||
eCollection* params, ValaDataType* return_type); | ||||
GType vala_ccode_generator_get_type (void); | GType vala_ccode_generator_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 30 change blocks. | ||||
33 lines changed or deleted | 105 lines changed or added | |||
valaccodeifstatement.h | valaccodeifstatement.h | |||
---|---|---|---|---|
/* valaccodeifstatement.vala | /* valaccodeifstatement.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodemethodbinding.h | valaccodemethodbinding.h | |||
---|---|---|---|---|
/* valaccodemethodbinding.vala | /* valaccodemethodbinding.vala | |||
* | * | |||
* Copyright (C) 2007 Jürg Billeter | * Copyright (C) 2007-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 28 | skipping to change at line 28 | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __GOBJECT_VALACCODEMETHODBINDING_H__ | #ifndef __GOBJECT_VALACCODEMETHODBINDING_H__ | |||
#define __GOBJECT_VALACCODEMETHODBINDING_H__ | #define __GOBJECT_VALACCODEMETHODBINDING_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodegenerator.h> | ||||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valadatatype.h> | ||||
#include <gee/map.h> | ||||
#include <ccode/valaccodefunction.h> | ||||
#include <ccode/valaccodefunctiondeclarator.h> | ||||
#include <gobject/valaccodebinding.h> | #include <gobject/valaccodebinding.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CCODE_METHOD_BINDING (vala_ccode_method_binding_get_type ()) | #define VALA_TYPE_CCODE_METHOD_BINDING (vala_ccode_method_binding_get_type ()) | |||
#define VALA_CCODE_METHOD_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBinding)) | #define VALA_CCODE_METHOD_BINDING(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBinding)) | |||
#define VALA_CCODE_METHOD_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBindingClass)) | #define VALA_CCODE_METHOD_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((k lass), VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBindingClass)) | |||
#define VALA_IS_CCODE_METHOD_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_CCODE_METHOD_BINDING)) | #define VALA_IS_CCODE_METHOD_BINDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_CCODE_METHOD_BINDING)) | |||
#define VALA_IS_CCODE_METHOD_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_METHOD_BINDING)) | #define VALA_IS_CCODE_METHOD_BINDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_METHOD_BINDING)) | |||
#define VALA_CCODE_METHOD_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBindingClass)) | #define VALA_CCODE_METHOD_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_METHOD_BINDING, ValaCCodeMethodBindingClass)) | |||
typedef struct _ValaCCodeMethodBinding ValaCCodeMethodBinding; | ||||
typedef struct _ValaCCodeMethodBindingClass ValaCCodeMethodBindingClass; | ||||
typedef struct _ValaCCodeMethodBindingPrivate ValaCCodeMethodBindingPrivate ; | typedef struct _ValaCCodeMethodBindingPrivate ValaCCodeMethodBindingPrivate ; | |||
/** | /** | |||
* The link between a method and generated code. | * The link between a method and generated code. | |||
*/ | */ | |||
struct _ValaCCodeMethodBinding { | struct _ValaCCodeMethodBinding { | |||
ValaCCodeBinding parent_instance; | ValaCCodeBinding parent_instance; | |||
ValaCCodeMethodBindingPrivate * priv; | ValaCCodeMethodBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeMethodBindingClass { | struct _ValaCCodeMethodBindingClass { | |||
ValaCCodeBindingClass parent_class; | ValaCCodeBindingClass parent_class; | |||
}; | }; | |||
ValaCCodeMethodBinding* vala_ccode_method_binding_new (ValaCodeGenerator* c | ValaCCodeMethodBinding* vala_ccode_method_binding_new (ValaCCodeGenerator* | |||
odegen, ValaMethod* method); | codegen, ValaMethod* method); | |||
ValaCCodeMethodBinding* vala_ccode_method_binding_get (ValaMethod* method); | void vala_ccode_method_binding_generate_cparameters (ValaCCodeMethodBinding | |||
* self, ValaMethod* m, ValaDataType* creturn_type, GeeMap* cparam_map, Vala | ||||
CCodeFunction* func, ValaCCodeFunctionDeclarator* vdeclarator); | ||||
ValaMethod* vala_ccode_method_binding_get_method (ValaCCodeMethodBinding* s elf); | ValaMethod* vala_ccode_method_binding_get_method (ValaCCodeMethodBinding* s elf); | |||
void vala_ccode_method_binding_set_method (ValaCCodeMethodBinding* self, Va laMethod* value); | void vala_ccode_method_binding_set_method (ValaCCodeMethodBinding* self, Va laMethod* value); | |||
gboolean vala_ccode_method_binding_get_has_wrapper (ValaCCodeMethodBinding* self); | gboolean vala_ccode_method_binding_get_has_wrapper (ValaCCodeMethodBinding* self); | |||
GType vala_ccode_method_binding_get_type (void); | GType vala_ccode_method_binding_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
7 lines changed or deleted | 10 lines changed or added | |||
valaccodenode.h | valaccodenode.h | |||
---|---|---|---|---|
skipping to change at line 64 | skipping to change at line 64 | |||
struct _ValaCCodeNodeClass { | struct _ValaCCodeNodeClass { | |||
GObjectClass parent_class; | GObjectClass parent_class; | |||
void (*write) (ValaCCodeNode* self, ValaCCodeWriter* writer); | void (*write) (ValaCCodeNode* self, ValaCCodeWriter* writer); | |||
void (*write_declaration) (ValaCCodeNode* self, ValaCCodeWriter* wri ter); | void (*write_declaration) (ValaCCodeNode* self, ValaCCodeWriter* wri ter); | |||
void (*write_combined) (ValaCCodeNode* self, ValaCCodeWriter* writer ); | void (*write_combined) (ValaCCodeNode* self, ValaCCodeWriter* writer ); | |||
}; | }; | |||
void vala_ccode_node_write (ValaCCodeNode* self, ValaCCodeWriter* writer); | void vala_ccode_node_write (ValaCCodeNode* self, ValaCCodeWriter* writer); | |||
void vala_ccode_node_write_declaration (ValaCCodeNode* self, ValaCCodeWrite r* writer); | void vala_ccode_node_write_declaration (ValaCCodeNode* self, ValaCCodeWrite r* writer); | |||
void vala_ccode_node_write_combined (ValaCCodeNode* self, ValaCCodeWriter* writer); | void vala_ccode_node_write_combined (ValaCCodeNode* self, ValaCCodeWriter* writer); | |||
ValaCCodeNode* vala_ccode_node_new (void); | ||||
ValaCCodeLineDirective* vala_ccode_node_get_line (ValaCCodeNode* self); | ValaCCodeLineDirective* vala_ccode_node_get_line (ValaCCodeNode* self); | |||
void vala_ccode_node_set_line (ValaCCodeNode* self, ValaCCodeLineDirective* value); | void vala_ccode_node_set_line (ValaCCodeNode* self, ValaCCodeLineDirective* value); | |||
GType vala_ccode_node_get_type (void); | GType vala_ccode_node_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valaccodereturnstatement.h | valaccodereturnstatement.h | |||
---|---|---|---|---|
/* valaccodereturnstatement.vala | /* valaccodereturnstatement.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodestatement.h | valaccodestatement.h | |||
---|---|---|---|---|
skipping to change at line 54 | skipping to change at line 54 | |||
* Represents a statement in the C code. | * Represents a statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeStatement { | struct _ValaCCodeStatement { | |||
ValaCCodeNode parent_instance; | ValaCCodeNode parent_instance; | |||
ValaCCodeStatementPrivate * priv; | ValaCCodeStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeStatementClass { | struct _ValaCCodeStatementClass { | |||
ValaCCodeNodeClass parent_class; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeStatement* vala_ccode_statement_new (void); | ||||
GType vala_ccode_statement_get_type (void); | GType vala_ccode_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valaccodevariabledeclarator.h | valaccodevariabledeclarator.h | |||
---|---|---|---|---|
skipping to change at line 58 | skipping to change at line 58 | |||
* Represents a variable declarator in the C code. | * Represents a variable declarator in the C code. | |||
*/ | */ | |||
struct _ValaCCodeVariableDeclarator { | struct _ValaCCodeVariableDeclarator { | |||
ValaCCodeDeclarator parent_instance; | ValaCCodeDeclarator parent_instance; | |||
ValaCCodeVariableDeclaratorPrivate * priv; | ValaCCodeVariableDeclaratorPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeVariableDeclaratorClass { | struct _ValaCCodeVariableDeclaratorClass { | |||
ValaCCodeDeclaratorClass parent_class; | ValaCCodeDeclaratorClass parent_class; | |||
}; | }; | |||
ValaCCodeVariableDeclarator* vala_ccode_variable_declarator_new (const char | ValaCCodeVariableDeclarator* vala_ccode_variable_declarator_new (const char | |||
* _name); | * name); | |||
ValaCCodeVariableDeclarator* vala_ccode_variable_declarator_new_with_initia | ValaCCodeVariableDeclarator* vala_ccode_variable_declarator_new_with_initia | |||
lizer (const char* _name, ValaCCodeExpression* init); | lizer (const char* name, ValaCCodeExpression* initializer); | |||
char* vala_ccode_variable_declarator_get_name (ValaCCodeVariableDeclarator* self); | char* vala_ccode_variable_declarator_get_name (ValaCCodeVariableDeclarator* self); | |||
void vala_ccode_variable_declarator_set_name (ValaCCodeVariableDeclarator* self, const char* value); | void vala_ccode_variable_declarator_set_name (ValaCCodeVariableDeclarator* self, const char* value); | |||
ValaCCodeExpression* vala_ccode_variable_declarator_get_initializer (ValaCC odeVariableDeclarator* self); | ValaCCodeExpression* vala_ccode_variable_declarator_get_initializer (ValaCC odeVariableDeclarator* self); | |||
void vala_ccode_variable_declarator_set_initializer (ValaCCodeVariableDecla rator* self, ValaCCodeExpression* value); | void vala_ccode_variable_declarator_set_initializer (ValaCCodeVariableDecla rator* self, ValaCCodeExpression* value); | |||
GType vala_ccode_variable_declarator_get_type (void); | GType vala_ccode_variable_declarator_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
valaccodewhilestatement.h | valaccodewhilestatement.h | |||
---|---|---|---|---|
/* valaccodewhilestatement.vala | /* valaccodewhilestatement.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodewriter.h | valaccodewriter.h | |||
---|---|---|---|---|
/* valaccodewriter.vala | /* valaccodewriter.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaclass.h | valaclass.h | |||
---|---|---|---|---|
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef __VALA_VALACLASS_H__ | #ifndef __VALA_VALACLASS_H__ | |||
#define __VALA_VALACLASS_H__ | #define __VALA_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 <gee/collection.h> | |||
#include <vala/valatypesymbol.h> | #include <vala/valatypesymbol.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valacodebinding.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)) | |||
#define VALA_CLASS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_CLASS, ValaClassClass)) | #define VALA_CLASS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_CLASS, ValaClassClass)) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valacodebinding.h | valacodebinding.h | |||
---|---|---|---|---|
/* valacodebinding.vala | /* valacodebinding.vala | |||
* | * | |||
* Copyright (C) 2007 Jürg Billeter | * Copyright (C) 2007-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 51 | skipping to change at line 51 | |||
/** | /** | |||
* The link between a source code node and generated code. | * The link between a source code node and generated code. | |||
*/ | */ | |||
struct _ValaCodeBinding { | struct _ValaCodeBinding { | |||
GObject parent_instance; | GObject parent_instance; | |||
ValaCodeBindingPrivate * priv; | ValaCodeBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCodeBindingClass { | struct _ValaCodeBindingClass { | |||
GObjectClass parent_class; | GObjectClass parent_class; | |||
void (*emit) (ValaCodeBinding* self); | ||||
}; | }; | |||
void vala_code_binding_emit (ValaCodeBinding* self); | ValaCodeBinding* vala_code_binding_new (void); | |||
GType vala_code_binding_get_type (void); | GType vala_code_binding_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 | |||
valacodecontext.h | valacodecontext.h | |||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
*/ | */ | |||
#ifndef __VALA_VALACODECONTEXT_H__ | #ifndef __VALA_VALACODECONTEXT_H__ | |||
#define __VALA_VALACODECONTEXT_H__ | #define __VALA_VALACODECONTEXT_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <vala/valaunaryexpression.h> | ||||
#include <vala/valabinaryexpression.h> | ||||
#include <vala/valaassignment.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)) | |||
#define VALA_IS_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CODE_CONTEXT)) | #define VALA_IS_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CODE_CONTEXT)) | |||
#define VALA_CODE_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | #define VALA_CODE_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | |||
skipping to change at line 59 | skipping to change at line 56 | |||
*/ | */ | |||
struct _ValaCodeContext { | struct _ValaCodeContext { | |||
GObject parent_instance; | GObject parent_instance; | |||
ValaCodeContextPrivate * priv; | ValaCodeContextPrivate * priv; | |||
}; | }; | |||
struct _ValaCodeContextClass { | struct _ValaCodeContextClass { | |||
GObjectClass parent_class; | GObjectClass parent_class; | |||
}; | }; | |||
ValaCodeContext* vala_code_context_new (void); | ValaCodeContext* vala_code_context_new (void); | |||
gboolean vala_code_context_is_non_null_enabled (void); | ||||
GeeCollection* vala_code_context_get_source_files (ValaCodeContext* self); | GeeCollection* vala_code_context_get_source_files (ValaCodeContext* self); | |||
GeeCollection* vala_code_context_get_c_source_files (ValaCodeContext* self) ; | GeeCollection* vala_code_context_get_c_source_files (ValaCodeContext* self) ; | |||
void vala_code_context_add_source_file (ValaCodeContext* self, ValaSourceFi le* file); | void vala_code_context_add_source_file (ValaCodeContext* self, ValaSourceFi le* file); | |||
void vala_code_context_add_c_source_file (ValaCodeContext* self, const char * file); | void vala_code_context_add_c_source_file (ValaCodeContext* self, const char * file); | |||
GeeCollection* vala_code_context_get_packages (ValaCodeContext* self); | GeeCollection* vala_code_context_get_packages (ValaCodeContext* self); | |||
gboolean vala_code_context_has_package (ValaCodeContext* self, const char* pkg); | gboolean vala_code_context_has_package (ValaCodeContext* self, const char* pkg); | |||
void vala_code_context_add_package (ValaCodeContext* self, const char* pkg) ; | void vala_code_context_add_package (ValaCodeContext* self, const char* pkg) ; | |||
void vala_code_context_accept (ValaCodeContext* self, ValaCodeVisitor* visi tor); | void vala_code_context_accept (ValaCodeContext* self, ValaCodeVisitor* visi tor); | |||
void vala_code_context_find_header_cycles (ValaCodeContext* self); | void vala_code_context_find_header_cycles (ValaCodeContext* self); | |||
void vala_code_context_add_define (ValaCodeContext* self, const char* defin e); | void vala_code_context_add_define (ValaCodeContext* self, const char* defin e); | |||
gboolean vala_code_context_ignore_node (ValaCodeContext* self, ValaCodeNode * node); | gboolean vala_code_context_ignore_node (ValaCodeContext* self, ValaCodeNode * node); | |||
char* vala_code_context_get_package_path (ValaCodeContext* self, const char * pkg, int vapi_directories_length1, char** vapi_directories); | char* vala_code_context_get_package_path (ValaCodeContext* self, const char * pkg, int vapi_directories_length1, char** vapi_directories); | |||
ValaNamespace* vala_code_context_create_namespace (ValaCodeContext* self, c | void vala_code_context_add_dynamic_member (ValaCodeContext* self, ValaSymbo | |||
onst char* name, ValaSourceReference* source_reference); | l* dynamic_member); | |||
ValaClass* vala_code_context_create_class (ValaCodeContext* self, const cha | ||||
r* name, ValaSourceReference* source_reference); | ||||
ValaStruct* vala_code_context_create_struct (ValaCodeContext* self, const c | ||||
har* name, ValaSourceReference* source_reference); | ||||
ValaInterface* vala_code_context_create_interface (ValaCodeContext* self, c | ||||
onst char* name, ValaSourceReference* source_reference); | ||||
ValaEnum* vala_code_context_create_enum (ValaCodeContext* self, const char* | ||||
name, ValaSourceReference* source_reference); | ||||
ValaEnumValue* vala_code_context_create_enum_value (ValaCodeContext* self, | ||||
const char* name, ValaSourceReference* source_reference); | ||||
ValaEnumValue* vala_code_context_create_enum_value_with_value (ValaCodeCont | ||||
ext* self, const char* name, ValaExpression* value, ValaSourceReference* so | ||||
urce_reference); | ||||
ValaErrorDomain* vala_code_context_create_error_domain (ValaCodeContext* se | ||||
lf, const char* name, ValaSourceReference* source_reference); | ||||
ValaErrorCode* vala_code_context_create_error_code (ValaCodeContext* self, | ||||
const char* name); | ||||
ValaErrorCode* vala_code_context_create_error_code_with_value (ValaCodeCont | ||||
ext* self, const char* name, ValaExpression* value); | ||||
ValaDelegate* vala_code_context_create_delegate (ValaCodeContext* self, con | ||||
st char* name, ValaDataType* return_type, ValaSourceReference* source_refer | ||||
ence); | ||||
ValaConstant* vala_code_context_create_constant (ValaCodeContext* self, con | ||||
st char* name, ValaDataType* type_reference, ValaExpression* initializer, V | ||||
alaSourceReference* source_reference); | ||||
ValaField* vala_code_context_create_field (ValaCodeContext* self, const cha | ||||
r* name, ValaDataType* type_reference, ValaExpression* initializer, ValaSou | ||||
rceReference* source_reference); | ||||
ValaMethod* vala_code_context_create_method (ValaCodeContext* self, const c | ||||
har* name, ValaDataType* return_type, ValaSourceReference* source_reference | ||||
); | ||||
ValaCreationMethod* vala_code_context_create_creation_method (ValaCodeConte | ||||
xt* self, const char* type_name, const char* name, ValaSourceReference* sou | ||||
rce_reference); | ||||
ValaFormalParameter* vala_code_context_create_formal_parameter (ValaCodeCon | ||||
text* self, const char* name, ValaDataType* type_reference, ValaSourceRefer | ||||
ence* source_reference); | ||||
ValaFormalParameter* vala_code_context_create_formal_parameter_with_ellipsi | ||||
s (ValaCodeContext* self, ValaSourceReference* source_reference); | ||||
ValaProperty* vala_code_context_create_property (ValaCodeContext* self, con | ||||
st char* name, ValaDataType* type_reference, ValaPropertyAccessor* get_acce | ||||
ssor, ValaPropertyAccessor* set_accessor, ValaSourceReference* source_refer | ||||
ence); | ||||
ValaPropertyAccessor* vala_code_context_create_property_accessor (ValaCodeC | ||||
ontext* self, gboolean readable, gboolean writable, gboolean construction, | ||||
ValaBlock* body, ValaSourceReference* source_reference); | ||||
ValaSignal* vala_code_context_create_signal (ValaCodeContext* self, const c | ||||
har* name, ValaDataType* return_type, ValaSourceReference* source_reference | ||||
); | ||||
ValaConstructor* vala_code_context_create_constructor (ValaCodeContext* sel | ||||
f, ValaSourceReference* source_reference); | ||||
ValaDestructor* vala_code_context_create_destructor (ValaCodeContext* self, | ||||
ValaSourceReference* source_reference); | ||||
ValaTypeParameter* vala_code_context_create_type_parameter (ValaCodeContext | ||||
* self, const char* name, ValaSourceReference* source_reference); | ||||
ValaBlock* vala_code_context_create_block (ValaCodeContext* self, ValaSourc | ||||
eReference* source_reference); | ||||
ValaEmptyStatement* vala_code_context_create_empty_statement (ValaCodeConte | ||||
xt* self, ValaSourceReference* source_reference); | ||||
ValaDeclarationStatement* vala_code_context_create_declaration_statement (V | ||||
alaCodeContext* self, ValaLocalVariableDeclaration* declaration, ValaSource | ||||
Reference* source_reference); | ||||
ValaLocalVariableDeclaration* vala_code_context_create_local_variable_decla | ||||
ration (ValaCodeContext* self, ValaDataType* type_reference, ValaSourceRefe | ||||
rence* source_reference); | ||||
ValaLocalVariableDeclaration* vala_code_context_create_local_variable_decla | ||||
ration_var_type (ValaCodeContext* self, ValaSourceReference* source_referen | ||||
ce); | ||||
ValaVariableDeclarator* vala_code_context_create_variable_declarator (ValaC | ||||
odeContext* self, const char* name, ValaExpression* initializer, ValaSource | ||||
Reference* source_reference); | ||||
ValaInitializerList* vala_code_context_create_initializer_list (ValaCodeCon | ||||
text* self, ValaSourceReference* source_reference); | ||||
ValaExpressionStatement* vala_code_context_create_expression_statement (Val | ||||
aCodeContext* self, ValaExpression* expression, ValaSourceReference* source | ||||
_reference); | ||||
ValaIfStatement* vala_code_context_create_if_statement (ValaCodeContext* se | ||||
lf, ValaExpression* condition, ValaBlock* true_statement, ValaBlock* false_ | ||||
statement, ValaSourceReference* source_reference); | ||||
ValaSwitchStatement* vala_code_context_create_switch_statement (ValaCodeCon | ||||
text* self, ValaExpression* expression, ValaSourceReference* source_referen | ||||
ce); | ||||
ValaSwitchSection* vala_code_context_create_switch_section (ValaCodeContext | ||||
* self, ValaSourceReference* source_reference); | ||||
ValaSwitchLabel* vala_code_context_create_switch_label (ValaCodeContext* se | ||||
lf, ValaExpression* expression, ValaSourceReference* source_reference); | ||||
ValaSwitchLabel* vala_code_context_create_switch_label_with_default (ValaCo | ||||
deContext* self, ValaSourceReference* source_reference); | ||||
ValaWhileStatement* vala_code_context_create_while_statement (ValaCodeConte | ||||
xt* self, ValaExpression* condition, ValaBlock* body, ValaSourceReference* | ||||
source_reference); | ||||
ValaDoStatement* vala_code_context_create_do_statement (ValaCodeContext* se | ||||
lf, ValaBlock* body, ValaExpression* condition, ValaSourceReference* source | ||||
_reference); | ||||
ValaForStatement* vala_code_context_create_for_statement (ValaCodeContext* | ||||
self, ValaExpression* condition, ValaBlock* body, ValaSourceReference* sour | ||||
ce_reference); | ||||
ValaForeachStatement* vala_code_context_create_foreach_statement (ValaCodeC | ||||
ontext* self, ValaDataType* type_reference, const char* variable_name, Vala | ||||
Expression* collection, ValaBlock* body, ValaSourceReference* source_refere | ||||
nce); | ||||
ValaBreakStatement* vala_code_context_create_break_statement (ValaCodeConte | ||||
xt* self, ValaSourceReference* source_reference); | ||||
ValaContinueStatement* vala_code_context_create_continue_statement (ValaCod | ||||
eContext* self, ValaSourceReference* source_reference); | ||||
ValaReturnStatement* vala_code_context_create_return_statement (ValaCodeCon | ||||
text* self, ValaExpression* return_expression, ValaSourceReference* source_ | ||||
reference); | ||||
ValaThrowStatement* vala_code_context_create_throw_statement (ValaCodeConte | ||||
xt* self, ValaExpression* error_expression, ValaSourceReference* source_ref | ||||
erence); | ||||
ValaTryStatement* vala_code_context_create_try_statement (ValaCodeContext* | ||||
self, ValaBlock* body, ValaBlock* finally_body, ValaSourceReference* source | ||||
_reference); | ||||
ValaCatchClause* vala_code_context_create_catch_clause (ValaCodeContext* se | ||||
lf, ValaDataType* type_reference, const char* variable_name, ValaBlock* bod | ||||
y, ValaSourceReference* source_reference); | ||||
ValaLockStatement* vala_code_context_create_lock_statement (ValaCodeContext | ||||
* self, ValaExpression* resource, ValaBlock* body, ValaSourceReference* sou | ||||
rce_reference); | ||||
ValaDeleteStatement* vala_code_context_create_delete_statement (ValaCodeCon | ||||
text* self, ValaExpression* expression, ValaSourceReference* source_referen | ||||
ce); | ||||
ValaArrayCreationExpression* vala_code_context_create_array_creation_expres | ||||
sion (ValaCodeContext* self, ValaDataType* element_type, gint rank, ValaIni | ||||
tializerList* initializer_list, ValaSourceReference* source_reference); | ||||
ValaBooleanLiteral* vala_code_context_create_boolean_literal (ValaCodeConte | ||||
xt* self, gboolean value, ValaSourceReference* source_reference); | ||||
ValaCharacterLiteral* vala_code_context_create_character_literal (ValaCodeC | ||||
ontext* self, const char* value, ValaSourceReference* source_reference); | ||||
ValaIntegerLiteral* vala_code_context_create_integer_literal (ValaCodeConte | ||||
xt* self, const char* value, ValaSourceReference* source_reference); | ||||
ValaRealLiteral* vala_code_context_create_real_literal (ValaCodeContext* se | ||||
lf, const char* value, ValaSourceReference* source_reference); | ||||
ValaStringLiteral* vala_code_context_create_string_literal (ValaCodeContext | ||||
* self, const char* value, ValaSourceReference* source_reference); | ||||
ValaNullLiteral* vala_code_context_create_null_literal (ValaCodeContext* se | ||||
lf, ValaSourceReference* source_reference); | ||||
ValaParenthesizedExpression* vala_code_context_create_parenthesized_express | ||||
ion (ValaCodeContext* self, ValaExpression* inner, ValaSourceReference* sou | ||||
rce_reference); | ||||
ValaMemberAccess* vala_code_context_create_member_access (ValaCodeContext* | ||||
self, ValaExpression* inner, const char* member_name, ValaSourceReference* | ||||
source_reference); | ||||
ValaMemberAccess* vala_code_context_create_member_access_simple (ValaCodeCo | ||||
ntext* self, const char* member_name, ValaSourceReference* source_reference | ||||
); | ||||
ValaMemberAccess* vala_code_context_create_member_access_pointer (ValaCodeC | ||||
ontext* self, ValaExpression* inner, const char* member_name, ValaSourceRef | ||||
erence* source_reference); | ||||
ValaInvocationExpression* vala_code_context_create_invocation_expression (V | ||||
alaCodeContext* self, ValaExpression* call, ValaSourceReference* source_ref | ||||
erence); | ||||
ValaElementAccess* vala_code_context_create_element_access (ValaCodeContext | ||||
* self, ValaExpression* container, ValaSourceReference* source_reference); | ||||
ValaBaseAccess* vala_code_context_create_base_access (ValaCodeContext* self | ||||
, ValaSourceReference* source_reference); | ||||
ValaPostfixExpression* vala_code_context_create_postfix_expression (ValaCod | ||||
eContext* self, ValaExpression* inner, gboolean increment, ValaSourceRefere | ||||
nce* source_reference); | ||||
ValaObjectCreationExpression* vala_code_context_create_object_creation_expr | ||||
ession (ValaCodeContext* self, ValaMemberAccess* member_name, ValaSourceRef | ||||
erence* source_reference); | ||||
ValaSizeofExpression* vala_code_context_create_sizeof_expression (ValaCodeC | ||||
ontext* self, ValaDataType* type_reference, ValaSourceReference* source_ref | ||||
erence); | ||||
ValaTypeofExpression* vala_code_context_create_typeof_expression (ValaCodeC | ||||
ontext* self, ValaDataType* type_reference, ValaSourceReference* source_ref | ||||
erence); | ||||
ValaUnaryExpression* vala_code_context_create_unary_expression (ValaCodeCon | ||||
text* self, ValaUnaryOperator operator, ValaExpression* inner, ValaSourceRe | ||||
ference* source_reference); | ||||
ValaCastExpression* vala_code_context_create_cast_expression (ValaCodeConte | ||||
xt* self, ValaExpression* inner, ValaDataType* type_reference, ValaSourceRe | ||||
ference* source_reference, gboolean is_silent_cast); | ||||
ValaPointerIndirection* vala_code_context_create_pointer_indirection (ValaC | ||||
odeContext* self, ValaExpression* inner, ValaSourceReference* source_refere | ||||
nce); | ||||
ValaAddressofExpression* vala_code_context_create_addressof_expression (Val | ||||
aCodeContext* self, ValaExpression* inner, ValaSourceReference* source_refe | ||||
rence); | ||||
ValaReferenceTransferExpression* vala_code_context_create_reference_transfe | ||||
r_expression (ValaCodeContext* self, ValaExpression* inner, ValaSourceRefer | ||||
ence* source_reference); | ||||
ValaBinaryExpression* vala_code_context_create_binary_expression (ValaCodeC | ||||
ontext* self, ValaBinaryOperator operator, ValaExpression* left, ValaExpres | ||||
sion* right, ValaSourceReference* source_reference); | ||||
ValaTypeCheck* vala_code_context_create_type_check (ValaCodeContext* self, | ||||
ValaExpression* expression, ValaDataType* type_reference, ValaSourceReferen | ||||
ce* source_reference); | ||||
ValaConditionalExpression* vala_code_context_create_conditional_expression | ||||
(ValaCodeContext* self, ValaExpression* condition, ValaExpression* true_exp | ||||
ression, ValaExpression* false_expression, ValaSourceReference* source_refe | ||||
rence); | ||||
ValaLambdaExpression* vala_code_context_create_lambda_expression (ValaCodeC | ||||
ontext* self, ValaExpression* expression_body, ValaSourceReference* source_ | ||||
reference); | ||||
ValaLambdaExpression* vala_code_context_create_lambda_expression_with_state | ||||
ment_body (ValaCodeContext* self, ValaBlock* statement_body, ValaSourceRefe | ||||
rence* source_reference); | ||||
ValaAssignment* vala_code_context_create_assignment (ValaCodeContext* self, | ||||
ValaExpression* left, ValaExpression* right, ValaAssignmentOperator operat | ||||
or, ValaSourceReference* source_reference); | ||||
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); | |||
gboolean vala_code_context_get_checking (ValaCodeContext* self); | gboolean vala_code_context_get_checking (ValaCodeContext* self); | |||
void vala_code_context_set_checking (ValaCodeContext* self, gboolean value) ; | void vala_code_context_set_checking (ValaCodeContext* self, gboolean value) ; | |||
gboolean vala_code_context_get_non_null (ValaCodeContext* self); | gboolean vala_code_context_get_non_null (ValaCodeContext* self); | |||
void vala_code_context_set_non_null (ValaCodeContext* self, gboolean value) ; | void vala_code_context_set_non_null (ValaCodeContext* self, gboolean value) ; | |||
gboolean vala_code_context_get_non_null_experimental (ValaCodeContext* self | ||||
); | ||||
void vala_code_context_set_non_null_experimental (ValaCodeContext* self, gb | ||||
oolean value); | ||||
gboolean vala_code_context_get_ccode_only (ValaCodeContext* self); | gboolean vala_code_context_get_ccode_only (ValaCodeContext* self); | |||
void vala_code_context_set_ccode_only (ValaCodeContext* self, gboolean valu e); | void vala_code_context_set_ccode_only (ValaCodeContext* self, gboolean valu e); | |||
gboolean vala_code_context_get_compile_only (ValaCodeContext* self); | gboolean vala_code_context_get_compile_only (ValaCodeContext* self); | |||
void vala_code_context_set_compile_only (ValaCodeContext* self, gboolean va lue); | void vala_code_context_set_compile_only (ValaCodeContext* self, gboolean va lue); | |||
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 ); | |||
char* vala_code_context_get_basedir (ValaCodeContext* self); | char* vala_code_context_get_basedir (ValaCodeContext* self); | |||
void vala_code_context_set_basedir (ValaCodeContext* self, const char* valu e); | void vala_code_context_set_basedir (ValaCodeContext* self, const char* valu e); | |||
char* vala_code_context_get_directory (ValaCodeContext* self); | char* vala_code_context_get_directory (ValaCodeContext* self); | |||
void vala_code_context_set_directory (ValaCodeContext* self, const char* va lue); | void vala_code_context_set_directory (ValaCodeContext* self, const char* va lue); | |||
End of changes. 4 change blocks. | ||||
209 lines changed or deleted | 6 lines changed or added | |||
valacodegenerator.h | valacodegenerator.h | |||
---|---|---|---|---|
skipping to change at line 65 | skipping to change at line 65 | |||
ValaCodeBinding* (*create_struct_binding) (ValaCodeGenerator* self, ValaStruct* node); | ValaCodeBinding* (*create_struct_binding) (ValaCodeGenerator* self, ValaStruct* node); | |||
ValaCodeBinding* (*create_interface_binding) (ValaCodeGenerator* sel f, ValaInterface* node); | ValaCodeBinding* (*create_interface_binding) (ValaCodeGenerator* sel f, ValaInterface* node); | |||
ValaCodeBinding* (*create_enum_binding) (ValaCodeGenerator* self, Va laEnum* node); | ValaCodeBinding* (*create_enum_binding) (ValaCodeGenerator* self, Va laEnum* node); | |||
ValaCodeBinding* (*create_enum_value_binding) (ValaCodeGenerator* se lf, ValaEnumValue* node); | ValaCodeBinding* (*create_enum_value_binding) (ValaCodeGenerator* se lf, ValaEnumValue* node); | |||
ValaCodeBinding* (*create_error_domain_binding) (ValaCodeGenerator* self, ValaErrorDomain* node); | ValaCodeBinding* (*create_error_domain_binding) (ValaCodeGenerator* self, ValaErrorDomain* node); | |||
ValaCodeBinding* (*create_error_code_binding) (ValaCodeGenerator* se lf, ValaErrorCode* node); | ValaCodeBinding* (*create_error_code_binding) (ValaCodeGenerator* se lf, ValaErrorCode* node); | |||
ValaCodeBinding* (*create_delegate_binding) (ValaCodeGenerator* self , ValaDelegate* node); | ValaCodeBinding* (*create_delegate_binding) (ValaCodeGenerator* self , ValaDelegate* node); | |||
ValaCodeBinding* (*create_constant_binding) (ValaCodeGenerator* self , ValaConstant* node); | ValaCodeBinding* (*create_constant_binding) (ValaCodeGenerator* self , ValaConstant* node); | |||
ValaCodeBinding* (*create_field_binding) (ValaCodeGenerator* self, V alaField* node); | ValaCodeBinding* (*create_field_binding) (ValaCodeGenerator* self, V alaField* node); | |||
ValaCodeBinding* (*create_method_binding) (ValaCodeGenerator* self, ValaMethod* node); | ValaCodeBinding* (*create_method_binding) (ValaCodeGenerator* self, ValaMethod* node); | |||
ValaCodeBinding* (*create_dynamic_method_binding) (ValaCodeGenerator * self, ValaDynamicMethod* node); | ||||
ValaCodeBinding* (*create_creation_method_binding) (ValaCodeGenerato r* self, ValaCreationMethod* node); | ValaCodeBinding* (*create_creation_method_binding) (ValaCodeGenerato r* self, ValaCreationMethod* node); | |||
ValaCodeBinding* (*create_formal_parameter_binding) (ValaCodeGenerat or* self, ValaFormalParameter* node); | ValaCodeBinding* (*create_formal_parameter_binding) (ValaCodeGenerat or* self, ValaFormalParameter* node); | |||
ValaCodeBinding* (*create_property_binding) (ValaCodeGenerator* self , ValaProperty* node); | ValaCodeBinding* (*create_property_binding) (ValaCodeGenerator* self , ValaProperty* node); | |||
ValaCodeBinding* (*create_property_accessor_binding) (ValaCodeGenera tor* self, ValaPropertyAccessor* node); | ValaCodeBinding* (*create_property_accessor_binding) (ValaCodeGenera tor* self, ValaPropertyAccessor* node); | |||
ValaCodeBinding* (*create_signal_binding) (ValaCodeGenerator* self, ValaSignal* node); | ValaCodeBinding* (*create_signal_binding) (ValaCodeGenerator* self, ValaSignal* node); | |||
ValaCodeBinding* (*create_dynamic_signal_binding) (ValaCodeGenerator * self, ValaDynamicSignal* node); | ||||
ValaCodeBinding* (*create_constructor_binding) (ValaCodeGenerator* s elf, ValaConstructor* node); | ValaCodeBinding* (*create_constructor_binding) (ValaCodeGenerator* s elf, ValaConstructor* node); | |||
ValaCodeBinding* (*create_destructor_binding) (ValaCodeGenerator* se lf, ValaDestructor* node); | ValaCodeBinding* (*create_destructor_binding) (ValaCodeGenerator* se lf, ValaDestructor* node); | |||
ValaCodeBinding* (*create_type_parameter_binding) (ValaCodeGenerator * self, ValaTypeParameter* node); | ValaCodeBinding* (*create_type_parameter_binding) (ValaCodeGenerator * self, ValaTypeParameter* node); | |||
ValaCodeBinding* (*create_block_binding) (ValaCodeGenerator* self, V alaBlock* node); | ValaCodeBinding* (*create_block_binding) (ValaCodeGenerator* self, V alaBlock* node); | |||
ValaCodeBinding* (*create_empty_statement_binding) (ValaCodeGenerato r* self, ValaEmptyStatement* node); | ValaCodeBinding* (*create_empty_statement_binding) (ValaCodeGenerato r* self, ValaEmptyStatement* node); | |||
ValaCodeBinding* (*create_declaration_statement_binding) (ValaCodeGe nerator* self, ValaDeclarationStatement* node); | ValaCodeBinding* (*create_declaration_statement_binding) (ValaCodeGe nerator* self, ValaDeclarationStatement* node); | |||
ValaCodeBinding* (*create_local_variable_declaration_binding) (ValaC | ValaCodeBinding* (*create_local_variable_binding) (ValaCodeGenerator | |||
odeGenerator* self, ValaLocalVariableDeclaration* node); | * self, ValaLocalVariable* node); | |||
ValaCodeBinding* (*create_variable_declarator_binding) (ValaCodeGene | ||||
rator* self, ValaVariableDeclarator* node); | ||||
ValaCodeBinding* (*create_initializer_list_binding) (ValaCodeGenerat or* self, ValaInitializerList* node); | ValaCodeBinding* (*create_initializer_list_binding) (ValaCodeGenerat or* self, ValaInitializerList* node); | |||
ValaCodeBinding* (*create_expression_statement_binding) (ValaCodeGen erator* self, ValaExpressionStatement* node); | ValaCodeBinding* (*create_expression_statement_binding) (ValaCodeGen erator* self, ValaExpressionStatement* node); | |||
ValaCodeBinding* (*create_if_statement_binding) (ValaCodeGenerator* self, ValaIfStatement* node); | ValaCodeBinding* (*create_if_statement_binding) (ValaCodeGenerator* self, ValaIfStatement* node); | |||
ValaCodeBinding* (*create_switch_statement_binding) (ValaCodeGenerat or* self, ValaSwitchStatement* node); | ValaCodeBinding* (*create_switch_statement_binding) (ValaCodeGenerat or* self, ValaSwitchStatement* node); | |||
ValaCodeBinding* (*create_switch_section_binding) (ValaCodeGenerator * self, ValaSwitchSection* node); | ValaCodeBinding* (*create_switch_section_binding) (ValaCodeGenerator * self, ValaSwitchSection* node); | |||
ValaCodeBinding* (*create_switch_label_binding) (ValaCodeGenerator* self, ValaSwitchLabel* node); | ValaCodeBinding* (*create_switch_label_binding) (ValaCodeGenerator* self, ValaSwitchLabel* node); | |||
ValaCodeBinding* (*create_while_statement_binding) (ValaCodeGenerato r* self, ValaWhileStatement* node); | ValaCodeBinding* (*create_while_statement_binding) (ValaCodeGenerato r* self, ValaWhileStatement* node); | |||
ValaCodeBinding* (*create_do_statement_binding) (ValaCodeGenerator* self, ValaDoStatement* node); | ValaCodeBinding* (*create_do_statement_binding) (ValaCodeGenerator* self, ValaDoStatement* node); | |||
ValaCodeBinding* (*create_for_statement_binding) (ValaCodeGenerator* self, ValaForStatement* node); | ValaCodeBinding* (*create_for_statement_binding) (ValaCodeGenerator* self, ValaForStatement* node); | |||
ValaCodeBinding* (*create_foreach_statement_binding) (ValaCodeGenera tor* self, ValaForeachStatement* node); | ValaCodeBinding* (*create_foreach_statement_binding) (ValaCodeGenera tor* self, ValaForeachStatement* node); | |||
skipping to change at line 105 | skipping to change at line 106 | |||
ValaCodeBinding* (*create_delete_statement_binding) (ValaCodeGenerat or* self, ValaDeleteStatement* node); | ValaCodeBinding* (*create_delete_statement_binding) (ValaCodeGenerat or* self, ValaDeleteStatement* node); | |||
ValaCodeBinding* (*create_array_creation_expression_binding) (ValaCo deGenerator* self, ValaArrayCreationExpression* node); | ValaCodeBinding* (*create_array_creation_expression_binding) (ValaCo deGenerator* self, ValaArrayCreationExpression* node); | |||
ValaCodeBinding* (*create_boolean_literal_binding) (ValaCodeGenerato r* self, ValaBooleanLiteral* node); | ValaCodeBinding* (*create_boolean_literal_binding) (ValaCodeGenerato r* self, ValaBooleanLiteral* node); | |||
ValaCodeBinding* (*create_character_literal_binding) (ValaCodeGenera tor* self, ValaCharacterLiteral* node); | ValaCodeBinding* (*create_character_literal_binding) (ValaCodeGenera tor* self, ValaCharacterLiteral* node); | |||
ValaCodeBinding* (*create_integer_literal_binding) (ValaCodeGenerato r* self, ValaIntegerLiteral* node); | ValaCodeBinding* (*create_integer_literal_binding) (ValaCodeGenerato r* self, ValaIntegerLiteral* node); | |||
ValaCodeBinding* (*create_real_literal_binding) (ValaCodeGenerator* self, ValaRealLiteral* node); | ValaCodeBinding* (*create_real_literal_binding) (ValaCodeGenerator* self, ValaRealLiteral* node); | |||
ValaCodeBinding* (*create_string_literal_binding) (ValaCodeGenerator * self, ValaStringLiteral* node); | ValaCodeBinding* (*create_string_literal_binding) (ValaCodeGenerator * self, ValaStringLiteral* node); | |||
ValaCodeBinding* (*create_null_literal_binding) (ValaCodeGenerator* self, ValaNullLiteral* node); | ValaCodeBinding* (*create_null_literal_binding) (ValaCodeGenerator* self, ValaNullLiteral* node); | |||
ValaCodeBinding* (*create_parenthesized_expression_binding) (ValaCod eGenerator* self, ValaParenthesizedExpression* node); | ValaCodeBinding* (*create_parenthesized_expression_binding) (ValaCod eGenerator* self, ValaParenthesizedExpression* node); | |||
ValaCodeBinding* (*create_member_access_binding) (ValaCodeGenerator* self, ValaMemberAccess* node); | ValaCodeBinding* (*create_member_access_binding) (ValaCodeGenerator* self, ValaMemberAccess* node); | |||
ValaCodeBinding* (*create_member_access_simple_binding) (ValaCodeGen erator* self, ValaMemberAccess* node); | ||||
ValaCodeBinding* (*create_invocation_expression_binding) (ValaCodeGe nerator* self, ValaInvocationExpression* node); | ValaCodeBinding* (*create_invocation_expression_binding) (ValaCodeGe nerator* self, ValaInvocationExpression* node); | |||
ValaCodeBinding* (*create_element_access_binding) (ValaCodeGenerator * self, ValaElementAccess* node); | ValaCodeBinding* (*create_element_access_binding) (ValaCodeGenerator * self, ValaElementAccess* node); | |||
ValaCodeBinding* (*create_base_access_binding) (ValaCodeGenerator* s elf, ValaBaseAccess* node); | ValaCodeBinding* (*create_base_access_binding) (ValaCodeGenerator* s elf, ValaBaseAccess* node); | |||
ValaCodeBinding* (*create_postfix_expression_binding) (ValaCodeGener ator* self, ValaPostfixExpression* node); | ValaCodeBinding* (*create_postfix_expression_binding) (ValaCodeGener ator* self, ValaPostfixExpression* node); | |||
ValaCodeBinding* (*create_object_creation_expression_binding) (ValaC odeGenerator* self, ValaObjectCreationExpression* node); | ValaCodeBinding* (*create_object_creation_expression_binding) (ValaC odeGenerator* self, ValaObjectCreationExpression* node); | |||
ValaCodeBinding* (*create_sizeof_expression_binding) (ValaCodeGenera tor* self, ValaSizeofExpression* node); | ValaCodeBinding* (*create_sizeof_expression_binding) (ValaCodeGenera tor* self, ValaSizeofExpression* node); | |||
ValaCodeBinding* (*create_typeof_expression_binding) (ValaCodeGenera tor* self, ValaTypeofExpression* node); | ValaCodeBinding* (*create_typeof_expression_binding) (ValaCodeGenera tor* self, ValaTypeofExpression* node); | |||
ValaCodeBinding* (*create_unary_expression_binding) (ValaCodeGenerat or* self, ValaUnaryExpression* node); | ValaCodeBinding* (*create_unary_expression_binding) (ValaCodeGenerat or* self, ValaUnaryExpression* node); | |||
ValaCodeBinding* (*create_cast_expression_binding) (ValaCodeGenerato r* self, ValaCastExpression* node); | ValaCodeBinding* (*create_cast_expression_binding) (ValaCodeGenerato r* self, ValaCastExpression* node); | |||
ValaCodeBinding* (*create_pointer_indirection_binding) (ValaCodeGene rator* self, ValaPointerIndirection* node); | ValaCodeBinding* (*create_pointer_indirection_binding) (ValaCodeGene rator* self, ValaPointerIndirection* node); | |||
ValaCodeBinding* (*create_addressof_expression_binding) (ValaCodeGen erator* self, ValaAddressofExpression* node); | ValaCodeBinding* (*create_addressof_expression_binding) (ValaCodeGen erator* self, ValaAddressofExpression* node); | |||
ValaCodeBinding* (*create_reference_transfer_expression_binding) (Va laCodeGenerator* self, ValaReferenceTransferExpression* node); | ValaCodeBinding* (*create_reference_transfer_expression_binding) (Va laCodeGenerator* self, ValaReferenceTransferExpression* node); | |||
ValaCodeBinding* (*create_binary_expression_binding) (ValaCodeGenera tor* self, ValaBinaryExpression* node); | ValaCodeBinding* (*create_binary_expression_binding) (ValaCodeGenera tor* self, ValaBinaryExpression* node); | |||
ValaCodeBinding* (*create_type_check_binding) (ValaCodeGenerator* se lf, ValaTypeCheck* node); | ValaCodeBinding* (*create_type_check_binding) (ValaCodeGenerator* se lf, ValaTypeCheck* node); | |||
ValaCodeBinding* (*create_conditional_expression_binding) (ValaCodeG enerator* self, ValaConditionalExpression* node); | ValaCodeBinding* (*create_conditional_expression_binding) (ValaCodeG enerator* self, ValaConditionalExpression* node); | |||
ValaCodeBinding* (*create_lambda_expression_binding) (ValaCodeGenera tor* self, ValaLambdaExpression* node); | ValaCodeBinding* (*create_lambda_expression_binding) (ValaCodeGenera tor* self, ValaLambdaExpression* node); | |||
ValaCodeBinding* (*create_lambda_expression_with_statement_body_bind ing) (ValaCodeGenerator* self, ValaLambdaExpression* node); | ||||
ValaCodeBinding* (*create_assignment_binding) (ValaCodeGenerator* se lf, ValaAssignment* node); | ValaCodeBinding* (*create_assignment_binding) (ValaCodeGenerator* se lf, ValaAssignment* node); | |||
}; | }; | |||
void vala_code_generator_emit (ValaCodeGenerator* self, ValaCodeContext* co ntext); | void vala_code_generator_emit (ValaCodeGenerator* self, ValaCodeContext* co ntext); | |||
ValaCodeBinding* vala_code_generator_create_namespace_binding (ValaCodeGene rator* self, ValaNamespace* node); | ValaCodeBinding* vala_code_generator_create_namespace_binding (ValaCodeGene rator* self, ValaNamespace* node); | |||
ValaCodeBinding* vala_code_generator_create_class_binding (ValaCodeGenerato r* self, ValaClass* node); | ValaCodeBinding* vala_code_generator_create_class_binding (ValaCodeGenerato r* self, ValaClass* node); | |||
ValaCodeBinding* vala_code_generator_create_struct_binding (ValaCodeGenerat or* self, ValaStruct* node); | ValaCodeBinding* vala_code_generator_create_struct_binding (ValaCodeGenerat or* self, ValaStruct* node); | |||
ValaCodeBinding* vala_code_generator_create_interface_binding (ValaCodeGene rator* self, ValaInterface* node); | ValaCodeBinding* vala_code_generator_create_interface_binding (ValaCodeGene rator* self, ValaInterface* node); | |||
ValaCodeBinding* vala_code_generator_create_enum_binding (ValaCodeGenerator * self, ValaEnum* node); | ValaCodeBinding* vala_code_generator_create_enum_binding (ValaCodeGenerator * self, ValaEnum* node); | |||
ValaCodeBinding* vala_code_generator_create_enum_value_binding (ValaCodeGen erator* self, ValaEnumValue* node); | ValaCodeBinding* vala_code_generator_create_enum_value_binding (ValaCodeGen erator* self, ValaEnumValue* node); | |||
ValaCodeBinding* vala_code_generator_create_error_domain_binding (ValaCodeG enerator* self, ValaErrorDomain* node); | ValaCodeBinding* vala_code_generator_create_error_domain_binding (ValaCodeG enerator* self, ValaErrorDomain* node); | |||
ValaCodeBinding* vala_code_generator_create_error_code_binding (ValaCodeGen erator* self, ValaErrorCode* node); | ValaCodeBinding* vala_code_generator_create_error_code_binding (ValaCodeGen erator* self, ValaErrorCode* node); | |||
ValaCodeBinding* vala_code_generator_create_delegate_binding (ValaCodeGener ator* self, ValaDelegate* node); | ValaCodeBinding* vala_code_generator_create_delegate_binding (ValaCodeGener ator* self, ValaDelegate* node); | |||
ValaCodeBinding* vala_code_generator_create_constant_binding (ValaCodeGener ator* self, ValaConstant* node); | ValaCodeBinding* vala_code_generator_create_constant_binding (ValaCodeGener ator* self, ValaConstant* node); | |||
ValaCodeBinding* vala_code_generator_create_field_binding (ValaCodeGenerato r* self, ValaField* node); | ValaCodeBinding* vala_code_generator_create_field_binding (ValaCodeGenerato r* self, ValaField* node); | |||
ValaCodeBinding* vala_code_generator_create_method_binding (ValaCodeGenerat or* self, ValaMethod* node); | ValaCodeBinding* vala_code_generator_create_method_binding (ValaCodeGenerat or* self, ValaMethod* node); | |||
ValaCodeBinding* vala_code_generator_create_dynamic_method_binding (ValaCod eGenerator* self, ValaDynamicMethod* node); | ||||
ValaCodeBinding* vala_code_generator_create_creation_method_binding (ValaCo deGenerator* self, ValaCreationMethod* node); | ValaCodeBinding* vala_code_generator_create_creation_method_binding (ValaCo deGenerator* self, ValaCreationMethod* node); | |||
ValaCodeBinding* vala_code_generator_create_formal_parameter_binding (ValaC odeGenerator* self, ValaFormalParameter* node); | ValaCodeBinding* vala_code_generator_create_formal_parameter_binding (ValaC odeGenerator* self, ValaFormalParameter* node); | |||
ValaCodeBinding* vala_code_generator_create_property_binding (ValaCodeGener ator* self, ValaProperty* node); | ValaCodeBinding* vala_code_generator_create_property_binding (ValaCodeGener ator* self, ValaProperty* node); | |||
ValaCodeBinding* vala_code_generator_create_property_accessor_binding (Vala CodeGenerator* self, ValaPropertyAccessor* node); | ValaCodeBinding* vala_code_generator_create_property_accessor_binding (Vala CodeGenerator* self, ValaPropertyAccessor* node); | |||
ValaCodeBinding* vala_code_generator_create_signal_binding (ValaCodeGenerat or* self, ValaSignal* node); | ValaCodeBinding* vala_code_generator_create_signal_binding (ValaCodeGenerat or* self, ValaSignal* node); | |||
ValaCodeBinding* vala_code_generator_create_dynamic_signal_binding (ValaCod eGenerator* self, ValaDynamicSignal* node); | ||||
ValaCodeBinding* vala_code_generator_create_constructor_binding (ValaCodeGe nerator* self, ValaConstructor* node); | ValaCodeBinding* vala_code_generator_create_constructor_binding (ValaCodeGe nerator* self, ValaConstructor* node); | |||
ValaCodeBinding* vala_code_generator_create_destructor_binding (ValaCodeGen erator* self, ValaDestructor* node); | ValaCodeBinding* vala_code_generator_create_destructor_binding (ValaCodeGen erator* self, ValaDestructor* node); | |||
ValaCodeBinding* vala_code_generator_create_type_parameter_binding (ValaCod eGenerator* self, ValaTypeParameter* node); | ValaCodeBinding* vala_code_generator_create_type_parameter_binding (ValaCod eGenerator* self, ValaTypeParameter* node); | |||
ValaCodeBinding* vala_code_generator_create_block_binding (ValaCodeGenerato r* self, ValaBlock* node); | ValaCodeBinding* vala_code_generator_create_block_binding (ValaCodeGenerato r* self, ValaBlock* node); | |||
ValaCodeBinding* vala_code_generator_create_empty_statement_binding (ValaCo deGenerator* self, ValaEmptyStatement* node); | ValaCodeBinding* vala_code_generator_create_empty_statement_binding (ValaCo deGenerator* self, ValaEmptyStatement* node); | |||
ValaCodeBinding* vala_code_generator_create_declaration_statement_binding ( ValaCodeGenerator* self, ValaDeclarationStatement* node); | ValaCodeBinding* vala_code_generator_create_declaration_statement_binding ( ValaCodeGenerator* self, ValaDeclarationStatement* node); | |||
ValaCodeBinding* vala_code_generator_create_local_variable_declaration_bind | ValaCodeBinding* vala_code_generator_create_local_variable_binding (ValaCod | |||
ing (ValaCodeGenerator* self, ValaLocalVariableDeclaration* node); | eGenerator* self, ValaLocalVariable* node); | |||
ValaCodeBinding* vala_code_generator_create_variable_declarator_binding (Va | ||||
laCodeGenerator* self, ValaVariableDeclarator* node); | ||||
ValaCodeBinding* vala_code_generator_create_initializer_list_binding (ValaC odeGenerator* self, ValaInitializerList* node); | ValaCodeBinding* vala_code_generator_create_initializer_list_binding (ValaC odeGenerator* self, ValaInitializerList* node); | |||
ValaCodeBinding* vala_code_generator_create_expression_statement_binding (V alaCodeGenerator* self, ValaExpressionStatement* node); | ValaCodeBinding* vala_code_generator_create_expression_statement_binding (V alaCodeGenerator* self, ValaExpressionStatement* node); | |||
ValaCodeBinding* vala_code_generator_create_if_statement_binding (ValaCodeG enerator* self, ValaIfStatement* node); | ValaCodeBinding* vala_code_generator_create_if_statement_binding (ValaCodeG enerator* self, ValaIfStatement* node); | |||
ValaCodeBinding* vala_code_generator_create_switch_statement_binding (ValaC odeGenerator* self, ValaSwitchStatement* node); | ValaCodeBinding* vala_code_generator_create_switch_statement_binding (ValaC odeGenerator* self, ValaSwitchStatement* node); | |||
ValaCodeBinding* vala_code_generator_create_switch_section_binding (ValaCod eGenerator* self, ValaSwitchSection* node); | ValaCodeBinding* vala_code_generator_create_switch_section_binding (ValaCod eGenerator* self, ValaSwitchSection* node); | |||
ValaCodeBinding* vala_code_generator_create_switch_label_binding (ValaCodeG enerator* self, ValaSwitchLabel* node); | ValaCodeBinding* vala_code_generator_create_switch_label_binding (ValaCodeG enerator* self, ValaSwitchLabel* node); | |||
ValaCodeBinding* vala_code_generator_create_while_statement_binding (ValaCo deGenerator* self, ValaWhileStatement* node); | ValaCodeBinding* vala_code_generator_create_while_statement_binding (ValaCo deGenerator* self, ValaWhileStatement* node); | |||
ValaCodeBinding* vala_code_generator_create_do_statement_binding (ValaCodeG enerator* self, ValaDoStatement* node); | ValaCodeBinding* vala_code_generator_create_do_statement_binding (ValaCodeG enerator* self, ValaDoStatement* node); | |||
ValaCodeBinding* vala_code_generator_create_for_statement_binding (ValaCode Generator* self, ValaForStatement* node); | ValaCodeBinding* vala_code_generator_create_for_statement_binding (ValaCode Generator* self, ValaForStatement* node); | |||
ValaCodeBinding* vala_code_generator_create_foreach_statement_binding (Vala CodeGenerator* self, ValaForeachStatement* node); | ValaCodeBinding* vala_code_generator_create_foreach_statement_binding (Vala CodeGenerator* self, ValaForeachStatement* node); | |||
skipping to change at line 179 | skipping to change at line 179 | |||
ValaCodeBinding* vala_code_generator_create_delete_statement_binding (ValaC odeGenerator* self, ValaDeleteStatement* node); | ValaCodeBinding* vala_code_generator_create_delete_statement_binding (ValaC odeGenerator* self, ValaDeleteStatement* node); | |||
ValaCodeBinding* vala_code_generator_create_array_creation_expression_bindi ng (ValaCodeGenerator* self, ValaArrayCreationExpression* node); | ValaCodeBinding* vala_code_generator_create_array_creation_expression_bindi ng (ValaCodeGenerator* self, ValaArrayCreationExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_boolean_literal_binding (ValaCo deGenerator* self, ValaBooleanLiteral* node); | ValaCodeBinding* vala_code_generator_create_boolean_literal_binding (ValaCo deGenerator* self, ValaBooleanLiteral* node); | |||
ValaCodeBinding* vala_code_generator_create_character_literal_binding (Vala CodeGenerator* self, ValaCharacterLiteral* node); | ValaCodeBinding* vala_code_generator_create_character_literal_binding (Vala CodeGenerator* self, ValaCharacterLiteral* node); | |||
ValaCodeBinding* vala_code_generator_create_integer_literal_binding (ValaCo deGenerator* self, ValaIntegerLiteral* node); | ValaCodeBinding* vala_code_generator_create_integer_literal_binding (ValaCo deGenerator* self, ValaIntegerLiteral* node); | |||
ValaCodeBinding* vala_code_generator_create_real_literal_binding (ValaCodeG enerator* self, ValaRealLiteral* node); | ValaCodeBinding* vala_code_generator_create_real_literal_binding (ValaCodeG enerator* self, ValaRealLiteral* node); | |||
ValaCodeBinding* vala_code_generator_create_string_literal_binding (ValaCod eGenerator* self, ValaStringLiteral* node); | ValaCodeBinding* vala_code_generator_create_string_literal_binding (ValaCod eGenerator* self, ValaStringLiteral* node); | |||
ValaCodeBinding* vala_code_generator_create_null_literal_binding (ValaCodeG enerator* self, ValaNullLiteral* node); | ValaCodeBinding* vala_code_generator_create_null_literal_binding (ValaCodeG enerator* self, ValaNullLiteral* node); | |||
ValaCodeBinding* vala_code_generator_create_parenthesized_expression_bindin g (ValaCodeGenerator* self, ValaParenthesizedExpression* node); | ValaCodeBinding* vala_code_generator_create_parenthesized_expression_bindin g (ValaCodeGenerator* self, ValaParenthesizedExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_member_access_binding (ValaCode Generator* self, ValaMemberAccess* node); | ValaCodeBinding* vala_code_generator_create_member_access_binding (ValaCode Generator* self, ValaMemberAccess* node); | |||
ValaCodeBinding* vala_code_generator_create_member_access_simple_binding (V alaCodeGenerator* self, ValaMemberAccess* node); | ||||
ValaCodeBinding* vala_code_generator_create_invocation_expression_binding ( ValaCodeGenerator* self, ValaInvocationExpression* node); | ValaCodeBinding* vala_code_generator_create_invocation_expression_binding ( ValaCodeGenerator* self, ValaInvocationExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_element_access_binding (ValaCod eGenerator* self, ValaElementAccess* node); | ValaCodeBinding* vala_code_generator_create_element_access_binding (ValaCod eGenerator* self, ValaElementAccess* node); | |||
ValaCodeBinding* vala_code_generator_create_base_access_binding (ValaCodeGe nerator* self, ValaBaseAccess* node); | ValaCodeBinding* vala_code_generator_create_base_access_binding (ValaCodeGe nerator* self, ValaBaseAccess* node); | |||
ValaCodeBinding* vala_code_generator_create_postfix_expression_binding (Val aCodeGenerator* self, ValaPostfixExpression* node); | ValaCodeBinding* vala_code_generator_create_postfix_expression_binding (Val aCodeGenerator* self, ValaPostfixExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_object_creation_expression_bind ing (ValaCodeGenerator* self, ValaObjectCreationExpression* node); | ValaCodeBinding* vala_code_generator_create_object_creation_expression_bind ing (ValaCodeGenerator* self, ValaObjectCreationExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_sizeof_expression_binding (Vala CodeGenerator* self, ValaSizeofExpression* node); | ValaCodeBinding* vala_code_generator_create_sizeof_expression_binding (Vala CodeGenerator* self, ValaSizeofExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_typeof_expression_binding (Vala CodeGenerator* self, ValaTypeofExpression* node); | ValaCodeBinding* vala_code_generator_create_typeof_expression_binding (Vala CodeGenerator* self, ValaTypeofExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_unary_expression_binding (ValaC odeGenerator* self, ValaUnaryExpression* node); | ValaCodeBinding* vala_code_generator_create_unary_expression_binding (ValaC odeGenerator* self, ValaUnaryExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_cast_expression_binding (ValaCo deGenerator* self, ValaCastExpression* node); | ValaCodeBinding* vala_code_generator_create_cast_expression_binding (ValaCo deGenerator* self, ValaCastExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_pointer_indirection_binding (Va laCodeGenerator* self, ValaPointerIndirection* node); | ValaCodeBinding* vala_code_generator_create_pointer_indirection_binding (Va laCodeGenerator* self, ValaPointerIndirection* node); | |||
ValaCodeBinding* vala_code_generator_create_addressof_expression_binding (V alaCodeGenerator* self, ValaAddressofExpression* node); | ValaCodeBinding* vala_code_generator_create_addressof_expression_binding (V alaCodeGenerator* self, ValaAddressofExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_reference_transfer_expression_b inding (ValaCodeGenerator* self, ValaReferenceTransferExpression* node); | ValaCodeBinding* vala_code_generator_create_reference_transfer_expression_b inding (ValaCodeGenerator* self, ValaReferenceTransferExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_binary_expression_binding (Vala CodeGenerator* self, ValaBinaryExpression* node); | ValaCodeBinding* vala_code_generator_create_binary_expression_binding (Vala CodeGenerator* self, ValaBinaryExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_type_check_binding (ValaCodeGen erator* self, ValaTypeCheck* node); | ValaCodeBinding* vala_code_generator_create_type_check_binding (ValaCodeGen erator* self, ValaTypeCheck* node); | |||
ValaCodeBinding* vala_code_generator_create_conditional_expression_binding (ValaCodeGenerator* self, ValaConditionalExpression* node); | ValaCodeBinding* vala_code_generator_create_conditional_expression_binding (ValaCodeGenerator* self, ValaConditionalExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_lambda_expression_binding (Vala CodeGenerator* self, ValaLambdaExpression* node); | ValaCodeBinding* vala_code_generator_create_lambda_expression_binding (Vala CodeGenerator* self, ValaLambdaExpression* node); | |||
ValaCodeBinding* vala_code_generator_create_lambda_expression_with_statemen t_body_binding (ValaCodeGenerator* self, ValaLambdaExpression* node); | ||||
ValaCodeBinding* vala_code_generator_create_assignment_binding (ValaCodeGen erator* self, ValaAssignment* node); | ValaCodeBinding* vala_code_generator_create_assignment_binding (ValaCodeGen erator* self, ValaAssignment* node); | |||
ValaCodeGenerator* vala_code_generator_new (void); | ValaCodeGenerator* vala_code_generator_new (void); | |||
GType vala_code_generator_get_type (void); | GType vala_code_generator_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 10 change blocks. | ||||
12 lines changed or deleted | 8 lines changed or added | |||
valacodenode.h | valacodenode.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
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 _ValaNamespace ValaNamespace; | ||||
typedef struct _ValaNamespaceClass ValaNamespaceClass; | ||||
typedef struct _ValaSymbol ValaSymbol; | typedef struct _ValaSymbol ValaSymbol; | |||
typedef struct _ValaSymbolClass ValaSymbolClass; | typedef struct _ValaSymbolClass ValaSymbolClass; | |||
typedef struct _ValaScope ValaScope; | typedef struct _ValaScope ValaScope; | |||
typedef struct _ValaScopeClass ValaScopeClass; | typedef struct _ValaScopeClass ValaScopeClass; | |||
typedef struct _ValaSourceReference ValaSourceReference; | typedef struct _ValaMethod ValaMethod; | |||
typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | typedef struct _ValaMethodClass ValaMethodClass; | |||
typedef struct _ValaClass ValaClass; | typedef struct _ValaMember ValaMember; | |||
typedef struct _ValaClassClass ValaClassClass; | typedef struct _ValaMemberClass ValaMemberClass; | |||
typedef struct _ValaDataType ValaDataType; | typedef struct _ValaDataType ValaDataType; | |||
typedef struct _ValaDataTypeClass ValaDataTypeClass; | typedef struct _ValaDataTypeClass ValaDataTypeClass; | |||
typedef struct _ValaTypeParameter ValaTypeParameter; | typedef struct _ValaTypeParameter ValaTypeParameter; | |||
typedef struct _ValaTypeParameterClass ValaTypeParameterClass; | typedef struct _ValaTypeParameterClass ValaTypeParameterClass; | |||
typedef struct _ValaSourceReference ValaSourceReference; | ||||
typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | ||||
typedef struct _ValaFormalParameter ValaFormalParameter; | ||||
typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | ||||
typedef struct _ValaCodeGenerator ValaCodeGenerator; | ||||
typedef struct _ValaCodeGeneratorClass ValaCodeGeneratorClass; | ||||
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 _ValaMember ValaMember; | ||||
typedef struct _ValaMemberClass ValaMemberClass; | ||||
typedef struct _ValaField ValaField; | typedef struct _ValaField ValaField; | |||
typedef struct _ValaFieldClass ValaFieldClass; | typedef struct _ValaFieldClass ValaFieldClass; | |||
typedef struct _ValaMethod ValaMethod; | typedef struct _ValaProperty ValaProperty; | |||
typedef struct _ValaMethodClass ValaMethodClass; | typedef struct _ValaPropertyClass ValaPropertyClass; | |||
typedef struct _ValaFormalParameter ValaFormalParameter; | typedef struct _ValaPropertyAccessor ValaPropertyAccessor; | |||
typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | typedef struct _ValaPropertyAccessorClass ValaPropertyAccessorClass; | |||
typedef struct _ValaBlock ValaBlock; | typedef struct _ValaBlock ValaBlock; | |||
typedef struct _ValaBlockClass ValaBlockClass; | typedef struct _ValaBlockClass ValaBlockClass; | |||
typedef struct _ValaStatement ValaStatement; | typedef struct _ValaStatement ValaStatement; | |||
typedef struct _ValaStatementIface ValaStatementIface; | typedef struct _ValaStatementIface ValaStatementIface; | |||
typedef struct _ValaVariableDeclarator ValaVariableDeclarator; | typedef struct _ValaLocalVariable ValaLocalVariable; | |||
typedef struct _ValaVariableDeclaratorClass ValaVariableDeclaratorClass; | typedef struct _ValaLocalVariableClass ValaLocalVariableClass; | |||
typedef struct _ValaBasicBlock ValaBasicBlock; | typedef struct _ValaBasicBlock ValaBasicBlock; | |||
typedef struct _ValaBasicBlockClass ValaBasicBlockClass; | typedef struct _ValaBasicBlockClass ValaBasicBlockClass; | |||
typedef struct _ValaProperty ValaProperty; | ||||
typedef struct _ValaPropertyClass ValaPropertyClass; | ||||
typedef struct _ValaPropertyAccessor ValaPropertyAccessor; | ||||
typedef struct _ValaPropertyAccessorClass ValaPropertyAccessorClass; | ||||
typedef struct _ValaSignal ValaSignal; | typedef struct _ValaSignal ValaSignal; | |||
typedef struct _ValaSignalClass ValaSignalClass; | typedef struct _ValaSignalClass ValaSignalClass; | |||
typedef struct _ValaDelegate ValaDelegate; | typedef struct _ValaDelegate ValaDelegate; | |||
typedef struct _ValaDelegateClass ValaDelegateClass; | typedef struct _ValaDelegateClass ValaDelegateClass; | |||
typedef struct _ValaStruct ValaStruct; | typedef struct _ValaStruct ValaStruct; | |||
typedef struct _ValaStructClass ValaStructClass; | typedef struct _ValaStructClass ValaStructClass; | |||
typedef struct _ValaEnum ValaEnum; | typedef struct _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 _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 _ValaErrorDomain ValaErrorDomain; | typedef struct _ValaErrorDomain ValaErrorDomain; | |||
typedef struct _ValaErrorDomainClass ValaErrorDomainClass; | typedef struct _ValaErrorDomainClass ValaErrorDomainClass; | |||
typedef struct _ValaErrorCode ValaErrorCode; | typedef struct _ValaErrorCode ValaErrorCode; | |||
typedef struct _ValaErrorCodeClass ValaErrorCodeClass; | typedef struct _ValaErrorCodeClass ValaErrorCodeClass; | |||
typedef struct _ValaDynamicMethod ValaDynamicMethod; | ||||
typedef struct _ValaDynamicMethodClass ValaDynamicMethodClass; | ||||
typedef struct _ValaInvocationExpression ValaInvocationExpression; | ||||
typedef struct _ValaInvocationExpressionClass ValaInvocationExpressionClass | ||||
; | ||||
typedef struct _ValaCreationMethod ValaCreationMethod; | typedef struct _ValaCreationMethod ValaCreationMethod; | |||
typedef struct _ValaCreationMethodClass ValaCreationMethodClass; | typedef struct _ValaCreationMethodClass ValaCreationMethodClass; | |||
typedef struct _ValaDynamicSignal ValaDynamicSignal; | ||||
typedef struct _ValaDynamicSignalClass ValaDynamicSignalClass; | ||||
typedef struct _ValaEmptyStatement ValaEmptyStatement; | typedef struct _ValaEmptyStatement ValaEmptyStatement; | |||
typedef struct _ValaEmptyStatementClass ValaEmptyStatementClass; | typedef struct _ValaEmptyStatementClass ValaEmptyStatementClass; | |||
typedef struct _ValaDeclarationStatement ValaDeclarationStatement; | typedef struct _ValaDeclarationStatement ValaDeclarationStatement; | |||
typedef struct _ValaDeclarationStatementClass ValaDeclarationStatementClass ; | typedef struct _ValaDeclarationStatementClass ValaDeclarationStatementClass ; | |||
typedef struct _ValaLocalVariableDeclaration ValaLocalVariableDeclaration; | ||||
typedef struct _ValaLocalVariableDeclarationClass ValaLocalVariableDeclarat | ||||
ionClass; | ||||
typedef struct _ValaInitializerList ValaInitializerList; | typedef struct _ValaInitializerList ValaInitializerList; | |||
typedef struct _ValaInitializerListClass ValaInitializerListClass; | typedef struct _ValaInitializerListClass ValaInitializerListClass; | |||
typedef struct _ValaExpressionStatement ValaExpressionStatement; | typedef struct _ValaExpressionStatement ValaExpressionStatement; | |||
typedef struct _ValaExpressionStatementClass ValaExpressionStatementClass; | typedef struct _ValaExpressionStatementClass ValaExpressionStatementClass; | |||
typedef struct _ValaIfStatement ValaIfStatement; | typedef struct _ValaIfStatement ValaIfStatement; | |||
typedef struct _ValaIfStatementClass ValaIfStatementClass; | typedef struct _ValaIfStatementClass ValaIfStatementClass; | |||
typedef struct _ValaSwitchStatement ValaSwitchStatement; | typedef struct _ValaSwitchStatement ValaSwitchStatement; | |||
typedef struct _ValaSwitchStatementClass ValaSwitchStatementClass; | typedef struct _ValaSwitchStatementClass ValaSwitchStatementClass; | |||
typedef struct _ValaSwitchSection ValaSwitchSection; | typedef struct _ValaSwitchSection ValaSwitchSection; | |||
typedef struct _ValaSwitchSectionClass ValaSwitchSectionClass; | typedef struct _ValaSwitchSectionClass ValaSwitchSectionClass; | |||
skipping to change at line 167 | skipping to change at line 173 | |||
typedef struct _ValaRealLiteral ValaRealLiteral; | typedef struct _ValaRealLiteral ValaRealLiteral; | |||
typedef struct _ValaRealLiteralClass ValaRealLiteralClass; | typedef struct _ValaRealLiteralClass ValaRealLiteralClass; | |||
typedef struct _ValaStringLiteral ValaStringLiteral; | typedef struct _ValaStringLiteral ValaStringLiteral; | |||
typedef struct _ValaStringLiteralClass ValaStringLiteralClass; | typedef struct _ValaStringLiteralClass ValaStringLiteralClass; | |||
typedef struct _ValaNullLiteral ValaNullLiteral; | typedef struct _ValaNullLiteral ValaNullLiteral; | |||
typedef struct _ValaNullLiteralClass ValaNullLiteralClass; | typedef struct _ValaNullLiteralClass ValaNullLiteralClass; | |||
typedef struct _ValaParenthesizedExpression ValaParenthesizedExpression; | typedef struct _ValaParenthesizedExpression ValaParenthesizedExpression; | |||
typedef struct _ValaParenthesizedExpressionClass ValaParenthesizedExpressio nClass; | typedef struct _ValaParenthesizedExpressionClass ValaParenthesizedExpressio nClass; | |||
typedef struct _ValaMemberAccess ValaMemberAccess; | typedef struct _ValaMemberAccess ValaMemberAccess; | |||
typedef struct _ValaMemberAccessClass ValaMemberAccessClass; | typedef struct _ValaMemberAccessClass ValaMemberAccessClass; | |||
typedef struct _ValaInvocationExpression ValaInvocationExpression; | ||||
typedef struct _ValaInvocationExpressionClass ValaInvocationExpressionClass | ||||
; | ||||
typedef struct _ValaElementAccess ValaElementAccess; | typedef struct _ValaElementAccess ValaElementAccess; | |||
typedef struct _ValaElementAccessClass ValaElementAccessClass; | typedef struct _ValaElementAccessClass ValaElementAccessClass; | |||
typedef struct _ValaBaseAccess ValaBaseAccess; | typedef struct _ValaBaseAccess ValaBaseAccess; | |||
typedef struct _ValaBaseAccessClass ValaBaseAccessClass; | typedef struct _ValaBaseAccessClass ValaBaseAccessClass; | |||
typedef struct _ValaPostfixExpression ValaPostfixExpression; | typedef struct _ValaPostfixExpression ValaPostfixExpression; | |||
typedef struct _ValaPostfixExpressionClass ValaPostfixExpressionClass; | typedef struct _ValaPostfixExpressionClass ValaPostfixExpressionClass; | |||
typedef struct _ValaObjectCreationExpression ValaObjectCreationExpression; | typedef struct _ValaObjectCreationExpression ValaObjectCreationExpression; | |||
typedef struct _ValaObjectCreationExpressionClass ValaObjectCreationExpress ionClass; | typedef struct _ValaObjectCreationExpressionClass ValaObjectCreationExpress ionClass; | |||
typedef struct _ValaMemberInitializer ValaMemberInitializer; | typedef struct _ValaMemberInitializer ValaMemberInitializer; | |||
typedef struct _ValaMemberInitializerClass ValaMemberInitializerClass; | typedef struct _ValaMemberInitializerClass ValaMemberInitializerClass; | |||
skipping to change at line 201 | skipping to change at line 205 | |||
typedef struct _ValaBinaryExpression ValaBinaryExpression; | typedef struct _ValaBinaryExpression ValaBinaryExpression; | |||
typedef struct _ValaBinaryExpressionClass ValaBinaryExpressionClass; | typedef struct _ValaBinaryExpressionClass ValaBinaryExpressionClass; | |||
typedef struct _ValaTypeCheck ValaTypeCheck; | typedef struct _ValaTypeCheck ValaTypeCheck; | |||
typedef struct _ValaTypeCheckClass ValaTypeCheckClass; | typedef struct _ValaTypeCheckClass ValaTypeCheckClass; | |||
typedef struct _ValaConditionalExpression ValaConditionalExpression; | typedef struct _ValaConditionalExpression ValaConditionalExpression; | |||
typedef struct _ValaConditionalExpressionClass ValaConditionalExpressionCla ss; | typedef struct _ValaConditionalExpressionClass ValaConditionalExpressionCla ss; | |||
typedef struct _ValaLambdaExpression ValaLambdaExpression; | typedef struct _ValaLambdaExpression ValaLambdaExpression; | |||
typedef struct _ValaLambdaExpressionClass ValaLambdaExpressionClass; | typedef struct _ValaLambdaExpressionClass ValaLambdaExpressionClass; | |||
typedef struct _ValaAssignment ValaAssignment; | typedef struct _ValaAssignment ValaAssignment; | |||
typedef struct _ValaAssignmentClass ValaAssignmentClass; | typedef struct _ValaAssignmentClass ValaAssignmentClass; | |||
typedef struct _ValaCodeGenerator ValaCodeGenerator; | ||||
typedef struct _ValaCodeGeneratorClass ValaCodeGeneratorClass; | ||||
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 _ValaNamedArgument ValaNamedArgument; | typedef struct _ValaNamedArgument ValaNamedArgument; | |||
typedef struct _ValaNamedArgumentClass ValaNamedArgumentClass; | typedef struct _ValaNamedArgumentClass ValaNamedArgumentClass; | |||
typedef struct _ValaAttribute ValaAttribute; | typedef struct _ValaAttribute ValaAttribute; | |||
typedef struct _ValaAttributeClass ValaAttributeClass; | typedef struct _ValaAttributeClass ValaAttributeClass; | |||
#define VALA_TYPE_CODE_NODE (vala_code_node_get_type ()) | #define VALA_TYPE_CODE_NODE (vala_code_node_get_type ()) | |||
skipping to change at line 239 | skipping to change at line 241 | |||
ValaCodeNodePrivate * priv; | ValaCodeNodePrivate * priv; | |||
GList* attributes; | GList* attributes; | |||
}; | }; | |||
struct _ValaCodeNodeClass { | struct _ValaCodeNodeClass { | |||
GObjectClass parent_class; | GObjectClass parent_class; | |||
void (*accept) (ValaCodeNode* self, ValaCodeVisitor* visitor); | void (*accept) (ValaCodeNode* self, ValaCodeVisitor* visitor); | |||
void (*accept_children) (ValaCodeNode* self, ValaCodeVisitor* visito r); | void (*accept_children) (ValaCodeNode* self, ValaCodeVisitor* visito r); | |||
void (*replace_type) (ValaCodeNode* self, ValaDataType* old_type, Va laDataType* new_type); | void (*replace_type) (ValaCodeNode* self, ValaDataType* old_type, Va laDataType* new_type); | |||
void (*replace_expression) (ValaCodeNode* self, ValaExpression* old_ node, ValaExpression* new_node); | void (*replace_expression) (ValaCodeNode* self, ValaExpression* old_ node, ValaExpression* new_node); | |||
char* (*to_string) (ValaCodeNode* self); | char* (*to_string) (ValaCodeNode* self); | |||
ValaCodeBinding* (*create_code_binding) (ValaCodeNode* self, ValaCod eGenerator* codegen); | ||||
}; | }; | |||
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_type (ValaCodeNode* self, ValaDataType* old_typ e, ValaDataType* new_type); | void vala_code_node_replace_type (ValaCodeNode* self, ValaDataType* old_typ e, ValaDataType* new_type); | |||
void vala_code_node_replace_expression (ValaCodeNode* self, ValaExpression* old_node, ValaExpression* new_node); | void vala_code_node_replace_expression (ValaCodeNode* self, ValaExpression* old_node, ValaExpression* 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); | |||
ValaCodeBinding* vala_code_node_get_code_binding (ValaCodeNode* self, ValaC | ||||
odeGenerator* codegen); | ||||
ValaCodeBinding* vala_code_node_create_code_binding (ValaCodeNode* self, Va | ||||
laCodeGenerator* codegen); | ||||
ValaCodeNode* vala_code_node_new (void); | ||||
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); | |||
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 ); | |||
ValaCodeBinding* vala_code_node_get_code_binding (ValaCodeNode* self); | ||||
void vala_code_node_set_code_binding (ValaCodeNode* self, ValaCodeBinding* | ||||
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 (void); | GType vala_code_node_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 15 change blocks. | ||||
29 lines changed or deleted | 33 lines changed or added | |||
valacodevisitor.h | valacodevisitor.h | |||
---|---|---|---|---|
skipping to change at line 79 | skipping to change at line 79 | |||
void (*visit_signal) (ValaCodeVisitor* self, ValaSignal* sig); | void (*visit_signal) (ValaCodeVisitor* self, ValaSignal* sig); | |||
void (*visit_constructor) (ValaCodeVisitor* self, ValaConstructor* c ); | void (*visit_constructor) (ValaCodeVisitor* self, ValaConstructor* c ); | |||
void (*visit_destructor) (ValaCodeVisitor* self, ValaDestructor* d); | void (*visit_destructor) (ValaCodeVisitor* self, ValaDestructor* d); | |||
void (*visit_named_argument) (ValaCodeVisitor* self, ValaNamedArgume nt* n); | void (*visit_named_argument) (ValaCodeVisitor* self, ValaNamedArgume nt* n); | |||
void (*visit_type_parameter) (ValaCodeVisitor* self, ValaTypeParamet er* p); | void (*visit_type_parameter) (ValaCodeVisitor* self, ValaTypeParamet er* p); | |||
void (*visit_namespace_reference) (ValaCodeVisitor* self, ValaNamesp aceReference* ns); | void (*visit_namespace_reference) (ValaCodeVisitor* self, ValaNamesp aceReference* ns); | |||
void (*visit_data_type) (ValaCodeVisitor* self, ValaDataType* type); | void (*visit_data_type) (ValaCodeVisitor* self, ValaDataType* type); | |||
void (*visit_block) (ValaCodeVisitor* self, ValaBlock* b); | void (*visit_block) (ValaCodeVisitor* self, ValaBlock* b); | |||
void (*visit_empty_statement) (ValaCodeVisitor* self, ValaEmptyState ment* stmt); | void (*visit_empty_statement) (ValaCodeVisitor* self, ValaEmptyState ment* stmt); | |||
void (*visit_declaration_statement) (ValaCodeVisitor* self, ValaDecl arationStatement* stmt); | void (*visit_declaration_statement) (ValaCodeVisitor* self, ValaDecl arationStatement* stmt); | |||
void (*visit_local_variable_declaration) (ValaCodeVisitor* self, Val | void (*visit_local_variable) (ValaCodeVisitor* self, ValaLocalVariab | |||
aLocalVariableDeclaration* decl); | le* local); | |||
void (*visit_variable_declarator) (ValaCodeVisitor* self, ValaVariab | ||||
leDeclarator* decl); | ||||
void (*visit_initializer_list) (ValaCodeVisitor* self, ValaInitializ erList* list); | void (*visit_initializer_list) (ValaCodeVisitor* self, ValaInitializ erList* list); | |||
void (*visit_expression_statement) (ValaCodeVisitor* self, ValaExpre ssionStatement* stmt); | void (*visit_expression_statement) (ValaCodeVisitor* self, ValaExpre ssionStatement* stmt); | |||
void (*visit_if_statement) (ValaCodeVisitor* self, ValaIfStatement* stmt); | void (*visit_if_statement) (ValaCodeVisitor* self, ValaIfStatement* stmt); | |||
void (*visit_switch_statement) (ValaCodeVisitor* self, ValaSwitchSta tement* stmt); | void (*visit_switch_statement) (ValaCodeVisitor* self, ValaSwitchSta tement* stmt); | |||
void (*visit_switch_section) (ValaCodeVisitor* self, ValaSwitchSecti on* section); | void (*visit_switch_section) (ValaCodeVisitor* self, ValaSwitchSecti on* section); | |||
void (*visit_switch_label) (ValaCodeVisitor* self, ValaSwitchLabel* label); | void (*visit_switch_label) (ValaCodeVisitor* self, ValaSwitchLabel* label); | |||
void (*visit_while_statement) (ValaCodeVisitor* self, ValaWhileState ment* stmt); | void (*visit_while_statement) (ValaCodeVisitor* self, ValaWhileState ment* stmt); | |||
void (*visit_do_statement) (ValaCodeVisitor* self, ValaDoStatement* stmt); | void (*visit_do_statement) (ValaCodeVisitor* self, ValaDoStatement* stmt); | |||
void (*visit_for_statement) (ValaCodeVisitor* self, ValaForStatement * stmt); | void (*visit_for_statement) (ValaCodeVisitor* self, ValaForStatement * stmt); | |||
void (*visit_foreach_statement) (ValaCodeVisitor* self, ValaForeachS tatement* stmt); | void (*visit_foreach_statement) (ValaCodeVisitor* self, ValaForeachS tatement* stmt); | |||
skipping to change at line 156 | skipping to change at line 155 | |||
void vala_code_visitor_visit_signal (ValaCodeVisitor* self, ValaSignal* sig ); | void vala_code_visitor_visit_signal (ValaCodeVisitor* self, ValaSignal* sig ); | |||
void vala_code_visitor_visit_constructor (ValaCodeVisitor* self, ValaConstr uctor* c); | void vala_code_visitor_visit_constructor (ValaCodeVisitor* self, ValaConstr uctor* c); | |||
void vala_code_visitor_visit_destructor (ValaCodeVisitor* self, ValaDestruc tor* d); | void vala_code_visitor_visit_destructor (ValaCodeVisitor* self, ValaDestruc tor* d); | |||
void vala_code_visitor_visit_named_argument (ValaCodeVisitor* self, ValaNam edArgument* n); | void vala_code_visitor_visit_named_argument (ValaCodeVisitor* self, ValaNam edArgument* n); | |||
void vala_code_visitor_visit_type_parameter (ValaCodeVisitor* self, ValaTyp eParameter* p); | void vala_code_visitor_visit_type_parameter (ValaCodeVisitor* self, ValaTyp eParameter* p); | |||
void vala_code_visitor_visit_namespace_reference (ValaCodeVisitor* self, Va laNamespaceReference* ns); | void vala_code_visitor_visit_namespace_reference (ValaCodeVisitor* self, Va laNamespaceReference* ns); | |||
void vala_code_visitor_visit_data_type (ValaCodeVisitor* self, ValaDataType * type); | void vala_code_visitor_visit_data_type (ValaCodeVisitor* self, ValaDataType * type); | |||
void vala_code_visitor_visit_block (ValaCodeVisitor* self, ValaBlock* b); | void vala_code_visitor_visit_block (ValaCodeVisitor* self, ValaBlock* b); | |||
void vala_code_visitor_visit_empty_statement (ValaCodeVisitor* self, ValaEm ptyStatement* stmt); | void vala_code_visitor_visit_empty_statement (ValaCodeVisitor* self, ValaEm ptyStatement* stmt); | |||
void vala_code_visitor_visit_declaration_statement (ValaCodeVisitor* self, ValaDeclarationStatement* stmt); | void vala_code_visitor_visit_declaration_statement (ValaCodeVisitor* self, ValaDeclarationStatement* stmt); | |||
void vala_code_visitor_visit_local_variable_declaration (ValaCodeVisitor* s | void vala_code_visitor_visit_local_variable (ValaCodeVisitor* self, ValaLoc | |||
elf, ValaLocalVariableDeclaration* decl); | alVariable* local); | |||
void vala_code_visitor_visit_variable_declarator (ValaCodeVisitor* self, Va | ||||
laVariableDeclarator* decl); | ||||
void vala_code_visitor_visit_initializer_list (ValaCodeVisitor* self, ValaI nitializerList* list); | void vala_code_visitor_visit_initializer_list (ValaCodeVisitor* self, ValaI nitializerList* list); | |||
void vala_code_visitor_visit_expression_statement (ValaCodeVisitor* self, V alaExpressionStatement* stmt); | void vala_code_visitor_visit_expression_statement (ValaCodeVisitor* self, V alaExpressionStatement* stmt); | |||
void vala_code_visitor_visit_if_statement (ValaCodeVisitor* self, ValaIfSta tement* stmt); | void vala_code_visitor_visit_if_statement (ValaCodeVisitor* self, ValaIfSta tement* stmt); | |||
void vala_code_visitor_visit_switch_statement (ValaCodeVisitor* self, ValaS witchStatement* stmt); | void vala_code_visitor_visit_switch_statement (ValaCodeVisitor* self, ValaS witchStatement* stmt); | |||
void vala_code_visitor_visit_switch_section (ValaCodeVisitor* self, ValaSwi tchSection* section); | void vala_code_visitor_visit_switch_section (ValaCodeVisitor* self, ValaSwi tchSection* section); | |||
void vala_code_visitor_visit_switch_label (ValaCodeVisitor* self, ValaSwitc hLabel* label); | void vala_code_visitor_visit_switch_label (ValaCodeVisitor* self, ValaSwitc hLabel* label); | |||
void vala_code_visitor_visit_while_statement (ValaCodeVisitor* self, ValaWh ileStatement* stmt); | void vala_code_visitor_visit_while_statement (ValaCodeVisitor* self, ValaWh ileStatement* stmt); | |||
void vala_code_visitor_visit_do_statement (ValaCodeVisitor* self, ValaDoSta tement* stmt); | void vala_code_visitor_visit_do_statement (ValaCodeVisitor* self, ValaDoSta tement* stmt); | |||
void vala_code_visitor_visit_for_statement (ValaCodeVisitor* self, ValaForS tatement* stmt); | void vala_code_visitor_visit_for_statement (ValaCodeVisitor* self, ValaForS tatement* stmt); | |||
void vala_code_visitor_visit_foreach_statement (ValaCodeVisitor* self, Vala ForeachStatement* stmt); | void vala_code_visitor_visit_foreach_statement (ValaCodeVisitor* self, Vala ForeachStatement* stmt); | |||
skipping to change at line 203 | skipping to change at line 201 | |||
void vala_code_visitor_visit_cast_expression (ValaCodeVisitor* self, ValaCa stExpression* expr); | void vala_code_visitor_visit_cast_expression (ValaCodeVisitor* self, ValaCa stExpression* expr); | |||
void vala_code_visitor_visit_pointer_indirection (ValaCodeVisitor* self, Va laPointerIndirection* expr); | void vala_code_visitor_visit_pointer_indirection (ValaCodeVisitor* self, Va laPointerIndirection* expr); | |||
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_lambda_expression (ValaCodeVisitor* self, Vala LambdaExpression* expr); | void vala_code_visitor_visit_lambda_expression (ValaCodeVisitor* self, Vala LambdaExpression* expr); | |||
void vala_code_visitor_visit_assignment (ValaCodeVisitor* self, ValaAssignm ent* a); | void vala_code_visitor_visit_assignment (ValaCodeVisitor* self, ValaAssignm ent* 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); | |||
ValaCodeVisitor* vala_code_visitor_new (void); | ||||
GType vala_code_visitor_get_type (void); | GType vala_code_visitor_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
8 lines changed or deleted | 5 lines changed or added | |||
valaconstant.h | valaconstant.h | |||
---|---|---|---|---|
/* valaconstant.vala | /* valaconstant.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valacreationmethod.h | valacreationmethod.h | |||
---|---|---|---|---|
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef __VALA_VALACREATIONMETHOD_H__ | #ifndef __VALA_VALACREATIONMETHOD_H__ | |||
#define __VALA_VALACREATIONMETHOD_H__ | #define __VALA_VALACREATIONMETHOD_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/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valacodebinding.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CREATION_METHOD (vala_creation_method_get_type ()) | #define VALA_TYPE_CREATION_METHOD (vala_creation_method_get_type ()) | |||
#define VALA_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_CREATION_METHOD, ValaCreationMethod)) | #define VALA_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_CREATION_METHOD, ValaCreationMethod)) | |||
#define VALA_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass)) | #define VALA_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass)) | |||
#define VALA_IS_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CREATION_METHOD)) | #define VALA_IS_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CREATION_METHOD)) | |||
#define VALA_IS_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CREATION_METHOD)) | #define VALA_IS_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CREATION_METHOD)) | |||
#define VALA_CREATION_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass)) | #define VALA_CREATION_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass)) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valadatatype.h | valadatatype.h | |||
---|---|---|---|---|
skipping to change at line 62 | skipping to change at line 62 | |||
ValaCodeNode parent_instance; | ValaCodeNode parent_instance; | |||
ValaDataTypePrivate * priv; | ValaDataTypePrivate * priv; | |||
}; | }; | |||
struct _ValaDataTypeClass { | struct _ValaDataTypeClass { | |||
ValaCodeNodeClass parent_class; | ValaCodeNodeClass parent_class; | |||
char* (*get_cname) (ValaDataType* self, gboolean var_type, gboolean const_type); | char* (*get_cname) (ValaDataType* self, gboolean var_type, gboolean const_type); | |||
char* (*get_lower_case_cname) (ValaDataType* self, const char* infix ); | char* (*get_lower_case_cname) (ValaDataType* self, const char* infix ); | |||
ValaDataType* (*copy) (ValaDataType* self); | ValaDataType* (*copy) (ValaDataType* self); | |||
gboolean (*equals) (ValaDataType* self, ValaDataType* type2); | gboolean (*equals) (ValaDataType* self, ValaDataType* type2); | |||
gboolean (*stricter) (ValaDataType* self, ValaDataType* type2); | gboolean (*stricter) (ValaDataType* self, ValaDataType* type2); | |||
gboolean (*compatible) (ValaDataType* self, ValaDataType* target_typ e, gboolean enable_non_null); | gboolean (*compatible) (ValaDataType* self, ValaDataType* target_typ e); | |||
gboolean (*is_invokable) (ValaDataType* self); | gboolean (*is_invokable) (ValaDataType* self); | |||
ValaDataType* (*get_return_type) (ValaDataType* self); | ValaDataType* (*get_return_type) (ValaDataType* self); | |||
GeeCollection* (*get_parameters) (ValaDataType* self); | GeeCollection* (*get_parameters) (ValaDataType* self); | |||
gboolean (*is_reference_type_or_type_parameter) (ValaDataType* self) ; | gboolean (*is_reference_type_or_type_parameter) (ValaDataType* self) ; | |||
gboolean (*is_array) (ValaDataType* self); | gboolean (*is_array) (ValaDataType* self); | |||
GeeCollection* (*get_symbols) (ValaDataType* self); | GeeCollection* (*get_symbols) (ValaDataType* self); | |||
ValaSymbol* (*get_member) (ValaDataType* self, const char* member_na me); | ValaSymbol* (*get_member) (ValaDataType* self, const char* member_na me); | |||
ValaSymbol* (*get_pointer_member) (ValaDataType* self, const char* m ember_name); | ValaSymbol* (*get_pointer_member) (ValaDataType* self, const char* m ember_name); | |||
gboolean (*is_real_struct_type) (ValaDataType* self); | gboolean (*is_real_struct_type) (ValaDataType* self); | |||
char* (*get_type_id) (ValaDataType* self); | char* (*get_type_id) (ValaDataType* self); | |||
skipping to change at line 84 | skipping to change at line 84 | |||
void vala_data_type_add_type_argument (ValaDataType* self, ValaDataType* ar g); | void vala_data_type_add_type_argument (ValaDataType* self, ValaDataType* ar g); | |||
GeeList* vala_data_type_get_type_arguments (ValaDataType* self); | GeeList* vala_data_type_get_type_arguments (ValaDataType* self); | |||
void vala_data_type_remove_all_type_arguments (ValaDataType* self); | void vala_data_type_remove_all_type_arguments (ValaDataType* self); | |||
char* vala_data_type_get_cname (ValaDataType* self, gboolean var_type, gboo lean const_type); | char* vala_data_type_get_cname (ValaDataType* self, gboolean var_type, gboo lean const_type); | |||
char* vala_data_type_get_const_cname (ValaDataType* self); | char* vala_data_type_get_const_cname (ValaDataType* self); | |||
char* vala_data_type_get_lower_case_cname (ValaDataType* self, const char* infix); | char* vala_data_type_get_lower_case_cname (ValaDataType* self, const char* infix); | |||
ValaDataType* vala_data_type_copy (ValaDataType* self); | ValaDataType* vala_data_type_copy (ValaDataType* self); | |||
gboolean vala_data_type_equals (ValaDataType* self, ValaDataType* type2); | gboolean vala_data_type_equals (ValaDataType* self, ValaDataType* type2); | |||
gboolean vala_data_type_stricter (ValaDataType* self, ValaDataType* type2); | gboolean vala_data_type_stricter (ValaDataType* self, ValaDataType* type2); | |||
gboolean vala_data_type_compatible (ValaDataType* self, ValaDataType* targe t_type, gboolean enable_non_null); | gboolean vala_data_type_compatible (ValaDataType* self, ValaDataType* targe t_type); | |||
gboolean vala_data_type_is_invokable (ValaDataType* self); | gboolean vala_data_type_is_invokable (ValaDataType* self); | |||
ValaDataType* vala_data_type_get_return_type (ValaDataType* self); | ValaDataType* vala_data_type_get_return_type (ValaDataType* self); | |||
GeeCollection* vala_data_type_get_parameters (ValaDataType* self); | GeeCollection* vala_data_type_get_parameters (ValaDataType* self); | |||
gboolean vala_data_type_is_reference_type_or_type_parameter (ValaDataType* self); | gboolean vala_data_type_is_reference_type_or_type_parameter (ValaDataType* self); | |||
gboolean vala_data_type_is_array (ValaDataType* self); | gboolean vala_data_type_is_array (ValaDataType* self); | |||
GeeCollection* vala_data_type_get_symbols (ValaDataType* self); | GeeCollection* vala_data_type_get_symbols (ValaDataType* self); | |||
ValaSymbol* vala_data_type_get_member (ValaDataType* self, const char* memb er_name); | ValaSymbol* vala_data_type_get_member (ValaDataType* self, const char* memb er_name); | |||
ValaSymbol* vala_data_type_get_pointer_member (ValaDataType* self, const ch ar* member_name); | ValaSymbol* vala_data_type_get_pointer_member (ValaDataType* self, const ch ar* member_name); | |||
gboolean vala_data_type_is_real_struct_type (ValaDataType* self); | gboolean vala_data_type_is_real_struct_type (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_type_signature (ValaDataType* self); | ||||
ValaDataType* vala_data_type_new (void); | ||||
gboolean vala_data_type_get_transfers_ownership (ValaDataType* self); | gboolean vala_data_type_get_transfers_ownership (ValaDataType* self); | |||
void vala_data_type_set_transfers_ownership (ValaDataType* self, gboolean v alue); | void vala_data_type_set_transfers_ownership (ValaDataType* self, gboolean v alue); | |||
gboolean vala_data_type_get_takes_ownership (ValaDataType* self); | gboolean vala_data_type_get_takes_ownership (ValaDataType* self); | |||
void vala_data_type_set_takes_ownership (ValaDataType* self, gboolean value ); | void vala_data_type_set_takes_ownership (ValaDataType* self, gboolean value ); | |||
gboolean vala_data_type_get_is_out (ValaDataType* self); | ||||
void vala_data_type_set_is_out (ValaDataType* self, gboolean value); | ||||
gboolean vala_data_type_get_nullable (ValaDataType* self); | gboolean vala_data_type_get_nullable (ValaDataType* self); | |||
void vala_data_type_set_nullable (ValaDataType* self, gboolean value); | void vala_data_type_set_nullable (ValaDataType* self, gboolean value); | |||
gboolean vala_data_type_get_requires_null_check (ValaDataType* self); | ||||
void vala_data_type_set_requires_null_check (ValaDataType* self, gboolean v | ||||
alue); | ||||
ValaTypesymbol* vala_data_type_get_data_type (ValaDataType* self); | ValaTypesymbol* vala_data_type_get_data_type (ValaDataType* self); | |||
void vala_data_type_set_data_type (ValaDataType* self, ValaTypesymbol* valu e); | void vala_data_type_set_data_type (ValaDataType* self, ValaTypesymbol* valu e); | |||
ValaTypeParameter* vala_data_type_get_type_parameter (ValaDataType* self); | ValaTypeParameter* vala_data_type_get_type_parameter (ValaDataType* self); | |||
void vala_data_type_set_type_parameter (ValaDataType* self, ValaTypeParamet er* value); | void vala_data_type_set_type_parameter (ValaDataType* self, ValaTypeParamet er* value); | |||
gboolean vala_data_type_get_floating_reference (ValaDataType* self); | gboolean vala_data_type_get_floating_reference (ValaDataType* self); | |||
void vala_data_type_set_floating_reference (ValaDataType* self, gboolean va lue); | void vala_data_type_set_floating_reference (ValaDataType* self, gboolean va lue); | |||
gboolean vala_data_type_get_is_ref (ValaDataType* self); | gboolean vala_data_type_get_is_dynamic (ValaDataType* self); | |||
void vala_data_type_set_is_ref (ValaDataType* self, gboolean value); | void vala_data_type_set_is_dynamic (ValaDataType* self, gboolean value); | |||
GType vala_data_type_get_type (void); | GType vala_data_type_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 6 change blocks. | ||||
9 lines changed or deleted | 6 lines changed or added | |||
valadeclarationstatement.h | valadeclarationstatement.h | |||
---|---|---|---|---|
/* valadeclarationstatement.vala | /* valadeclarationstatement.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 43 | skipping to change at line 43 | |||
#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 or constant declaration statement in the sou rce code. | |||
*/ | */ | |||
struct _ValaDeclarationStatement { | struct _ValaDeclarationStatement { | |||
ValaCodeNode parent_instance; | ValaCodeNode parent_instance; | |||
ValaDeclarationStatementPrivate * priv; | ValaDeclarationStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaDeclarationStatementClass { | struct _ValaDeclarationStatementClass { | |||
ValaCodeNodeClass parent_class; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaDeclarationStatement* vala_declaration_statement_new (ValaLocalVariable | ValaDeclarationStatement* vala_declaration_statement_new (ValaSymbol* decla | |||
Declaration* decl, ValaSourceReference* source); | ration, ValaSourceReference* source_reference); | |||
ValaLocalVariableDeclaration* vala_declaration_statement_get_declaration (V | ValaSymbol* vala_declaration_statement_get_declaration (ValaDeclarationStat | |||
alaDeclarationStatement* self); | ement* self); | |||
void vala_declaration_statement_set_declaration (ValaDeclarationStatement* | void vala_declaration_statement_set_declaration (ValaDeclarationStatement* | |||
self, ValaLocalVariableDeclaration* value); | self, ValaSymbol* value); | |||
GType vala_declaration_statement_get_type (void); | GType vala_declaration_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
8 lines changed or deleted | 8 lines changed or added | |||
valadestructor.h | valadestructor.h | |||
---|---|---|---|---|
/* valadestructor.vala | /* valadestructor.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 56 | skipping to change at line 56 | |||
ValaSymbol parent_instance; | ValaSymbol parent_instance; | |||
ValaDestructorPrivate * priv; | ValaDestructorPrivate * priv; | |||
}; | }; | |||
struct _ValaDestructorClass { | struct _ValaDestructorClass { | |||
ValaSymbolClass parent_class; | ValaSymbolClass parent_class; | |||
}; | }; | |||
ValaDestructor* vala_destructor_new (ValaSourceReference* source_reference) ; | ValaDestructor* vala_destructor_new (ValaSourceReference* source_reference) ; | |||
ValaBlock* vala_destructor_get_body (ValaDestructor* self); | ValaBlock* vala_destructor_get_body (ValaDestructor* self); | |||
void vala_destructor_set_body (ValaDestructor* self, ValaBlock* value); | void vala_destructor_set_body (ValaDestructor* self, ValaBlock* value); | |||
ValaFormalParameter* vala_destructor_get_this_parameter (ValaDestructor* se | ||||
lf); | ||||
void vala_destructor_set_this_parameter (ValaDestructor* self, ValaFormalPa | ||||
rameter* 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 (void); | GType vala_destructor_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 5 lines changed or added | |||
valaelementaccess.h | valaelementaccess.h | |||
---|---|---|---|---|
skipping to change at line 32 | skipping to change at line 32 | |||
*/ | */ | |||
#ifndef __VALA_VALAELEMENTACCESS_H__ | #ifndef __VALA_VALAELEMENTACCESS_H__ | |||
#define __VALA_VALAELEMENTACCESS_H__ | #define __VALA_VALAELEMENTACCESS_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <gee/list.h> | #include <gee/list.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valacodebinding.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)) | |||
#define VALA_ELEMENT_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_ELEMENT_ACCESS, ValaElementAccessClass)) | #define VALA_ELEMENT_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_ELEMENT_ACCESS, ValaElementAccessClass)) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valaexpression.h | valaexpression.h | |||
---|---|---|---|---|
skipping to change at line 56 | skipping to change at line 56 | |||
ValaCodeNode parent_instance; | ValaCodeNode parent_instance; | |||
ValaExpressionPrivate * priv; | ValaExpressionPrivate * priv; | |||
GeeArrayList* temp_vars; | GeeArrayList* temp_vars; | |||
}; | }; | |||
struct _ValaExpressionClass { | struct _ValaExpressionClass { | |||
ValaCodeNodeClass parent_class; | ValaCodeNodeClass parent_class; | |||
gboolean (*is_pure) (ValaExpression* self); | gboolean (*is_pure) (ValaExpression* self); | |||
}; | }; | |||
gboolean vala_expression_is_pure (ValaExpression* self); | gboolean vala_expression_is_pure (ValaExpression* self); | |||
ValaExpression* vala_expression_new (void); | ||||
ValaDataType* vala_expression_get_static_type (ValaExpression* self); | ValaDataType* vala_expression_get_static_type (ValaExpression* self); | |||
void vala_expression_set_static_type (ValaExpression* self, ValaDataType* v alue); | void vala_expression_set_static_type (ValaExpression* self, ValaDataType* v alue); | |||
ValaDataType* vala_expression_get_expected_type (ValaExpression* self); | ValaDataType* vala_expression_get_expected_type (ValaExpression* self); | |||
void vala_expression_set_expected_type (ValaExpression* self, ValaDataType* value); | void vala_expression_set_expected_type (ValaExpression* self, ValaDataType* 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) ; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valafield.h | valafield.h | |||
---|---|---|---|---|
/* valafield.vala | /* valafield.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 58 | skipping to change at line 58 | |||
struct _ValaField { | struct _ValaField { | |||
ValaMember parent_instance; | ValaMember parent_instance; | |||
ValaFieldPrivate * priv; | ValaFieldPrivate * priv; | |||
}; | }; | |||
struct _ValaFieldClass { | struct _ValaFieldClass { | |||
ValaMemberClass parent_class; | ValaMemberClass parent_class; | |||
}; | }; | |||
ValaField* vala_field_new (const char* name, ValaDataType* type_reference, ValaExpression* initializer, ValaSourceReference* source_reference); | ValaField* vala_field_new (const char* name, ValaDataType* type_reference, ValaExpression* initializer, ValaSourceReference* source_reference); | |||
char* vala_field_get_cname (ValaField* self); | char* vala_field_get_cname (ValaField* self); | |||
void vala_field_set_cname (ValaField* self, const char* cname); | ||||
char* vala_field_get_default_cname (ValaField* self); | char* vala_field_get_default_cname (ValaField* self); | |||
void vala_field_process_attributes (ValaField* self); | void vala_field_process_attributes (ValaField* self); | |||
ValaDataType* vala_field_get_type_reference (ValaField* self); | ValaDataType* vala_field_get_type_reference (ValaField* self); | |||
void vala_field_set_type_reference (ValaField* self, ValaDataType* value); | void vala_field_set_type_reference (ValaField* self, ValaDataType* value); | |||
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_is_volatile (ValaField* self); | gboolean vala_field_get_is_volatile (ValaField* self); | |||
void vala_field_set_is_volatile (ValaField* self, gboolean value); | void vala_field_set_is_volatile (ValaField* self, gboolean value); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
valaforeachstatement.h | valaforeachstatement.h | |||
---|---|---|---|---|
skipping to change at line 65 | skipping to change at line 65 | |||
ValaForeachStatement* vala_foreach_statement_new (ValaDataType* type_refere nce, const char* variable_name, ValaExpression* collection, ValaBlock* body , ValaSourceReference* source_reference); | ValaForeachStatement* vala_foreach_statement_new (ValaDataType* type_refere nce, const char* variable_name, ValaExpression* collection, ValaBlock* body , ValaSourceReference* source_reference); | |||
ValaDataType* vala_foreach_statement_get_type_reference (ValaForeachStateme nt* self); | ValaDataType* vala_foreach_statement_get_type_reference (ValaForeachStateme nt* self); | |||
void vala_foreach_statement_set_type_reference (ValaForeachStatement* self, ValaDataType* value); | void vala_foreach_statement_set_type_reference (ValaForeachStatement* self, ValaDataType* 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); | |||
ValaBlock* vala_foreach_statement_get_body (ValaForeachStatement* self); | ValaBlock* vala_foreach_statement_get_body (ValaForeachStatement* self); | |||
void vala_foreach_statement_set_body (ValaForeachStatement* self, ValaBlock * value); | void vala_foreach_statement_set_body (ValaForeachStatement* self, ValaBlock * value); | |||
ValaVariableDeclarator* vala_foreach_statement_get_variable_declarator (Val | ValaLocalVariable* vala_foreach_statement_get_element_variable (ValaForeach | |||
aForeachStatement* self); | Statement* self); | |||
void vala_foreach_statement_set_variable_declarator (ValaForeachStatement* | void vala_foreach_statement_set_element_variable (ValaForeachStatement* sel | |||
self, ValaVariableDeclarator* value); | f, ValaLocalVariable* value); | |||
ValaVariableDeclarator* vala_foreach_statement_get_collection_variable_decl | ValaLocalVariable* vala_foreach_statement_get_collection_variable (ValaFore | |||
arator (ValaForeachStatement* self); | achStatement* self); | |||
void vala_foreach_statement_set_collection_variable_declarator (ValaForeach | void vala_foreach_statement_set_collection_variable (ValaForeachStatement* | |||
Statement* self, ValaVariableDeclarator* value); | self, ValaLocalVariable* value); | |||
ValaVariableDeclarator* vala_foreach_statement_get_iterator_variable_declar | ValaLocalVariable* vala_foreach_statement_get_iterator_variable (ValaForeac | |||
ator (ValaForeachStatement* self); | hStatement* self); | |||
void vala_foreach_statement_set_iterator_variable_declarator (ValaForeachSt | void vala_foreach_statement_set_iterator_variable (ValaForeachStatement* se | |||
atement* self, ValaVariableDeclarator* value); | lf, ValaLocalVariable* value); | |||
GType vala_foreach_statement_get_type (void); | GType vala_foreach_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
12 lines changed or deleted | 12 lines changed or added | |||
valaformalparameter.h | valaformalparameter.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#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; | |||
#define VALA_TYPE_PARAMETER_DIRECTION (vala_parameter_direction_get_type () | ||||
) | ||||
/** | /** | |||
* Represents a formal parameter in method and callback signatures. | * Represents a formal parameter in method and callback signatures. | |||
*/ | */ | |||
struct _ValaFormalParameter { | struct _ValaFormalParameter { | |||
ValaSymbol parent_instance; | ValaSymbol parent_instance; | |||
ValaFormalParameterPrivate * priv; | ValaFormalParameterPrivate * priv; | |||
}; | }; | |||
struct _ValaFormalParameterClass { | struct _ValaFormalParameterClass { | |||
ValaSymbolClass parent_class; | ValaSymbolClass parent_class; | |||
}; | }; | |||
typedef enum { | ||||
VALA_PARAMETER_DIRECTION_IN, | ||||
VALA_PARAMETER_DIRECTION_OUT, | ||||
VALA_PARAMETER_DIRECTION_REF | ||||
} ValaParameterDirection; | ||||
ValaFormalParameter* vala_formal_parameter_new (const char* _name, ValaData Type* type, ValaSourceReference* source); | ValaFormalParameter* vala_formal_parameter_new (const char* _name, ValaData Type* type, ValaSourceReference* source); | |||
ValaFormalParameter* vala_formal_parameter_new_with_ellipsis (ValaSourceRef erence* source); | ValaFormalParameter* vala_formal_parameter_new_with_ellipsis (ValaSourceRef erence* source); | |||
void vala_formal_parameter_process_attributes (ValaFormalParameter* self); | void vala_formal_parameter_process_attributes (ValaFormalParameter* self); | |||
ValaFormalParameter* vala_formal_parameter_copy (ValaFormalParameter* self) ; | ValaFormalParameter* vala_formal_parameter_copy (ValaFormalParameter* self) ; | |||
ValaDataType* vala_formal_parameter_get_type_reference (ValaFormalParameter * self); | ValaDataType* vala_formal_parameter_get_type_reference (ValaFormalParameter * self); | |||
void vala_formal_parameter_set_type_reference (ValaFormalParameter* self, V alaDataType* value); | void vala_formal_parameter_set_type_reference (ValaFormalParameter* self, V alaDataType* value); | |||
ValaParameterDirection vala_formal_parameter_get_direction (ValaFormalParam | ||||
eter* self); | ||||
void vala_formal_parameter_set_direction (ValaFormalParameter* self, ValaPa | ||||
rameterDirection value); | ||||
gboolean vala_formal_parameter_get_ellipsis (ValaFormalParameter* self); | gboolean vala_formal_parameter_get_ellipsis (ValaFormalParameter* self); | |||
void vala_formal_parameter_set_ellipsis (ValaFormalParameter* self, gboolea n value); | void vala_formal_parameter_set_ellipsis (ValaFormalParameter* self, gboolea n value); | |||
ValaExpression* vala_formal_parameter_get_default_expression (ValaFormalPar ameter* self); | ValaExpression* vala_formal_parameter_get_default_expression (ValaFormalPar ameter* self); | |||
void vala_formal_parameter_set_default_expression (ValaFormalParameter* sel f, ValaExpression* value); | void vala_formal_parameter_set_default_expression (ValaFormalParameter* sel f, ValaExpression* value); | |||
gboolean vala_formal_parameter_get_no_array_length (ValaFormalParameter* se lf); | gboolean vala_formal_parameter_get_no_array_length (ValaFormalParameter* se lf); | |||
void vala_formal_parameter_set_no_array_length (ValaFormalParameter* self, gboolean value); | void vala_formal_parameter_set_no_array_length (ValaFormalParameter* self, gboolean value); | |||
gboolean vala_formal_parameter_get_construct_parameter (ValaFormalParameter * self); | gboolean vala_formal_parameter_get_construct_parameter (ValaFormalParameter * self); | |||
void vala_formal_parameter_set_construct_parameter (ValaFormalParameter* se lf, gboolean value); | void vala_formal_parameter_set_construct_parameter (ValaFormalParameter* se lf, gboolean value); | |||
double vala_formal_parameter_get_cparameter_position (ValaFormalParameter* self); | double vala_formal_parameter_get_cparameter_position (ValaFormalParameter* self); | |||
void vala_formal_parameter_set_cparameter_position (ValaFormalParameter* se lf, double value); | void vala_formal_parameter_set_cparameter_position (ValaFormalParameter* se lf, double value); | |||
double vala_formal_parameter_get_carray_length_parameter_position (ValaForm alParameter* self); | double vala_formal_parameter_get_carray_length_parameter_position (ValaForm alParameter* self); | |||
void vala_formal_parameter_set_carray_length_parameter_position (ValaFormal Parameter* self, double value); | void vala_formal_parameter_set_carray_length_parameter_position (ValaFormal Parameter* self, double value); | |||
double vala_formal_parameter_get_cdelegate_target_parameter_position (ValaF ormalParameter* self); | double vala_formal_parameter_get_cdelegate_target_parameter_position (ValaF ormalParameter* self); | |||
void vala_formal_parameter_set_cdelegate_target_parameter_position (ValaFor malParameter* self, double value); | void vala_formal_parameter_set_cdelegate_target_parameter_position (ValaFor malParameter* self, double value); | |||
GType vala_formal_parameter_get_type (void); | GType vala_formal_parameter_get_type (void); | |||
GType vala_parameter_direction_get_type (void); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
0 lines changed or deleted | 13 lines changed or added | |||
valainterface.h | valainterface.h | |||
---|---|---|---|---|
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef __VALA_VALAINTERFACE_H__ | #ifndef __VALA_VALAINTERFACE_H__ | |||
#define __VALA_VALAINTERFACE_H__ | #define __VALA_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 <gee/collection.h> | |||
#include <vala/valatypesymbol.h> | #include <vala/valatypesymbol.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valacodebinding.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)) | |||
#define VALA_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_INTERFACE, ValaInterfaceClass)) | #define VALA_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_INTERFACE, ValaInterfaceClass)) | |||
skipping to change at line 82 | skipping to change at line 83 | |||
void vala_interface_add_enum (ValaInterface* self, ValaEnum* en); | void vala_interface_add_enum (ValaInterface* self, ValaEnum* en); | |||
void vala_interface_add_delegate (ValaInterface* self, ValaDelegate* d); | void vala_interface_add_delegate (ValaInterface* self, ValaDelegate* d); | |||
char* vala_interface_get_lower_case_csuffix (ValaInterface* self); | char* vala_interface_get_lower_case_csuffix (ValaInterface* self); | |||
char* vala_interface_get_default_lower_case_csuffix (ValaInterface* self); | char* vala_interface_get_default_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); | |||
gboolean vala_interface_get_declaration_only (ValaInterface* self); | ||||
void vala_interface_set_declaration_only (ValaInterface* self, gboolean val | ||||
ue); | ||||
GType vala_interface_get_type (void); | GType vala_interface_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 | |||
valainvocationexpression.h | valainvocationexpression.h | |||
---|---|---|---|---|
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef __VALA_VALAINVOCATIONEXPRESSION_H__ | #ifndef __VALA_VALAINVOCATIONEXPRESSION_H__ | |||
#define __VALA_VALAINVOCATIONEXPRESSION_H__ | #define __VALA_VALAINVOCATIONEXPRESSION_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <gee/list.h> | #include <gee/list.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valacodebinding.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)) | |||
#define VALA_INVOCATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpressionClass)) | #define VALA_INVOCATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpressionClass)) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valaliteral.h | valaliteral.h | |||
---|---|---|---|---|
skipping to change at line 53 | skipping to change at line 53 | |||
* Base class for all literals in the source code. | * Base class for all literals in the source code. | |||
*/ | */ | |||
struct _ValaLiteral { | struct _ValaLiteral { | |||
ValaExpression parent_instance; | ValaExpression parent_instance; | |||
ValaLiteralPrivate * priv; | ValaLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaLiteralClass { | struct _ValaLiteralClass { | |||
ValaExpressionClass parent_class; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaLiteral* vala_literal_new (void); | ||||
GType vala_literal_get_type (void); | GType vala_literal_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valamemberaccess.h | valamemberaccess.h | |||
---|---|---|---|---|
/* valamemberaccess.vala | /* valamemberaccess.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef __VALA_VALAMEMBERACCESS_H__ | #ifndef __VALA_VALAMEMBERACCESS_H__ | |||
#define __VALA_VALAMEMBERACCESS_H__ | #define __VALA_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 <gee/collection.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valacodebinding.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)) | |||
#define VALA_MEMBER_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | #define VALA_MEMBER_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
valamemorymanager.h | valamemorymanager.h | |||
---|---|---|---|---|
skipping to change at line 44 | skipping to change at line 44 | |||
#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/valablock.h> | #include <vala/valablock.h> | |||
#include <vala/valavariabledeclarator.h> | #include <vala/valalocalvariable.h> | |||
#include <vala/valainitializerlist.h> | #include <vala/valainitializerlist.h> | |||
#include <vala/valaexpressionstatement.h> | #include <vala/valaexpressionstatement.h> | |||
#include <vala/valaifstatement.h> | #include <vala/valaifstatement.h> | |||
#include <vala/valaswitchsection.h> | #include <vala/valaswitchsection.h> | |||
#include <vala/valawhilestatement.h> | #include <vala/valawhilestatement.h> | |||
#include <vala/valadostatement.h> | #include <vala/valadostatement.h> | |||
#include <vala/valaforstatement.h> | #include <vala/valaforstatement.h> | |||
#include <vala/valaforeachstatement.h> | #include <vala/valaforeachstatement.h> | |||
#include <vala/valareturnstatement.h> | #include <vala/valareturnstatement.h> | |||
#include <vala/valathrowstatement.h> | #include <vala/valathrowstatement.h> | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valamethod.h | valamethod.h | |||
---|---|---|---|---|
skipping to change at line 36 | skipping to change at line 36 | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
#include <float.h> | #include <float.h> | |||
#include <math.h> | #include <math.h> | |||
#include <vala/valamember.h> | #include <vala/valamember.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valacodebinding.h> | ||||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_METHOD (vala_method_get_type ()) | #define VALA_TYPE_METHOD (vala_method_get_type ()) | |||
#define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH OD, ValaMethod)) | #define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH OD, ValaMethod)) | |||
#define VALA_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_METHOD, ValaMethodClass)) | #define VALA_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_METHOD, ValaMethodClass)) | |||
#define VALA_IS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M ETHOD)) | #define VALA_IS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M ETHOD)) | |||
#define VALA_IS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_METHOD)) | #define VALA_IS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_METHOD)) | |||
#define VALA_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_METHOD, ValaMethodClass)) | #define VALA_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_METHOD, ValaMethodClass)) | |||
skipping to change at line 64 | skipping to change at line 65 | |||
}; | }; | |||
struct _ValaMethodClass { | struct _ValaMethodClass { | |||
ValaMemberClass parent_class; | ValaMemberClass parent_class; | |||
char* (*get_default_cname) (ValaMethod* self); | char* (*get_default_cname) (ValaMethod* self); | |||
}; | }; | |||
#define VALA_METHOD_DEFAULT_SENTINEL "NULL" | #define VALA_METHOD_DEFAULT_SENTINEL "NULL" | |||
ValaMethod* vala_method_new (const char* name, ValaDataType* return_type, V alaSourceReference* source_reference); | ValaMethod* vala_method_new (const char* name, ValaDataType* return_type, V alaSourceReference* source_reference); | |||
void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para m); | void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para m); | |||
GeeCollection* vala_method_get_parameters (ValaMethod* self); | GeeCollection* vala_method_get_parameters (ValaMethod* self); | |||
void vala_method_clear_parameters (ValaMethod* self); | ||||
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_compatible (ValaMethod* self, ValaMethod* base_method, const char** invalid_match); | |||
void vala_method_add_error_domain (ValaMethod* self, ValaDataType* error_do main); | void vala_method_add_error_domain (ValaMethod* self, ValaDataType* error_do main); | |||
GeeCollection* vala_method_get_error_domains (ValaMethod* self); | GeeCollection* vala_method_get_error_domains (ValaMethod* self); | |||
void vala_method_add_precondition (ValaMethod* self, ValaExpression* precon dition); | void vala_method_add_precondition (ValaMethod* self, ValaExpression* precon dition); | |||
GeeCollection* vala_method_get_preconditions (ValaMethod* self); | GeeCollection* vala_method_get_preconditions (ValaMethod* self); | |||
void vala_method_add_postcondition (ValaMethod* self, ValaExpression* postc ondition); | void vala_method_add_postcondition (ValaMethod* self, ValaExpression* postc ondition); | |||
GeeCollection* vala_method_get_postconditions (ValaMethod* self); | GeeCollection* vala_method_get_postconditions (ValaMethod* self); | |||
ValaDataType* vala_method_get_return_type (ValaMethod* self); | ValaDataType* vala_method_get_return_type (ValaMethod* self); | |||
void vala_method_set_return_type (ValaMethod* self, ValaDataType* value); | void vala_method_set_return_type (ValaMethod* self, ValaDataType* value); | |||
ValaBlock* vala_method_get_body (ValaMethod* self); | ValaBlock* vala_method_get_body (ValaMethod* self); | |||
void vala_method_set_body (ValaMethod* self, ValaBlock* value); | void vala_method_set_body (ValaMethod* self, ValaBlock* value); | |||
skipping to change at line 106 | skipping to change at line 108 | |||
gboolean vala_method_get_is_inline (ValaMethod* self); | gboolean vala_method_get_is_inline (ValaMethod* self); | |||
void vala_method_set_is_inline (ValaMethod* self, gboolean value); | void vala_method_set_is_inline (ValaMethod* self, gboolean value); | |||
gboolean vala_method_get_returns_modified_pointer (ValaMethod* self); | gboolean vala_method_get_returns_modified_pointer (ValaMethod* self); | |||
void vala_method_set_returns_modified_pointer (ValaMethod* self, gboolean v alue); | void vala_method_set_returns_modified_pointer (ValaMethod* self, gboolean v alue); | |||
ValaMethod* vala_method_get_base_method (ValaMethod* self); | ValaMethod* vala_method_get_base_method (ValaMethod* self); | |||
void vala_method_set_base_method (ValaMethod* self, ValaMethod* value); | void vala_method_set_base_method (ValaMethod* self, ValaMethod* value); | |||
ValaMethod* vala_method_get_base_interface_method (ValaMethod* self); | ValaMethod* vala_method_get_base_interface_method (ValaMethod* self); | |||
void vala_method_set_base_interface_method (ValaMethod* self, ValaMethod* v alue); | void vala_method_set_base_interface_method (ValaMethod* self, ValaMethod* v alue); | |||
ValaFormalParameter* vala_method_get_this_parameter (ValaMethod* self); | ValaFormalParameter* vala_method_get_this_parameter (ValaMethod* self); | |||
void vala_method_set_this_parameter (ValaMethod* self, ValaFormalParameter* value); | void vala_method_set_this_parameter (ValaMethod* self, ValaFormalParameter* value); | |||
ValaVariableDeclarator* vala_method_get_result_var (ValaMethod* self); | ValaLocalVariable* vala_method_get_result_var (ValaMethod* self); | |||
void vala_method_set_result_var (ValaMethod* self, ValaVariableDeclarator* | void vala_method_set_result_var (ValaMethod* self, ValaLocalVariable* value | |||
value); | ); | |||
double vala_method_get_cinstance_parameter_position (ValaMethod* self); | double vala_method_get_cinstance_parameter_position (ValaMethod* self); | |||
void vala_method_set_cinstance_parameter_position (ValaMethod* self, double value); | void vala_method_set_cinstance_parameter_position (ValaMethod* self, double value); | |||
double vala_method_get_carray_length_parameter_position (ValaMethod* self); | double vala_method_get_carray_length_parameter_position (ValaMethod* self); | |||
void vala_method_set_carray_length_parameter_position (ValaMethod* self, do uble value); | void vala_method_set_carray_length_parameter_position (ValaMethod* self, do uble value); | |||
double vala_method_get_cdelegate_target_parameter_position (ValaMethod* sel f); | double vala_method_get_cdelegate_target_parameter_position (ValaMethod* sel f); | |||
void vala_method_set_cdelegate_target_parameter_position (ValaMethod* self, double value); | void vala_method_set_cdelegate_target_parameter_position (ValaMethod* self, double value); | |||
gboolean vala_method_get_no_array_length (ValaMethod* self); | gboolean vala_method_get_no_array_length (ValaMethod* self); | |||
void vala_method_set_no_array_length (ValaMethod* self, gboolean value); | void vala_method_set_no_array_length (ValaMethod* self, gboolean value); | |||
gboolean vala_method_get_printf_format (ValaMethod* self); | gboolean vala_method_get_printf_format (ValaMethod* self); | |||
void vala_method_set_printf_format (ValaMethod* self, gboolean value); | void vala_method_set_printf_format (ValaMethod* self, gboolean value); | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 6 lines changed or added | |||
valanamespace.h | valanamespace.h | |||
---|---|---|---|---|
skipping to change at line 69 | skipping to change at line 69 | |||
GeeCollection* vala_namespace_get_namespaces (ValaNamespace* self); | 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_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_error_domain (ValaNamespace* self, ValaErrorDomain* edomain); | void vala_namespace_add_error_domain (ValaNamespace* self, ValaErrorDomain* edomain); | |||
void vala_namespace_add_delegate (ValaNamespace* self, ValaDelegate* d); | void vala_namespace_add_delegate (ValaNamespace* self, ValaDelegate* d); | |||
GeeCollection* vala_namespace_get_structs (ValaNamespace* self); | GeeCollection* vala_namespace_get_structs (ValaNamespace* self); | |||
GeeCollection* vala_namespace_get_classes (ValaNamespace* self); | GeeCollection* vala_namespace_get_classes (ValaNamespace* self); | |||
GeeCollection* vala_namespace_get_interfaces (ValaNamespace* self); | GeeCollection* vala_namespace_get_interfaces (ValaNamespace* self); | |||
GeeCollection* vala_namespace_get_enums (ValaNamespace* self); | ||||
GeeCollection* vala_namespace_get_error_domains (ValaNamespace* self); | ||||
GeeCollection* vala_namespace_get_fields (ValaNamespace* self); | ||||
GeeCollection* vala_namespace_get_constants (ValaNamespace* self); | ||||
GeeCollection* vala_namespace_get_delegates (ValaNamespace* self); | ||||
GeeCollection* vala_namespace_get_methods (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); | |||
GeeList* vala_namespace_get_cprefixes (ValaNamespace* self); | GeeList* vala_namespace_get_cprefixes (ValaNamespace* self); | |||
void vala_namespace_add_cprefix (ValaNamespace* self, const char* cprefix); | void vala_namespace_add_cprefix (ValaNamespace* self, const char* cprefix); | |||
void vala_namespace_set_lower_case_cprefix (ValaNamespace* self, const char * cprefix); | void vala_namespace_set_lower_case_cprefix (ValaNamespace* self, const char * cprefix); | |||
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); | |||
gboolean vala_namespace_get_pkg (ValaNamespace* self); | ||||
void vala_namespace_set_pkg (ValaNamespace* self, gboolean value); | ||||
GType vala_namespace_get_type (void); | GType vala_namespace_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 6 lines changed or added | |||
valaobjectcreationexpression.h | valaobjectcreationexpression.h | |||
---|---|---|---|---|
skipping to change at line 65 | skipping to change at line 65 | |||
void vala_object_creation_expression_add_argument (ValaObjectCreationExpres sion* self, ValaExpression* arg); | void vala_object_creation_expression_add_argument (ValaObjectCreationExpres sion* self, ValaExpression* arg); | |||
GeeCollection* vala_object_creation_expression_get_argument_list (ValaObjec tCreationExpression* self); | GeeCollection* vala_object_creation_expression_get_argument_list (ValaObjec tCreationExpression* self); | |||
void vala_object_creation_expression_add_member_initializer (ValaObjectCrea tionExpression* self, ValaMemberInitializer* init); | void vala_object_creation_expression_add_member_initializer (ValaObjectCrea tionExpression* self, ValaMemberInitializer* init); | |||
GeeCollection* vala_object_creation_expression_get_object_initializer (Vala ObjectCreationExpression* self); | GeeCollection* vala_object_creation_expression_get_object_initializer (Vala ObjectCreationExpression* self); | |||
ValaDataType* vala_object_creation_expression_get_type_reference (ValaObjec tCreationExpression* self); | ValaDataType* vala_object_creation_expression_get_type_reference (ValaObjec tCreationExpression* self); | |||
void vala_object_creation_expression_set_type_reference (ValaObjectCreation Expression* self, ValaDataType* value); | void vala_object_creation_expression_set_type_reference (ValaObjectCreation Expression* self, ValaDataType* 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); | |||
gboolean vala_object_creation_expression_get_struct_creation (ValaObjectCre | ||||
ationExpression* self); | ||||
void vala_object_creation_expression_set_struct_creation (ValaObjectCreatio | ||||
nExpression* self, gboolean value); | ||||
GType vala_object_creation_expression_get_type (void); | GType vala_object_creation_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 4 lines changed or added | |||
valaparser.h | valaparser.h | |||
---|---|---|---|---|
/* valaparser.vala | /* valaparser.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 28 | skipping to change at line 28 | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALA_VALAPARSER_H__ | #ifndef __VALA_VALAPARSER_H__ | |||
#define __VALA_VALAPARSER_H__ | #define __VALA_VALAPARSER_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.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> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_PARSER (vala_parser_get_type ()) | #define VALA_TYPE_PARSER (vala_parser_get_type ()) | |||
#define VALA_PARSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_PARS ER, ValaParser)) | #define VALA_PARSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_PARS ER, ValaParser)) | |||
#define VALA_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_PARSER, ValaParserClass)) | #define VALA_PARSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_PARSER, ValaParserClass)) | |||
#define VALA_IS_PARSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_P ARSER)) | #define VALA_IS_PARSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_P ARSER)) | |||
skipping to change at line 57 | skipping to change at line 55 | |||
/** | /** | |||
* Code visitor parsing all Vala source files. | * Code visitor parsing all Vala source files. | |||
*/ | */ | |||
struct _ValaParser { | struct _ValaParser { | |||
ValaCodeVisitor parent_instance; | ValaCodeVisitor parent_instance; | |||
ValaParserPrivate * priv; | ValaParserPrivate * priv; | |||
}; | }; | |||
struct _ValaParserClass { | struct _ValaParserClass { | |||
ValaCodeVisitorClass parent_class; | ValaCodeVisitorClass parent_class; | |||
}; | }; | |||
typedef enum { | ||||
VALA_PARSE_ERROR_FAILED, | ||||
VALA_PARSE_ERROR_SYNTAX | ||||
} ValaParseError; | ||||
#define VALA_PARSE_ERROR vala_parse_error_quark () | ||||
void vala_parser_parse (ValaParser* self, ValaCodeContext* context); | void vala_parser_parse (ValaParser* self, ValaCodeContext* context); | |||
void vala_parser_push_comment (ValaParser* self, const char* comment_item, | ||||
gboolean file_comment); | ||||
char* vala_parser_pop_comment (ValaParser* self); | ||||
void vala_parser_parse_file (ValaParser* self, ValaSourceFile* source_file) ; | void vala_parser_parse_file (ValaParser* self, ValaSourceFile* source_file) ; | |||
ValaParser* vala_parser_new (void); | ValaParser* vala_parser_new (void); | |||
GType vala_parser_get_type (void); | GType vala_parser_get_type (void); | |||
GQuark vala_parse_error_quark (void); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
6 lines changed or deleted | 7 lines changed or added | |||
valareferencetype.h | valareferencetype.h | |||
---|---|---|---|---|
skipping to change at line 54 | skipping to change at line 54 | |||
* A reference type, i.e. a class, interface, or array type. | * A reference type, i.e. a class, interface, or array type. | |||
*/ | */ | |||
struct _ValaReferenceType { | struct _ValaReferenceType { | |||
ValaDataType parent_instance; | ValaDataType parent_instance; | |||
ValaReferenceTypePrivate * priv; | ValaReferenceTypePrivate * priv; | |||
}; | }; | |||
struct _ValaReferenceTypeClass { | struct _ValaReferenceTypeClass { | |||
ValaDataTypeClass parent_class; | ValaDataTypeClass parent_class; | |||
}; | }; | |||
ValaReferenceType* vala_reference_type_new (void); | ||||
GType vala_reference_type_get_type (void); | GType vala_reference_type_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valareport.h | valareport.h | |||
---|---|---|---|---|
/* valareport.vala | /* valareport.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valareturnstatement.h | valareturnstatement.h | |||
---|---|---|---|---|
/* valareturnstatement.vala | /* valareturnstatement.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valascope.h | valascope.h | |||
---|---|---|---|---|
skipping to change at line 56 | skipping to change at line 56 | |||
struct _ValaScope { | struct _ValaScope { | |||
GObject parent_instance; | GObject parent_instance; | |||
ValaScopePrivate * priv; | ValaScopePrivate * priv; | |||
}; | }; | |||
struct _ValaScopeClass { | struct _ValaScopeClass { | |||
GObjectClass parent_class; | GObjectClass parent_class; | |||
}; | }; | |||
ValaScope* vala_scope_new (ValaSymbol* owner); | ValaScope* vala_scope_new (ValaSymbol* owner); | |||
void vala_scope_add (ValaScope* self, const char* name, ValaSymbol* sym); | void vala_scope_add (ValaScope* self, const char* name, ValaSymbol* sym); | |||
void vala_scope_remove (ValaScope* self, const char* name); | ||||
ValaSymbol* vala_scope_lookup (ValaScope* self, const char* name); | ValaSymbol* vala_scope_lookup (ValaScope* self, const char* name); | |||
gboolean vala_scope_is_subscope_of (ValaScope* self, ValaScope* scope); | gboolean vala_scope_is_subscope_of (ValaScope* self, ValaScope* scope); | |||
ValaSymbol* vala_scope_get_owner (ValaScope* self); | ValaSymbol* vala_scope_get_owner (ValaScope* self); | |||
void vala_scope_set_owner (ValaScope* self, ValaSymbol* value); | void vala_scope_set_owner (ValaScope* self, ValaSymbol* value); | |||
ValaScope* vala_scope_get_parent_scope (ValaScope* self); | ValaScope* vala_scope_get_parent_scope (ValaScope* self); | |||
void vala_scope_set_parent_scope (ValaScope* self, ValaScope* value); | void vala_scope_set_parent_scope (ValaScope* self, ValaScope* value); | |||
GType vala_scope_get_type (void); | GType vala_scope_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valasemanticanalyzer.h | valasemanticanalyzer.h | |||
---|---|---|---|---|
skipping to change at line 32 | skipping to change at line 32 | |||
*/ | */ | |||
#ifndef __VALA_VALASEMANTICANALYZER_H__ | #ifndef __VALA_VALASEMANTICANALYZER_H__ | |||
#define __VALA_VALASEMANTICANALYZER_H__ | #define __VALA_VALASEMANTICANALYZER_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <vala/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valabindingprovider.h> | ||||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valainterface.h> | #include <vala/valainterface.h> | |||
#include <vala/valaenum.h> | #include <vala/valaenum.h> | |||
#include <vala/valaenumvalue.h> | #include <vala/valaenumvalue.h> | |||
#include <vala/valadelegate.h> | #include <vala/valadelegate.h> | |||
#include <vala/valaconstant.h> | #include <vala/valaconstant.h> | |||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valacreationmethod.h> | #include <vala/valacreationmethod.h> | |||
#include <vala/valaformalparameter.h> | #include <vala/valaformalparameter.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valapropertyaccessor.h> | #include <vala/valapropertyaccessor.h> | |||
#include <vala/valasignal.h> | #include <vala/valasignal.h> | |||
#include <vala/valaconstructor.h> | #include <vala/valaconstructor.h> | |||
#include <vala/valadestructor.h> | #include <vala/valadestructor.h> | |||
#include <vala/valanamedargument.h> | #include <vala/valanamedargument.h> | |||
#include <vala/valablock.h> | #include <vala/valablock.h> | |||
#include <vala/valavariabledeclarator.h> | #include <vala/valalocalvariable.h> | |||
#include <vala/valainitializerlist.h> | #include <vala/valainitializerlist.h> | |||
#include <vala/valaexpressionstatement.h> | #include <vala/valaexpressionstatement.h> | |||
#include <vala/valaifstatement.h> | #include <vala/valaifstatement.h> | |||
#include <vala/valaswitchsection.h> | #include <vala/valaswitchsection.h> | |||
#include <vala/valawhilestatement.h> | #include <vala/valawhilestatement.h> | |||
#include <vala/valadostatement.h> | #include <vala/valadostatement.h> | |||
#include <vala/valaforstatement.h> | #include <vala/valaforstatement.h> | |||
#include <vala/valaforeachstatement.h> | #include <vala/valaforeachstatement.h> | |||
#include <vala/valareturnstatement.h> | #include <vala/valareturnstatement.h> | |||
#include <vala/valathrowstatement.h> | #include <vala/valathrowstatement.h> | |||
skipping to change at line 123 | skipping to change at line 122 | |||
*/ | */ | |||
struct _ValaSemanticAnalyzer { | struct _ValaSemanticAnalyzer { | |||
ValaCodeVisitor parent_instance; | ValaCodeVisitor parent_instance; | |||
ValaSemanticAnalyzerPrivate * priv; | ValaSemanticAnalyzerPrivate * priv; | |||
}; | }; | |||
struct _ValaSemanticAnalyzerClass { | struct _ValaSemanticAnalyzerClass { | |||
ValaCodeVisitorClass parent_class; | ValaCodeVisitorClass parent_class; | |||
}; | }; | |||
ValaSemanticAnalyzer* vala_semantic_analyzer_new (void); | ValaSemanticAnalyzer* vala_semantic_analyzer_new (void); | |||
void vala_semantic_analyzer_add_binding_provider (ValaSemanticAnalyzer* sel f, ValaBindingProvider* binding_provider); | ||||
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); | |||
ValaDataType* vala_semantic_analyzer_get_actual_type (ValaDataType* derived _instance_type, ValaSymbol* generic_member, ValaDataType* generic_type, Val aCodeNode* node_reference); | ValaDataType* vala_semantic_analyzer_get_actual_type (ValaDataType* derived _instance_type, ValaSymbol* generic_member, ValaDataType* generic_type, Val aCodeNode* node_reference); | |||
GType vala_semantic_analyzer_get_type (void); | GType vala_semantic_analyzer_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 1 lines changed or added | |||
valasourcefile.h | valasourcefile.h | |||
---|---|---|---|---|
skipping to change at line 66 | skipping to change at line 66 | |||
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); | |||
GeeCollection* vala_source_file_get_using_directives (ValaSourceFile* self) ; | GeeCollection* vala_source_file_get_using_directives (ValaSourceFile* self) ; | |||
void vala_source_file_add_node (ValaSourceFile* self, ValaCodeNode* node); | void vala_source_file_add_node (ValaSourceFile* self, ValaCodeNode* node); | |||
void vala_source_file_remove_node (ValaSourceFile* self, ValaCodeNode* node ); | ||||
GeeCollection* vala_source_file_get_nodes (ValaSourceFile* self); | GeeCollection* vala_source_file_get_nodes (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); | |||
void vala_source_file_add_type_dependency (ValaSourceFile* self, ValaDataTy pe* type, ValaSourceFileDependencyType dep_type); | void vala_source_file_add_type_dependency (ValaSourceFile* self, ValaDataTy pe* type, ValaSourceFileDependencyType dep_type); | |||
GeeCollection* vala_source_file_get_header_external_includes (ValaSourceFil e* 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); | |||
GeeCollection* vala_source_file_get_header_internal_includes (ValaSourceFil e* self); | GeeCollection* vala_source_file_get_header_internal_includes (ValaSourceFil e* self); | |||
GeeCollection* vala_source_file_get_source_external_includes (ValaSourceFil e* self); | GeeCollection* vala_source_file_get_source_external_includes (ValaSourceFil e* self); | |||
GeeCollection* vala_source_file_get_source_internal_includes (ValaSourceFil e* self); | GeeCollection* vala_source_file_get_source_internal_includes (ValaSourceFil e* self); | |||
GeeCollection* vala_source_file_get_header_internal_full_dependencies (Vala SourceFile* self); | GeeCollection* vala_source_file_get_header_internal_full_dependencies (Vala SourceFile* self); | |||
GeeCollection* vala_source_file_get_header_internal_dependencies (ValaSourc eFile* self); | GeeCollection* vala_source_file_get_header_internal_dependencies (ValaSourc eFile* self); | |||
char* vala_source_file_get_source_line (ValaSourceFile* self, gint lineno); | char* vala_source_file_get_source_line (ValaSourceFile* self, gint lineno); | |||
gchar* vala_source_file_get_mapped_contents (ValaSourceFile* self); | ||||
gsize vala_source_file_get_mapped_length (ValaSourceFile* 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_external_package (ValaSourceFile* self); | |||
void vala_source_file_set_pkg (ValaSourceFile* self, gboolean value); | void vala_source_file_set_external_package (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 (void); | GType vala_source_file_get_type (void); | |||
GType vala_source_file_dependency_type_get_type (void); | GType vala_source_file_dependency_type_get_type (void); | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 6 lines changed or added | |||
valasourcereference.h | valasourcereference.h | |||
---|---|---|---|---|
/* valasourcereference.vala | /* valasourcereference.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaswitchsection.h | valaswitchsection.h | |||
---|---|---|---|---|
/* valaswitchsection.vala | /* valaswitchsection.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 58 | skipping to change at line 58 | |||
ValaSwitchSectionPrivate * priv; | ValaSwitchSectionPrivate * priv; | |||
}; | }; | |||
struct _ValaSwitchSectionClass { | struct _ValaSwitchSectionClass { | |||
ValaBlockClass parent_class; | ValaBlockClass parent_class; | |||
}; | }; | |||
ValaSwitchSection* vala_switch_section_new (ValaSourceReference* source_ref erence); | 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); | |||
GeeCollection* 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); | ||||
GeeCollection* vala_switch_section_get_statements (ValaSwitchSection* self) | ||||
; | ||||
GType vala_switch_section_get_type (void); | GType vala_switch_section_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 1 lines changed or added | |||
valasymbol.h | valasymbol.h | |||
---|---|---|---|---|
skipping to change at line 60 | skipping to change at line 60 | |||
ValaCodeNode parent_instance; | ValaCodeNode parent_instance; | |||
ValaSymbolPrivate * priv; | ValaSymbolPrivate * priv; | |||
}; | }; | |||
struct _ValaSymbolClass { | struct _ValaSymbolClass { | |||
ValaCodeNodeClass parent_class; | ValaCodeNodeClass parent_class; | |||
char* (*get_cprefix) (ValaSymbol* self); | char* (*get_cprefix) (ValaSymbol* self); | |||
char* (*get_lower_case_cname) (ValaSymbol* self, const char* infix); | char* (*get_lower_case_cname) (ValaSymbol* self, const char* infix); | |||
char* (*get_lower_case_cprefix) (ValaSymbol* self); | char* (*get_lower_case_cprefix) (ValaSymbol* self); | |||
GeeCollection* (*get_cheader_filenames) (ValaSymbol* self); | GeeCollection* (*get_cheader_filenames) (ValaSymbol* self); | |||
}; | }; | |||
/* if this is a public symbol, it's equally accessible as the parent symbol */ | ||||
typedef enum { | typedef enum { | |||
VALA_SYMBOL_ACCESSIBILITY_PRIVATE, | VALA_SYMBOL_ACCESSIBILITY_PRIVATE, | |||
VALA_SYMBOL_ACCESSIBILITY_INTERNAL, | VALA_SYMBOL_ACCESSIBILITY_INTERNAL, | |||
VALA_SYMBOL_ACCESSIBILITY_PROTECTED, | VALA_SYMBOL_ACCESSIBILITY_PROTECTED, | |||
VALA_SYMBOL_ACCESSIBILITY_PUBLIC | VALA_SYMBOL_ACCESSIBILITY_PUBLIC | |||
} ValaSymbolAccessibility; | } ValaSymbolAccessibility; | |||
gboolean vala_symbol_is_internal_symbol (ValaSymbol* self); | gboolean vala_symbol_is_internal_symbol (ValaSymbol* self); | |||
char* vala_symbol_get_full_name (ValaSymbol* self); | char* vala_symbol_get_full_name (ValaSymbol* self); | |||
char* vala_symbol_get_cprefix (ValaSymbol* self); | char* vala_symbol_get_cprefix (ValaSymbol* self); | |||
char* vala_symbol_get_lower_case_cname (ValaSymbol* self, const char* infix ); | char* vala_symbol_get_lower_case_cname (ValaSymbol* self, const char* infix ); | |||
char* vala_symbol_get_lower_case_cprefix (ValaSymbol* self); | char* vala_symbol_get_lower_case_cprefix (ValaSymbol* self); | |||
GeeCollection* vala_symbol_get_cheader_filenames (ValaSymbol* self); | GeeCollection* vala_symbol_get_cheader_filenames (ValaSymbol* self); | |||
char* vala_symbol_camel_case_to_lower_case (const char* camel_case); | char* vala_symbol_camel_case_to_lower_case (const char* camel_case); | |||
ValaScope* vala_symbol_get_top_accessible_scope (ValaSymbol* self); | ValaScope* vala_symbol_get_top_accessible_scope (ValaSymbol* self); | |||
ValaSymbol* vala_symbol_new (void); | ||||
ValaSymbol* vala_symbol_get_parent_symbol (ValaSymbol* self); | ValaSymbol* vala_symbol_get_parent_symbol (ValaSymbol* self); | |||
ValaScope* vala_symbol_get_owner (ValaSymbol* self); | ValaScope* vala_symbol_get_owner (ValaSymbol* self); | |||
void vala_symbol_set_owner (ValaSymbol* self, ValaScope* value); | 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); | |||
ValaSymbolAccessibility vala_symbol_get_access (ValaSymbol* self); | ValaSymbolAccessibility vala_symbol_get_access (ValaSymbol* self); | |||
void vala_symbol_set_access (ValaSymbol* self, ValaSymbolAccessibility valu e); | void vala_symbol_set_access (ValaSymbol* self, ValaSymbolAccessibility valu e); | |||
ValaScope* vala_symbol_get_scope (ValaSymbol* self); | ValaScope* vala_symbol_get_scope (ValaSymbol* self); | |||
gboolean vala_symbol_get_is_imported (ValaSymbol* self); | gboolean vala_symbol_get_external (ValaSymbol* self); | |||
void vala_symbol_set_is_imported (ValaSymbol* self, gboolean value); | void vala_symbol_set_external (ValaSymbol* self, gboolean value); | |||
gboolean vala_symbol_get_external_package (ValaSymbol* self); | ||||
GType vala_symbol_get_type (void); | GType vala_symbol_get_type (void); | |||
GType vala_symbol_accessibility_get_type (void); | GType vala_symbol_accessibility_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 4 lines changed or added | |||
valasymbolresolver.h | valasymbolresolver.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#include <vala/valacreationmethod.h> | #include <vala/valacreationmethod.h> | |||
#include <vala/valaformalparameter.h> | #include <vala/valaformalparameter.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valapropertyaccessor.h> | #include <vala/valapropertyaccessor.h> | |||
#include <vala/valasignal.h> | #include <vala/valasignal.h> | |||
#include <vala/valaconstructor.h> | #include <vala/valaconstructor.h> | |||
#include <vala/valadestructor.h> | #include <vala/valadestructor.h> | |||
#include <vala/valablock.h> | #include <vala/valablock.h> | |||
#include <vala/valanamespacereference.h> | #include <vala/valanamespacereference.h> | |||
#include <vala/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valavariabledeclarator.h> | #include <vala/valalocalvariable.h> | |||
#include <vala/valainitializerlist.h> | #include <vala/valainitializerlist.h> | |||
#include <vala/valaifstatement.h> | #include <vala/valaifstatement.h> | |||
#include <vala/valaswitchsection.h> | #include <vala/valaswitchsection.h> | |||
#include <vala/valawhilestatement.h> | #include <vala/valawhilestatement.h> | |||
#include <vala/valadostatement.h> | #include <vala/valadostatement.h> | |||
#include <vala/valaforstatement.h> | #include <vala/valaforstatement.h> | |||
#include <vala/valaforeachstatement.h> | #include <vala/valaforeachstatement.h> | |||
#include <vala/valareturnstatement.h> | #include <vala/valareturnstatement.h> | |||
#include <vala/valathrowstatement.h> | #include <vala/valathrowstatement.h> | |||
#include <vala/valatrystatement.h> | #include <vala/valatrystatement.h> | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valatypeparametertype.h | valatypeparametertype.h | |||
---|---|---|---|---|
/* FIXME check whether the corresponding data type of one of the | /* valatypeparametertype.vala | |||
parameters is a base type of the corresponding data | ||||
type of the other parameter and check along the path | ||||
whether one parameter maps to the other | ||||
valatypeparametertype.vala | ||||
* | * | |||
* Copyright (C) 2008 Jürg Billeter | * Copyright (C) 2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
End of changes. 1 change blocks. | ||||
5 lines changed or deleted | 1 lines changed or added | |||
valatyperegisterfunction.h | valatyperegisterfunction.h | |||
---|---|---|---|---|
skipping to change at line 83 | skipping to change at line 83 | |||
char* vala_typeregister_function_get_class_init_func_name (ValaTypeRegister Function* self); | char* vala_typeregister_function_get_class_init_func_name (ValaTypeRegister Function* self); | |||
char* vala_typeregister_function_get_instance_struct_size (ValaTypeRegister Function* self); | char* vala_typeregister_function_get_instance_struct_size (ValaTypeRegister Function* self); | |||
char* vala_typeregister_function_get_instance_init_func_name (ValaTypeRegis terFunction* self); | char* vala_typeregister_function_get_instance_init_func_name (ValaTypeRegis terFunction* self); | |||
char* vala_typeregister_function_get_parent_type_name (ValaTypeRegisterFunc tion* self); | char* vala_typeregister_function_get_parent_type_name (ValaTypeRegisterFunc tion* self); | |||
char* vala_typeregister_function_get_type_flags (ValaTypeRegisterFunction* self); | char* vala_typeregister_function_get_type_flags (ValaTypeRegisterFunction* self); | |||
ValaCCodeFragment* vala_typeregister_function_get_type_interface_init_decla ration (ValaTypeRegisterFunction* self); | ValaCCodeFragment* vala_typeregister_function_get_type_interface_init_decla ration (ValaTypeRegisterFunction* self); | |||
ValaCCodeFragment* vala_typeregister_function_get_type_interface_init_state ments (ValaTypeRegisterFunction* self); | ValaCCodeFragment* vala_typeregister_function_get_type_interface_init_state ments (ValaTypeRegisterFunction* self); | |||
ValaCCodeFragment* vala_typeregister_function_get_declaration (ValaTypeRegi sterFunction* self); | ValaCCodeFragment* vala_typeregister_function_get_declaration (ValaTypeRegi sterFunction* self); | |||
ValaCCodeFragment* vala_typeregister_function_get_definition (ValaTypeRegis terFunction* self); | ValaCCodeFragment* vala_typeregister_function_get_definition (ValaTypeRegis terFunction* self); | |||
ValaSymbolAccessibility vala_typeregister_function_get_accessibility (ValaT ypeRegisterFunction* self); | ValaSymbolAccessibility vala_typeregister_function_get_accessibility (ValaT ypeRegisterFunction* self); | |||
ValaTypeRegisterFunction* vala_typeregister_function_new (void); | ||||
GType vala_typeregister_function_get_type (void); | GType vala_typeregister_function_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valatypesymbol.h | valatypesymbol.h | |||
---|---|---|---|---|
/* valatype.vala | /* valatype.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 61 | skipping to change at line 61 | |||
struct _ValaTypesymbol { | struct _ValaTypesymbol { | |||
ValaSymbol parent_instance; | ValaSymbol parent_instance; | |||
ValaTypesymbolPrivate * priv; | ValaTypesymbolPrivate * priv; | |||
}; | }; | |||
struct _ValaTypesymbolClass { | struct _ValaTypesymbolClass { | |||
ValaSymbolClass parent_class; | ValaSymbolClass parent_class; | |||
char* (*get_cname) (ValaTypesymbol* self, gboolean const_type); | char* (*get_cname) (ValaTypesymbol* self, gboolean const_type); | |||
gboolean (*is_reference_type) (ValaTypesymbol* self); | gboolean (*is_reference_type) (ValaTypesymbol* self); | |||
char* (*get_dup_function) (ValaTypesymbol* self); | char* (*get_dup_function) (ValaTypesymbol* self); | |||
char* (*get_free_function) (ValaTypesymbol* self); | char* (*get_free_function) (ValaTypesymbol* self); | |||
char* (*get_copy_function) (ValaTypesymbol* self); | ||||
char* (*get_destroy_function) (ValaTypesymbol* self); | ||||
gboolean (*is_reference_counting) (ValaTypesymbol* self); | gboolean (*is_reference_counting) (ValaTypesymbol* self); | |||
char* (*get_ref_function) (ValaTypesymbol* self); | char* (*get_ref_function) (ValaTypesymbol* self); | |||
char* (*get_unref_function) (ValaTypesymbol* self); | char* (*get_unref_function) (ValaTypesymbol* self); | |||
char* (*get_type_id) (ValaTypesymbol* self); | char* (*get_type_id) (ValaTypesymbol* self); | |||
char* (*get_marshaller_type_name) (ValaTypesymbol* self); | char* (*get_marshaller_type_name) (ValaTypesymbol* self); | |||
char* (*get_get_value_function) (ValaTypesymbol* self); | char* (*get_get_value_function) (ValaTypesymbol* self); | |||
char* (*get_set_value_function) (ValaTypesymbol* self); | char* (*get_set_value_function) (ValaTypesymbol* self); | |||
char* (*get_upper_case_cname) (ValaTypesymbol* self, const char* inf ix); | char* (*get_upper_case_cname) (ValaTypesymbol* self, const char* inf ix); | |||
char* (*get_default_value) (ValaTypesymbol* self); | char* (*get_default_value) (ValaTypesymbol* self); | |||
gboolean (*is_subtype_of) (ValaTypesymbol* self, ValaTypesymbol* t); | gboolean (*is_subtype_of) (ValaTypesymbol* self, ValaTypesymbol* t); | |||
gint (*get_type_parameter_index) (ValaTypesymbol* self, const char* name); | gint (*get_type_parameter_index) (ValaTypesymbol* self, const char* name); | |||
char* (*get_type_signature) (ValaTypesymbol* self); | ||||
}; | }; | |||
char* vala_typesymbol_get_cname (ValaTypesymbol* self, gboolean const_type) ; | char* vala_typesymbol_get_cname (ValaTypesymbol* self, gboolean const_type) ; | |||
gboolean vala_typesymbol_is_reference_type (ValaTypesymbol* self); | gboolean vala_typesymbol_is_reference_type (ValaTypesymbol* self); | |||
char* vala_typesymbol_get_dup_function (ValaTypesymbol* self); | char* vala_typesymbol_get_dup_function (ValaTypesymbol* self); | |||
char* vala_typesymbol_get_free_function (ValaTypesymbol* self); | char* vala_typesymbol_get_free_function (ValaTypesymbol* self); | |||
char* vala_typesymbol_get_copy_function (ValaTypesymbol* self); | ||||
char* vala_typesymbol_get_destroy_function (ValaTypesymbol* self); | ||||
gboolean vala_typesymbol_is_reference_counting (ValaTypesymbol* self); | gboolean vala_typesymbol_is_reference_counting (ValaTypesymbol* self); | |||
char* vala_typesymbol_get_ref_function (ValaTypesymbol* self); | char* vala_typesymbol_get_ref_function (ValaTypesymbol* self); | |||
char* vala_typesymbol_get_unref_function (ValaTypesymbol* self); | char* vala_typesymbol_get_unref_function (ValaTypesymbol* self); | |||
char* vala_typesymbol_get_type_id (ValaTypesymbol* self); | char* vala_typesymbol_get_type_id (ValaTypesymbol* self); | |||
char* vala_typesymbol_get_marshaller_type_name (ValaTypesymbol* self); | char* vala_typesymbol_get_marshaller_type_name (ValaTypesymbol* self); | |||
char* vala_typesymbol_get_get_value_function (ValaTypesymbol* self); | char* vala_typesymbol_get_get_value_function (ValaTypesymbol* self); | |||
char* vala_typesymbol_get_set_value_function (ValaTypesymbol* self); | char* vala_typesymbol_get_set_value_function (ValaTypesymbol* self); | |||
char* vala_typesymbol_get_upper_case_cname (ValaTypesymbol* self, const cha r* infix); | char* vala_typesymbol_get_upper_case_cname (ValaTypesymbol* self, const cha r* infix); | |||
char* vala_typesymbol_get_default_value (ValaTypesymbol* self); | char* vala_typesymbol_get_default_value (ValaTypesymbol* self); | |||
void vala_typesymbol_add_cheader_filename (ValaTypesymbol* self, const char * filename); | void vala_typesymbol_add_cheader_filename (ValaTypesymbol* self, const char * filename); | |||
gboolean vala_typesymbol_is_subtype_of (ValaTypesymbol* self, ValaTypesymbo l* t); | gboolean vala_typesymbol_is_subtype_of (ValaTypesymbol* self, ValaTypesymbo l* t); | |||
gint vala_typesymbol_get_type_parameter_index (ValaTypesymbol* self, const char* name); | gint vala_typesymbol_get_type_parameter_index (ValaTypesymbol* self, const char* name); | |||
char* vala_typesymbol_get_type_signature (ValaTypesymbol* self); | ||||
ValaTypesymbol* vala_typesymbol_new (void); | ||||
GType vala_typesymbol_get_type (void); | GType vala_typesymbol_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
1 lines changed or deleted | 8 lines changed or added | |||
valaunaryexpression.h | valaunaryexpression.h | |||
---|---|---|---|---|
skipping to change at line 59 | skipping to change at line 59 | |||
* Supports +, -, !, ~, ref, out. | * Supports +, -, !, ~, ref, out. | |||
*/ | */ | |||
struct _ValaUnaryExpression { | struct _ValaUnaryExpression { | |||
ValaExpression parent_instance; | ValaExpression parent_instance; | |||
ValaUnaryExpressionPrivate * priv; | ValaUnaryExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaUnaryExpressionClass { | struct _ValaUnaryExpressionClass { | |||
ValaExpressionClass parent_class; | ValaExpressionClass parent_class; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_UNARY_OPERATOR_NONE, | ||||
VALA_UNARY_OPERATOR_PLUS, | VALA_UNARY_OPERATOR_PLUS, | |||
VALA_UNARY_OPERATOR_MINUS, | VALA_UNARY_OPERATOR_MINUS, | |||
VALA_UNARY_OPERATOR_LOGICAL_NEGATION, | VALA_UNARY_OPERATOR_LOGICAL_NEGATION, | |||
VALA_UNARY_OPERATOR_BITWISE_COMPLEMENT, | VALA_UNARY_OPERATOR_BITWISE_COMPLEMENT, | |||
VALA_UNARY_OPERATOR_INCREMENT, | VALA_UNARY_OPERATOR_INCREMENT, | |||
VALA_UNARY_OPERATOR_DECREMENT, | VALA_UNARY_OPERATOR_DECREMENT, | |||
VALA_UNARY_OPERATOR_REF, | VALA_UNARY_OPERATOR_REF, | |||
VALA_UNARY_OPERATOR_OUT | VALA_UNARY_OPERATOR_OUT | |||
} ValaUnaryOperator; | } ValaUnaryOperator; | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
valaunresolvedtype.h | valaunresolvedtype.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 <raffaele@sandrini.ch> | * Raffaele Sandrini <raffaele@sandrini.ch> | |||
*/ | */ | |||
#ifndef __VALA_VALAUNRESOLVEDTYPE_H__ | #ifndef __VALA_VALAUNRESOLVEDTYPE_H__ | |||
#define __VALA_VALAUNRESOLVEDTYPE_H__ | #define __VALA_VALAUNRESOLVEDTYPE_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | ||||
#include <string.h> | ||||
#include <vala/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valaunresolvedsymbol.h> | #include <vala/valaunresolvedsymbol.h> | |||
#include <vala/valasourcereference.h> | #include <vala/valasourcereference.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_UNRESOLVED_TYPE (vala_unresolved_type_get_type ()) | #define VALA_TYPE_UNRESOLVED_TYPE (vala_unresolved_type_get_type ()) | |||
#define VALA_UNRESOLVED_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_UNRESOLVED_TYPE, ValaUnresolvedType)) | #define VALA_UNRESOLVED_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_ TYPE_UNRESOLVED_TYPE, ValaUnresolvedType)) | |||
#define VALA_UNRESOLVED_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_UNRESOLVED_TYPE, ValaUnresolvedTypeClass)) | #define VALA_UNRESOLVED_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass) , VALA_TYPE_UNRESOLVED_TYPE, ValaUnresolvedTypeClass)) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||
valavaluetype.h | valavaluetype.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 __VALA_VALAVALUETYPE_H__ | #ifndef __VALA_VALAVALUETYPE_H__ | |||
#define __VALA_VALAVALUETYPE_H__ | #define __VALA_VALAVALUETYPE_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | ||||
#include <string.h> | ||||
#include <vala/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valatypesymbol.h> | #include <vala/valatypesymbol.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_VALUE_TYPE (vala_value_type_get_type ()) | #define VALA_TYPE_VALUE_TYPE (vala_value_type_get_type ()) | |||
#define VALA_VALUE_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ VALUE_TYPE, ValaValueType)) | #define VALA_VALUE_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ VALUE_TYPE, ValaValueType)) | |||
#define VALA_VALUE_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_VALUE_TYPE, ValaValueTypeClass)) | #define VALA_VALUE_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL A_TYPE_VALUE_TYPE, ValaValueTypeClass)) | |||
#define VALA_IS_VALUE_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_VALUE_TYPE)) | #define VALA_IS_VALUE_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_VALUE_TYPE)) | |||
#define VALA_IS_VALUE_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_VALUE_TYPE)) | #define VALA_IS_VALUE_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_VALUE_TYPE)) | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||