]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Do not use Gee namespace to avoid conflict with libgee
authorJürg Billeter <j@bitron.ch>
Mon, 12 Oct 2009 18:15:09 +0000 (20:15 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 12 Oct 2009 18:15:09 +0000 (20:15 +0200)
123 files changed:
ccode/valaccodeblock.vala
ccode/valaccodecasestatement.vala
ccode/valaccodecommaexpression.vala
ccode/valaccodedeclaration.vala
ccode/valaccodeenum.vala
ccode/valaccodeenumvalue.vala
ccode/valaccodeforstatement.vala
ccode/valaccodefragment.vala
ccode/valaccodefunction.vala
ccode/valaccodefunctioncall.vala
ccode/valaccodefunctiondeclarator.vala
ccode/valaccodeinitializerlist.vala
ccode/valaccodestruct.vala
ccode/valaccodeswitchstatement.vala
codegen/valaccodearraymodule.vala
codegen/valaccodeassignmentmodule.vala
codegen/valaccodebasemodule.vala
codegen/valaccodecontrolflowmodule.vala
codegen/valaccodedeclarationspace.vala
codegen/valaccodedelegatemodule.vala
codegen/valaccodegenerator.vala
codegen/valaccodemethodcallmodule.vala
codegen/valaccodemethodmodule.vala
codegen/valaccodemodule.vala
codegen/valadbusclientmodule.vala
codegen/valadbusservermodule.vala
codegen/valagasyncmodule.vala
codegen/valagerrormodule.vala
codegen/valagirwriter.vala
codegen/valagobjectmodule.vala
codegen/valagsignalmodule.vala
codegen/valagtypemodule.vala
gee/Makefile.am
gee/arraylist.vala
gee/collection.vala
gee/collectionobject.vala
gee/hashmap.vala
gee/hashset.vala
gee/iterable.vala
gee/iterator.vala
gee/list.vala
gee/map.vala
gee/readonlycollection.vala
gee/readonlylist.vala
gee/readonlymap.vala
gee/readonlyset.vala
gee/set.vala
vala/valaarraycreationexpression.vala
vala/valaarraytype.vala
vala/valaassignment.vala
vala/valaattribute.vala
vala/valabaseaccess.vala
vala/valabasicblock.vala
vala/valabinaryexpression.vala
vala/valablock.vala
vala/valacastexpression.vala
vala/valacatchclause.vala
vala/valaclass.vala
vala/valacodecontext.vala
vala/valacodenode.vala
vala/valacodewriter.vala
vala/valadatatype.vala
vala/valadeclarationstatement.vala
vala/valadelegate.vala
vala/valadelegatetype.vala
vala/valadynamicmethod.vala
vala/valadynamicproperty.vala
vala/valaelementaccess.vala
vala/valaenum.vala
vala/valaerrordomain.vala
vala/valaexpression.vala
vala/valaexpressionstatement.vala
vala/valafield.vala
vala/valaflowanalyzer.vala
vala/valaforeachstatement.vala
vala/valaformalparameter.vala
vala/valaforstatement.vala
vala/valagenieparser.vala
vala/valageniescanner.vala
vala/valainitializerlist.vala
vala/valainterface.vala
vala/valalambdaexpression.vala
vala/valamember.vala
vala/valamemberaccess.vala
vala/valamethod.vala
vala/valamethodcall.vala
vala/valamethodtype.vala
vala/valanamespace.vala
vala/valaobjectcreationexpression.vala
vala/valaobjecttype.vala
vala/valaobjecttypesymbol.vala
vala/valaparser.vala
vala/valaphifunction.vala
vala/valapointerindirection.vala
vala/valapointertype.vala
vala/valapropertyaccessor.vala
vala/valareferencetransferexpression.vala
vala/valareturnstatement.vala
vala/valascanner.vala
vala/valascope.vala
vala/valasemanticanalyzer.vala
vala/valasignal.vala
vala/valasignaltype.vala
vala/valasourcefile.vala
vala/valasourcereference.vala
vala/valastatementlist.vala
vala/valastruct.vala
vala/valaswitchsection.vala
vala/valaswitchstatement.vala
vala/valasymbol.vala
vala/valasymbolresolver.vala
vala/valatemplate.vala
vala/valathrowstatement.vala
vala/valatrystatement.vala
vala/valatuple.vala
vala/valatypeparameter.vala
vala/valatypesymbol.vala
vala/valaunaryexpression.vala
vala/valaunresolvedtype.vala
vapigen/valagidlparser.vala
vapigen/valagirparser.vala
vapigen/valamarkupreader.vala
vapigen/valavapicheck.vala

index cff8613fe1b764654b396d30ee2dff2388092871..5c8f2c74d16625e6d26ffbab7ad13127415b79e4 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a C code block.
@@ -33,7 +32,7 @@ public class Vala.CCodeBlock : CCodeStatement {
         */
        public bool suppress_newline { get; set; }
 
-       private Gee.List<CCodeNode> statements = new ArrayList<CCodeNode> ();
+       private List<CCodeNode> statements = new ArrayList<CCodeNode> ();
        
        /**
         * Prepend the specified statement to the list of statements.
index 8e892a8fd6fe0dd95e7abe446dce7fde8fd72382..82b85f45a3892c4d256ba173872772dface62547 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a case block in a switch statement in C code.
index b5cafcb71e34cfff5c39d0f7a64ca1d095ff8779..79f78ae5ae85838418bc0d89ee670fa46ef1f023 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a comma separated expression list in the C code.
  */
 public class Vala.CCodeCommaExpression : CCodeExpression {
-       private Gee.List<CCodeExpression> inner = new ArrayList<CCodeExpression> ();
+       private List<CCodeExpression> inner = new ArrayList<CCodeExpression> ();
        
        /**
         * Appends the specified expression to the expression list.
@@ -38,7 +37,7 @@ public class Vala.CCodeCommaExpression : CCodeExpression {
                inner.add (expr);
        }
 
-       public Gee.List<CCodeExpression> get_inner () {
+       public List<CCodeExpression> get_inner () {
                return new ReadOnlyList<CCodeExpression> (inner);
        }
 
index 22a37bcb9285b99bae06f4efa5a453cda53ed0b7..79966f495271859405c1cd98eb91a5b711726a29 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a local variable declaration in the C code.
@@ -37,7 +36,7 @@ public class Vala.CCodeDeclaration : CCodeStatement {
         */
        public CCodeModifiers modifiers { get; set; }
        
-       private Gee.List<CCodeDeclarator> declarators = new ArrayList<CCodeDeclarator> ();
+       private List<CCodeDeclarator> declarators = new ArrayList<CCodeDeclarator> ();
        
        public CCodeDeclaration (string type_name) {
                this.type_name = type_name;
index 6701d7ee73847898de63c2de6d4a576ebb49017f..c32664712028b073251d8b98b91047b1c4a5dfc6 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an enum in the C code.
@@ -32,7 +31,7 @@ public class Vala.CCodeEnum : CCodeNode {
         */
        public string name { get; set; }
        
-       private Gee.List<CCodeEnumValue> values = new ArrayList<CCodeEnumValue> ();
+       private List<CCodeEnumValue> values = new ArrayList<CCodeEnumValue> ();
        
        public CCodeEnum (string? name = null) {
                this.name = name;
index c1d5aedb9bafecf67878c956a69a0f303e8a5305..6dc784fd91678c308301d07907b5a640f701b712 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an enum value in the C code.
index 0710b4c95669e44150a22b58b07e9fe9fc4aa0bc..c4d14be956375ce092c1fe1e40a95fe8ff6fcdef 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a for iteration statement in the C code.
@@ -37,8 +36,8 @@ public class Vala.CCodeForStatement : CCodeStatement {
         */
        public CCodeStatement body { get; set; }
        
-       private Gee.List<CCodeExpression> initializer = new ArrayList<CCodeExpression> ();
-       private Gee.List<CCodeExpression> iterator = new ArrayList<CCodeExpression> ();
+       private List<CCodeExpression> initializer = new ArrayList<CCodeExpression> ();
+       private List<CCodeExpression> iterator = new ArrayList<CCodeExpression> ();
        
        public CCodeForStatement (CCodeExpression? condition, CCodeStatement? body = null) {
                this.condition = condition;
index 1c6b266addc6d68765285ad91eb46d4f5cc85e15..e13c4e3856d886f72cb7fbe59dbdab27dcf40504 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a container for C code nodes.
  */
 public class Vala.CCodeFragment : CCodeNode {
-       private Gee.List<CCodeNode> children = new ArrayList<CCodeNode> ();
+       private List<CCodeNode> children = new ArrayList<CCodeNode> ();
        
        /**
         * Appends the specified code node to this code fragment.
@@ -43,7 +42,7 @@ public class Vala.CCodeFragment : CCodeNode {
         *
         * @return children list
         */
-       public Gee.List<CCodeNode> get_children () {
+       public List<CCodeNode> get_children () {
                return new ReadOnlyList<CCodeNode> (children);
        }
 
index 1a9d2407200011f39f5332713feb8277a36b5a87..1dfef1b298a2d9ebca9392dd90b27c17a03bcd9e 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a function declaration in the C code.
@@ -47,7 +46,7 @@ public class Vala.CCodeFunction : CCodeNode {
         */
        public CCodeBlock block { get; set; }
 
-       private Gee.List<CCodeFormalParameter> parameters = new ArrayList<CCodeFormalParameter> ();
+       private List<CCodeFormalParameter> parameters = new ArrayList<CCodeFormalParameter> ();
        
        public CCodeFunction (string name, string return_type = "void") {
                this.name = name;
index a1961d7bbace1233ed0352cb8ff5b4959ec1885b..ffa6595010493f4408c805e0db66f1d5472be23e 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a function call in the C code.
@@ -32,7 +31,7 @@ public class Vala.CCodeFunctionCall : CCodeExpression {
         */
        public CCodeExpression? call { get; set; }
        
-       private Gee.List<CCodeExpression> arguments = new ArrayList<CCodeExpression> ();
+       private List<CCodeExpression> arguments = new ArrayList<CCodeExpression> ();
        
        public CCodeFunctionCall (CCodeExpression? call = null) {
                this.call = call;
@@ -56,7 +55,7 @@ public class Vala.CCodeFunctionCall : CCodeExpression {
         *
         * @return list of arguments
         */
-       public Gee.List<CCodeExpression> get_arguments () {
+       public List<CCodeExpression> get_arguments () {
                return new ReadOnlyList<CCodeExpression> (arguments);
        }
 
index e3958e265e347ddbaeb9cc75b641655db38703aa..35a35904e192af487e845ee06c369cc50024f672 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a function pointer declarator in the C code.
@@ -32,7 +31,7 @@ public class Vala.CCodeFunctionDeclarator : CCodeDeclarator {
         */
        public string name { get; set; }
        
-       private Gee.List<CCodeFormalParameter> parameters = new ArrayList<CCodeFormalParameter> ();
+       private List<CCodeFormalParameter> parameters = new ArrayList<CCodeFormalParameter> ();
        
        public CCodeFunctionDeclarator (string name) {
                this.name = name;
index 15689c09d1916da63819becb08777c296d2fd1e6..26cb56e1db12865cc62f4f8bfeee02c517a6159b 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a struct or array initializer list in the C code.
  */
 public class Vala.CCodeInitializerList : CCodeExpression {
-       private Gee.List<CCodeExpression> initializers = new ArrayList<CCodeExpression> ();
+       private List<CCodeExpression> initializers = new ArrayList<CCodeExpression> ();
        
        /**
         * Appends the specified expression to this initializer list.
index a5d5ce2afffb1a15160491c66b7696f03a81416c..ceef03e12f1da8b18bbea246be46c29dd85cc837 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a struct declaration in the C code.
@@ -32,7 +31,7 @@ public class Vala.CCodeStruct : CCodeNode {
         */
        public string name { get; set; }
        
-       private Gee.List<CCodeDeclaration> declarations = new ArrayList<CCodeDeclaration> ();
+       private List<CCodeDeclaration> declarations = new ArrayList<CCodeDeclaration> ();
        
        public CCodeStruct (string name) {
                this.name = name;
index 9bf1d9d1a87726ba7b3da9ed0e7a66d8b7beeb9d..04edaf5f7c01e68ea23c300c167b0649165a547e 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a switch selection statement in the C code.
index 6ab425667dbbab950fe972eff3f65e0b2afbd765..da08cdff5e3e6e29dac47ef5f52a132b7e19cb87 100644 (file)
@@ -22,7 +22,6 @@
  *     Raffaele Sandrini <raffaele@sandrini.ch>
  */
 
-using Gee;
 
 internal class Vala.CCodeArrayModule : CCodeMethodCallModule {
        int next_array_dup_id = 0;
@@ -158,11 +157,11 @@ internal class Vala.CCodeArrayModule : CCodeMethodCallModule {
                }
                
                if (array_expr is ArrayCreationExpression) {
-                       Gee.List<Expression> size = ((ArrayCreationExpression) array_expr).get_sizes ();
+                       List<Expression> size = ((ArrayCreationExpression) array_expr).get_sizes ();
                        var length_expr = size[dim - 1];
                        return (CCodeExpression) get_ccodenode (length_expr);
                } else if (array_expr is MethodCall || array_expr is CastExpression) {
-                       Gee.List<CCodeExpression> size = array_expr.get_array_sizes ();
+                       List<CCodeExpression> size = array_expr.get_array_sizes ();
                        if (size.size >= dim) {
                                return size[dim - 1];
                        }
@@ -317,7 +316,7 @@ internal class Vala.CCodeArrayModule : CCodeMethodCallModule {
                        } else if (array_expr.symbol_reference is Property) {
                                var prop = (Property) array_expr.symbol_reference;
                                if (!prop.no_array_length) {
-                                       Gee.List<CCodeExpression> size = array_expr.get_array_sizes ();
+                                       List<CCodeExpression> size = array_expr.get_array_sizes ();
                                        if (size.size >= dim) {
                                                return size[dim - 1];
                                        }
@@ -385,7 +384,7 @@ internal class Vala.CCodeArrayModule : CCodeMethodCallModule {
        public override void visit_element_access (ElementAccess expr) {
                expr.accept_children (codegen);
 
-               Gee.List<Expression> indices = expr.get_indices ();
+               List<Expression> indices = expr.get_indices ();
                int rank = indices.size;
 
                var container_type = expr.container.value_type.data_type;
index 9ae2690f5d2ad409596dcf495bea3745656d4cab..451d411071d39d3fca032beb715870be0a78fc35 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * The link between an assignment and generated code.
index 85db96403affc1f86977f7c9612e682fa4bee498..1ba181b7259552656bf879d8d704dfa36ced0c5e 100644 (file)
@@ -22,7 +22,6 @@
  *     Raffaele Sandrini <raffaele@sandrini.ch>
  */
 
-using Gee;
 
 /**
  * Code visitor generating C Code.
@@ -143,11 +142,11 @@ internal class Vala.CCodeBaseModule : CCodeModule {
        /* temporary variables that own their content */
        public ArrayList<LocalVariable> temp_ref_vars = new ArrayList<LocalVariable> ();
        /* cache to check whether a certain marshaller has been created yet */
-       public Gee.Set<string> user_marshal_set;
+       public Set<string> user_marshal_set;
        /* (constant) hash table with all predefined marshallers */
-       public Gee.Set<string> predefined_marshal_set;
+       public Set<string> predefined_marshal_set;
        /* (constant) hash table with all reserved identifiers in the generated code */
-       Gee.Set<string> reserved_identifiers;
+       Set<string> reserved_identifiers;
        
        public int next_temp_var_id = 0;
        public bool in_creation_method { get { return current_method is CreationMethod; } }
@@ -1023,7 +1022,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
                                        var ma = new MemberAccess (this_access, f.name);
                                        ma.symbol_reference = f;
                                        
-                                       Gee.List<Expression> sizes = ((ArrayCreationExpression) f.initializer).get_sizes ();
+                                       List<Expression> sizes = ((ArrayCreationExpression) f.initializer).get_sizes ();
                                        for (int dim = 1; dim <= array_type.rank; dim++) {
                                                var array_len_lhs = head.get_array_length_cexpression (ma, dim);
                                                var size = sizes[dim - 1];
@@ -1162,7 +1161,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
                                                        var ma = new MemberAccess.simple (f.name);
                                                        ma.symbol_reference = f;
                                        
-                                                       Gee.List<Expression> sizes = ((ArrayCreationExpression) f.initializer).get_sizes ();
+                                                       List<Expression> sizes = ((ArrayCreationExpression) f.initializer).get_sizes ();
                                                        for (int dim = 1; dim <= array_type.rank; dim++) {
                                                                var array_len_lhs = head.get_array_length_cexpression (ma, dim);
                                                                var size = sizes[dim - 1];
@@ -2674,7 +2673,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
                }
                temp_vars.clear ();
 
-               if (((Gee.List<LocalVariable>) temp_ref_vars).size == 0) {
+               if (((List<LocalVariable>) temp_ref_vars).size == 0) {
                        /* nothing to do without temporary variables */
                        return;
                }
@@ -2704,7 +2703,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
                temp_ref_vars.clear ();
        }
        
-       public void append_temp_decl (CCodeFragment cfrag, Gee.List<LocalVariable> temp_vars) {
+       public void append_temp_decl (CCodeFragment cfrag, List<LocalVariable> temp_vars) {
                foreach (LocalVariable local in temp_vars) {
                        if (current_method != null && current_method.coroutine) {
                                closure_struct.add_field (local.variable_type.get_cname (), local.name);
@@ -2773,7 +2772,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
 
                /* free temporary objects */
 
-               if (((Gee.List<LocalVariable>) temp_vars).size == 0
+               if (((List<LocalVariable>) temp_vars).size == 0
                     && pre_statement_fragment == null) {
                        /* nothing to do without temporary variables */
                        return;
@@ -2802,7 +2801,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
                temp_ref_vars.clear ();
        }
        
-       public void create_temp_decl (Statement stmt, Gee.List<LocalVariable> temp_vars) {
+       public void create_temp_decl (Statement stmt, List<LocalVariable> temp_vars) {
                /* declare temporary variables */
                
                if (temp_vars.size == 0) {
@@ -3587,7 +3586,7 @@ internal class Vala.CCodeBaseModule : CCodeModule {
        public virtual void generate_error_domain_declaration (ErrorDomain edomain, CCodeDeclarationSpace decl_space) {
        }
 
-       public void add_generic_type_arguments (Map<int,CCodeExpression> arg_map, Gee.List<DataType> type_args, CodeNode expr, bool is_chainup = false) {
+       public void add_generic_type_arguments (Map<int,CCodeExpression> arg_map, List<DataType> type_args, CodeNode expr, bool is_chainup = false) {
                int type_param_index = 0;
                foreach (var type_arg in type_args) {
                        arg_map.set (get_param_pos (0.1 * type_param_index + 0.01), get_type_id_expression (type_arg, is_chainup));
index f29298eda3732a5ffcdfa89875d2e2857a664c95..ea96d647aa4396fafb60aae2d0c8a768c162ade7 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 internal class Vala.CCodeControlFlowModule : CCodeMethodModule {
        public CCodeControlFlowModule (CCodeGenerator codegen, CCodeModule? next) {
@@ -101,7 +100,7 @@ internal class Vala.CCodeControlFlowModule : CCodeMethodModule {
                        cswitchblock.append (new CCodeExpressionStatement (free_call));
                }
 
-               Gee.List<Statement> default_statements = null;
+               List<Statement> default_statements = null;
                label_count = 0;
 
                // generate nested if statements                
index 175236ef6f41b9e4e397a97e7cb6923b10fb7df4..e563ed285bd1a48a6cbc519e65f087e3748771ec 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 class Vala.CCodeDeclarationSpace {
        public bool is_header { get; set; }
index 52e0fc6f133628867baa911e730b3be17c0a4a7d..0dd60fa64393448a6b5cb258957c46ac64c5c801 100644 (file)
@@ -22,7 +22,6 @@
  *     Raffaele Sandrini <raffaele@sandrini.ch>
  */
 
-using Gee;
 
 /**
  * The link between an assignment and generated code.
index f66e6dc6b4cc331f4e4713a622aa4450ef5c4fba..ae8fb7c924ddb9e8bd4762d16be7dcb7b97ceba4 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Code visitor generating C Code.
index 5660bd6676ee7c989fc6fb9ce77460165282148b..b21a52d2fd5cd3a85d1980034bab8e4c55a9975e 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 internal class Vala.CCodeMethodCallModule : CCodeAssignmentModule {
        public CCodeMethodCallModule (CCodeGenerator codegen, CCodeModule? next) {
@@ -40,7 +39,7 @@ internal class Vala.CCodeMethodCallModule : CCodeAssignmentModule {
 
                Method m = null;
                Delegate deleg = null;
-               Gee.List<FormalParameter> params;
+               List<FormalParameter> params;
                
                var ma = expr.call as MemberAccess;
                
index 93d49ab5dcddbb4ef16b200e2dab01c41c4b8a56..d66cfcd1994f44f651ce905c22ba295c7925ff6d 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * The link between a method and generated code.
index 6cbd3b1f6a69c78eaf819cc024d674b6b4001012..bfafe395c051ab9002557bf783447b9b9a836615 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Code visitor generating C Code.
@@ -372,11 +371,11 @@ public abstract class Vala.CCodeModule {
                return next.get_dynamic_signal_disconnect_wrapper_name (node);
        }
 
-       public virtual void generate_marshaller (Gee.List<FormalParameter> params, DataType return_type, bool dbus = false) {
+       public virtual void generate_marshaller (List<FormalParameter> params, DataType return_type, bool dbus = false) {
                next.generate_marshaller (params, return_type, dbus);
        }
        
-       public virtual string get_marshaller_function (Gee.List<FormalParameter> params, DataType return_type, string? prefix = null, bool dbus = false) {
+       public virtual string get_marshaller_function (List<FormalParameter> params, DataType return_type, string? prefix = null, bool dbus = false) {
                return next.get_marshaller_function (params, return_type, prefix, dbus);
        }
 
index 7b71f2dad996a64cb12e7bc4665e36e2b4393f99..d877bb5c854907aed826eaf798ffd1de5723f862 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * The link between a dynamic method and generated code.
@@ -45,7 +44,7 @@ internal class Vala.DBusClientModule : DBusModule {
                }
        }
 
-       bool has_dbus_error (Gee.List<DataType> error_types) {
+       bool has_dbus_error (List<DataType> error_types) {
                foreach (DataType error_type in error_types) {
                        if (((ErrorType) error_type).error_domain.get_full_name () == "DBus.Error") {
                                return true;
@@ -1642,7 +1641,7 @@ internal class Vala.DBusClientModule : DBusModule {
                return proxy_name;
        }
 
-       void generate_client_error_cases (CCodeBlock error_block, Gee.List<DataType> error_types, CCodeExpression dbus_error_name, CCodeExpression result_edomain, CCodeExpression result_ecode) {
+       void generate_client_error_cases (CCodeBlock error_block, List<DataType> error_types, CCodeExpression dbus_error_name, CCodeExpression result_edomain, CCodeExpression result_ecode) {
                CCodeStatement if_else_if = null;
                CCodeIfStatement last_statement = null;
 
index fb5fcf166d6c2eba94aba605621dd11ec4e3de0d..13f895dc14ed62d6027ed769ea2c934890009247 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * The link between a dynamic method and generated code.
@@ -421,7 +420,7 @@ internal class Vala.DBusServerModule : DBusClientModule {
                return wrapper_name;
        }
 
-       void generate_server_error_cases (CCodeBlock error_block, Gee.List<DataType> error_types, CCodeExpression error, CCodeExpression message, CCodeExpression reply) {
+       void generate_server_error_cases (CCodeBlock error_block, List<DataType> error_types, CCodeExpression error, CCodeExpression message, CCodeExpression reply) {
                CCodeStatement if_else_if = null;
                CCodeIfStatement last_statement = null;
 
index 6f173447ab9333b055744ac9dff172a08ecf4772..a02f76f3555d99241a81135a82d9bbd794e48a02 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 internal class Vala.GAsyncModule : GSignalModule {
        public GAsyncModule (CCodeGenerator codegen, CCodeModule? next) {
@@ -517,7 +516,7 @@ internal class Vala.GAsyncModule : GSignalModule {
 
                /* free temporary objects */
 
-               if (((Gee.List<LocalVariable>) temp_vars).size == 0) {
+               if (((List<LocalVariable>) temp_vars).size == 0) {
                        /* nothing to do without temporary variables */
                        return;
                }
index 2f1d3856fadea6e72398a600f3069eb8b074a738..98528d30f7c45ac413ff8839c6e0d92db17ca1ca 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 using GLib;
-using Gee;
 
 internal class Vala.GErrorModule : CCodeDelegateModule {
        private int current_try_id = 0;
index 934b49a81f9409f4a922c7d5b4d71396846299bd..1f4f00b5cf843ec0becc626405e74119120d5c03 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Code visitor generating .gir file for the public interface.
@@ -84,7 +83,7 @@ public class Vala.GIRWriter : CodeVisitor {
 
        private void write_c_includes (Namespace ns) {
                // Collect C header filenames
-               Gee.Set<string> header_filenames = new Gee.HashSet<string> (str_hash, str_equal);
+               Set<string> header_filenames = new HashSet<string> (str_hash, str_equal);
                foreach (string c_header_filename in ns.get_cheader_filenames ()) {
                        header_filenames.add (c_header_filename);
                }
@@ -455,7 +454,7 @@ public class Vala.GIRWriter : CodeVisitor {
                }
        }
 
-       private void write_params_and_return (Gee.List<FormalParameter> params, DataType? return_type, bool return_array_length, bool constructor = false, DataType? instance_type = null) {
+       private void write_params_and_return (List<FormalParameter> params, DataType? return_type, bool return_array_length, bool constructor = false, DataType? instance_type = null) {
                int last_index = 0;
                if (params.size != 0 || instance_type != null || (return_type is ArrayType && return_array_length) || (return_type is DelegateType)) {
                        write_indent ();
@@ -550,7 +549,7 @@ public class Vala.GIRWriter : CodeVisitor {
                }
        }
 
-       private void do_write_signature (Method m, string tag_name, bool instance, string name, string cname, Gee.List<Vala.FormalParameter> params, DataType return_type, bool can_fail) {
+       private void do_write_signature (Method m, string tag_name, bool instance, string name, string cname, List<Vala.FormalParameter> params, DataType return_type, bool can_fail) {
                write_indent ();
                stream.printf ("<%s name=\"%s\"", tag_name, name);
                if (tag_name == "virtual-method") {
@@ -753,7 +752,7 @@ public class Vala.GIRWriter : CodeVisitor {
                        write_indent ();
                        stream.printf ("<type name=\"%s\" c:type=\"%s\"", gi_type_name (type.data_type), type.get_cname ());
 
-                       Gee.List<DataType> type_arguments = type.get_type_arguments ();
+                       List<DataType> type_arguments = type.get_type_arguments ();
                        if (type_arguments.size == 0) {
                                stream.printf ("/>\n");
                        } else {
index 94152996c6e32374b1966bfc41d7699d03c20d3a..cc1e7bfb80a191925ef692435db91d61a7ee17c5 100644 (file)
@@ -22,7 +22,6 @@
  *     Raffaele Sandrini <raffaele@sandrini.ch>
  */
 
-using Gee;
 
 internal class Vala.GObjectModule : GTypeModule {
        int dynamic_property_id;
index 8bfcd9ff57253554c4f3ee8ecc5256e4806ecbe9..937ead5026201ff9b5f01a54282c9f7152cadcc1 100644 (file)
@@ -22,7 +22,6 @@
  *     Raffaele Sandrini <raffaele@sandrini.ch>
  */
 
-using Gee;
 
 internal class Vala.GSignalModule : GObjectModule {
        public GSignalModule (CCodeGenerator codegen, CCodeModule? next) {
@@ -72,7 +71,7 @@ internal class Vala.GSignalModule : GObjectModule {
                }
        }
        
-       public override string get_marshaller_function (Gee.List<FormalParameter> params, DataType return_type, string? prefix = null, bool dbus = false) {
+       public override string get_marshaller_function (List<FormalParameter> params, DataType return_type, string? prefix = null, bool dbus = false) {
                var signature = get_marshaller_signature (params, return_type, dbus);
                string ret;
 
@@ -132,7 +131,7 @@ internal class Vala.GSignalModule : GObjectModule {
                }
        }
        
-       private string get_marshaller_signature (Gee.List<FormalParameter> params, DataType return_type, bool dbus = false) {
+       private string get_marshaller_signature (List<FormalParameter> params, DataType return_type, bool dbus = false) {
                string signature;
                
                signature = "%s:".printf (get_marshaller_type_name (return_type, dbus));
@@ -173,7 +172,7 @@ internal class Vala.GSignalModule : GObjectModule {
                generate_marshaller (sig.get_parameters (), sig.return_type);
        }
 
-       public override void generate_marshaller (Gee.List<FormalParameter> params, DataType return_type, bool dbus = false) {
+       public override void generate_marshaller (List<FormalParameter> params, DataType return_type, bool dbus = false) {
                string signature;
                int n_params, i;
                
index 105e6dcb903e15d8b6d748cd8e469556493f5673..6f33756824c3600273c6dca354311444f4709db1 100644 (file)
@@ -22,7 +22,6 @@
  *     Raffaele Sandrini <raffaele@sandrini.ch>
  */
 
-using Gee;
 
 internal class Vala.GTypeModule : GErrorModule {
        public GTypeModule (CCodeGenerator codegen, CCodeModule? next) {
index ece430c97eb7001ef8ba8f571768ba409ec79a59..322ca63b670c7709666b9856909d0a8a76224d62 100644 (file)
@@ -36,11 +36,11 @@ libgee_la_SOURCES = \
 geeincludedir = $(includedir)/vala-1.0
 
 geeinclude_HEADERS = \
-       gee.h \
+       valagee.h \
        $(NULL)
 
 gee.vapi gee.vala.stamp: $(libgee_la_VALASOURCES)
-       $(VALAC) $(COVERAGE_VALAFLAGS) $(VALAFLAGS) -C --vapidir $(srcdir)/../vapi --pkg gobject-2.0 -H gee.h --library gee $^
+       $(VALAC) $(COVERAGE_VALAFLAGS) $(VALAFLAGS) -C --vapidir $(srcdir)/../vapi --pkg gobject-2.0 -H valagee.h --library gee $^
        touch $@
 
 libgee_la_LIBADD = \
@@ -52,7 +52,7 @@ EXTRA_DIST = $(libgee_la_VALASOURCES) gee.vapi gee.vala.stamp
 
 MAINTAINERCLEANFILES = \
        gee.vapi \
-       gee.h \
+       valagee.h \
        $(libgee_la_VALASOURCES:.vala=.c) \
        $(NULL)
 
index 183119b2651face744b159c5c559b86f2cf969c3..b8dd485538b4513e4c4f3ce931a74fa2c3e884ef 100644 (file)
@@ -27,7 +27,7 @@ using GLib;
 /**
  * Arrays of arbitrary elements which grow automatically as elements are added.
  */
-public class Gee.ArrayList<G> : CollectionObject, Iterable<G>, Collection<G>, List<G> {
+public class Vala.ArrayList<G> : CollectionObject, Iterable<G>, Collection<G>, List<G> {
        public int size {
                get { return _size; }
        }
@@ -51,7 +51,7 @@ public class Gee.ArrayList<G> : CollectionObject, Iterable<G>, Collection<G>, Li
                return typeof (G);
        }
 
-       public Gee.Iterator<G> iterator () {
+       public Vala.Iterator<G> iterator () {
                return new Iterator<G> (this);
        }
 
@@ -152,7 +152,7 @@ public class Gee.ArrayList<G> : CollectionObject, Iterable<G>, Collection<G>, Li
                _items.resize (value);
        }
 
-       private class Iterator<G> : CollectionObject, Gee.Iterator<G> {
+       private class Iterator<G> : CollectionObject, Vala.Iterator<G> {
                public ArrayList<G> list {
                        set {
                                _list = value;
index 6e5cc7b704202b98bc5264b105bdbd81382f8a9d..11ea97aa835f988769d26501dcc1216c015456a1 100644 (file)
@@ -24,7 +24,7 @@
  * Serves as the base interface for implementing collection classes. Defines
  * size, iteration, and modification methods.
  */
-public interface Gee.Collection<G> : Iterable<G> {
+public interface Vala.Collection<G> : Iterable<G> {
        /**
         * The number of items in this collection.
         */
index 08398e2669702c56e7156cf87179ee9df57552c3..5a7a624b9e9fd02db18b3db031a21b6bbbb99d0e 100644 (file)
@@ -25,6 +25,6 @@ using GLib;
 /**
  * Base class for all collections.
  */
-public class Gee.CollectionObject {
+public class Vala.CollectionObject {
 }
 
index c152b7b746a78bf8f53f9119954f200674214d61..79bcf1c4de5d9be084c94de44dae9d242bed3142 100644 (file)
@@ -27,7 +27,7 @@ using GLib;
 /**
  * Hashtable implementation of the Map interface.
  */
-public class Gee.HashMap<K,V> : CollectionObject, Map<K,V> {
+public class Vala.HashMap<K,V> : CollectionObject, Map<K,V> {
        public int size {
                get { return _nnodes; }
        }
index 712fd8d9a41247662e60bbd367ca4ae09fa72a82..7f188e18ab7b80b26febf4b20eb9432a93d47d73 100644 (file)
@@ -27,7 +27,7 @@ using GLib;
 /**
  * Hashtable implementation of the Set interface.
  */
-public class Gee.HashSet<G> : CollectionObject, Iterable<G>, Collection<G>, Set<G> {
+public class Vala.HashSet<G> : CollectionObject, Iterable<G>, Collection<G>, Set<G> {
        public int size {
                get { return _nnodes; }
        }
@@ -78,7 +78,7 @@ public class Gee.HashSet<G> : CollectionObject, Iterable<G>, Collection<G>, Set<
                return typeof (G);
        }
 
-       public Gee.Iterator<G> iterator () {
+       public Vala.Iterator<G> iterator () {
                return new Iterator<G> (this);
        }
 
@@ -166,7 +166,7 @@ public class Gee.HashSet<G> : CollectionObject, Iterable<G>, Collection<G>, Set<
                }
        }
 
-       private class Iterator<G> : CollectionObject, Gee.Iterator<G> {
+       private class Iterator<G> : CollectionObject, Vala.Iterator<G> {
                public HashSet<G> set {
                        set {
                                _set = value;
index 998f59860ce8c3396c081aef038038cca64769d8..a95bd735d3395d9556636b20e70cd3c28d1b4054 100644 (file)
@@ -26,7 +26,7 @@ using GLib;
  * Implemented by classes that support a simple iteration over instances of the
  * collection.
  */
-public interface Gee.Iterable<G> : CollectionObject {
+public interface Vala.Iterable<G> : CollectionObject {
        public abstract Type get_element_type ();
 
        /**
index fddee817da14ca537accf265e3603bf389d4aa41..9677e8832ff6f4f41ef8e556d908364054798a56 100644 (file)
@@ -24,7 +24,7 @@
  * Implemented by classes that support a simple iteration over instances of the
  * collection.
  */
-public interface Gee.Iterator<G> : CollectionObject {
+public interface Vala.Iterator<G> : CollectionObject {
        /**
         * Advances to the next element in the iteration.
         *
index d034a910786b2fe4145115576a5e33e9eb02eb86..3f135762810e12f2c60155aaf79253f5996111e6 100644 (file)
@@ -23,7 +23,7 @@
 /**
  * Represents a collection of items in a well-defined order.
  */
-public interface Gee.List<G> : Collection<G> {
+public interface Vala.List<G> : Collection<G> {
        /**
         * Returns the item at the specified index in this list.
         *
index e56a7b5b6b541faa9f0b420d670761f7902d81cf..c98eeb4d257c7f32e9d77b6187e7f2269d4e9c8a 100644 (file)
@@ -23,7 +23,7 @@
 /**
  * A map is a generic collection of key/value pairs.
  */
-public interface Gee.Map<K,V> : CollectionObject {
+public interface Vala.Map<K,V> : CollectionObject {
        /**
         * The number of items in this map.
         */
index c1c7165cd365e396d5b3f03ec795678f83327051..d0e34584c0201571a92d50e345c57cec09e5ca3f 100644 (file)
@@ -25,7 +25,7 @@ using GLib;
 /**
  * Represents a read-only collection of items.
  */
-public class Gee.ReadOnlyCollection<G> : CollectionObject, Iterable<G>, Collection<G> {
+public class Vala.ReadOnlyCollection<G> : CollectionObject, Iterable<G>, Collection<G> {
        public int size {
                get { return _collection.size; }
        }
@@ -44,7 +44,7 @@ public class Gee.ReadOnlyCollection<G> : CollectionObject, Iterable<G>, Collecti
                return typeof (G);
        }
 
-       public Gee.Iterator<G> iterator () {
+       public Vala.Iterator<G> iterator () {
                if (_collection == null) {
                        return new Iterator<G> ();
                }
@@ -72,7 +72,7 @@ public class Gee.ReadOnlyCollection<G> : CollectionObject, Iterable<G>, Collecti
                assert_not_reached ();
        }
 
-       private class Iterator<G> : CollectionObject, Gee.Iterator<G> {
+       private class Iterator<G> : CollectionObject, Vala.Iterator<G> {
                public bool next () {
                        return false;
                }
index d03eb4d7e6a8c3603e76cd542a37856b97aeb388..d3793bf9a30bd72a7836274d64555a2a17feceef 100644 (file)
@@ -25,7 +25,7 @@ using GLib;
 /**
  * Represents a read-only collection of items in a well-defined order.
  */
-public class Gee.ReadOnlyList<G> : CollectionObject, Iterable<G>, Collection<G>, List<G> {
+public class Vala.ReadOnlyList<G> : CollectionObject, Iterable<G>, Collection<G>, List<G> {
        public int size {
                get { return _list.size; }
        }
@@ -44,7 +44,7 @@ public class Gee.ReadOnlyList<G> : CollectionObject, Iterable<G>, Collection<G>,
                return typeof (G);
        }
 
-       public Gee.Iterator<G> iterator () {
+       public Vala.Iterator<G> iterator () {
                if (_list == null) {
                        return new Iterator<G> ();
                }
@@ -100,7 +100,7 @@ public class Gee.ReadOnlyList<G> : CollectionObject, Iterable<G>, Collection<G>,
                assert_not_reached ();
        }
 
-       class Iterator<G> : CollectionObject, Gee.Iterator<G> {
+       class Iterator<G> : CollectionObject, Vala.Iterator<G> {
                public bool next () {
                        return false;
                }
index c8e352cfb954f40f2e16f6324f5f9f2429b8f84b..264cbee3e5cd83acfdf0ac28f51c9d71f37395b4 100644 (file)
@@ -25,7 +25,7 @@ using GLib;
 /**
  * Represents a read-only collection of key/value pairs.
  */
-public class Gee.ReadOnlyMap<K,V> : CollectionObject, Map<K,V> {
+public class Vala.ReadOnlyMap<K,V> : CollectionObject, Map<K,V> {
        public int size {
                get { return _map.size; }
        }
index 54600dcc833f0871575d9163d38a79515d171f7d..3d80343735f694ee835de1111edc16c08a228644 100644 (file)
@@ -25,7 +25,7 @@ using GLib;
 /**
  * Represents a read-only collection of items without duplicates.
  */
-public class Gee.ReadOnlySet<G> : CollectionObject, Iterable<G>, Collection<G>, Set<G> {
+public class Vala.ReadOnlySet<G> : CollectionObject, Iterable<G>, Collection<G>, Set<G> {
        public int size {
                get { return _set.size; }
        }
@@ -44,7 +44,7 @@ public class Gee.ReadOnlySet<G> : CollectionObject, Iterable<G>, Collection<G>,
                return typeof (G);
        }
 
-       public Gee.Iterator<G> iterator () {
+       public Vala.Iterator<G> iterator () {
                if (_set == null) {
                        return new Iterator<G> ();
                }
@@ -72,7 +72,7 @@ public class Gee.ReadOnlySet<G> : CollectionObject, Iterable<G>, Collection<G>,
                assert_not_reached ();
        }
 
-       private class Iterator<G> : CollectionObject, Gee.Iterator<G> {
+       private class Iterator<G> : CollectionObject, Vala.Iterator<G> {
                public bool next () {
                        return false;
                }
index 57b69e3855d50cd3f668c6bda6e704d246df4d91..03c28da2066691cdd037ec057f00a162735ae5a0 100644 (file)
@@ -23,6 +23,6 @@
 /**
  * A set is a collection without duplicates.
  */
-public interface Gee.Set<G> : Collection<G> {
+public interface Vala.Set<G> : Collection<G> {
 }
 
index 6181b0f6771fb4ce2f88b56239781bf6c7ff52c2..a77be1dbba4174fd919477585aef7ba7fb4605ac 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an array creation expression e.g. "new int[] {1,2,3}".
@@ -48,7 +47,7 @@ public class Vala.ArrayCreationExpression : Expression {
        /**
         * The size for each dimension ascending from left to right.
         */
-       private Gee.List<Expression> sizes = new ArrayList<Expression> ();
+       private List<Expression> sizes = new ArrayList<Expression> ();
        
        /**
         * The root array initializer list.
@@ -76,7 +75,7 @@ public class Vala.ArrayCreationExpression : Expression {
        /**
         * Get the sizes for all dimensions ascending from left to right.
         */
-       public Gee.List<Expression> get_sizes () {
+       public List<Expression> get_sizes () {
                return new ReadOnlyList<Expression> (sizes);
        }
        
@@ -117,7 +116,7 @@ public class Vala.ArrayCreationExpression : Expression {
                }
        }
 
-       private int create_sizes_from_initializer_list (SemanticAnalyzer analyzer, InitializerList il, int rank, Gee.List<Literal> sl) {
+       private int create_sizes_from_initializer_list (SemanticAnalyzer analyzer, InitializerList il, int rank, List<Literal> sl) {
                if (sl.size == (this.rank - rank)) {
                        // only add size if this is the first initializer list of the current dimension
                        var init = new IntegerLiteral (il.size.to_string (), il.source_reference);
@@ -164,7 +163,7 @@ public class Vala.ArrayCreationExpression : Expression {
 
                checked = true;
 
-               Gee.List<Expression> sizes = get_sizes ();
+               List<Expression> sizes = get_sizes ();
                var initlist = initializer_list;
 
                if (element_type != null) {
index 710a17b6b720ffec6805bcada1b63c3efdd67aeb..63028cbbdf7ca67f0fd0fc0ed492bfacace52c7a 100644 (file)
@@ -227,7 +227,7 @@ public class Vala.ArrayType : ReferenceType {
                }
        }
 
-       public override Gee.List<Symbol> get_symbols () {
+       public override List<Symbol> get_symbols () {
                return element_type.get_symbols ();
        }
 
index dccf13e1cd42a9b043c2cbd4d47ae58972a41570..06ad297a31c7acccbeac49afca8e5ee27082cbfc 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents an assignment expression in the source code.
index 4144089ec4afa1cb3514de1b66107a36137c4b6d..32f475ff9d5bfcc6400635f7c913e7d09a921079 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an attribute specified in the source code.
@@ -35,7 +34,7 @@ public class Vala.Attribute : CodeNode {
        /**
         * Contains all specified attribute arguments.
         */
-       public Gee.Map<string,Expression> args = new Gee.HashMap<string,Expression> (str_hash, str_equal);
+       public Vala.Map<string,Expression> args = new HashMap<string,Expression> (str_hash, str_equal);
 
        /**
         * Creates a new attribute.
index 42f74b9a983fc32974b571e98c183cf44b0c2f0d..4872565ee0c78edb398d4068f6c7b43435e678ff 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents an access to base class members in the source code.
index 2602f5968cf5663f36fd168b5403e83210c31b21..498622c8964d9f2c0347e8eb16f33ffc32380eb6 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a basic block, i.e. a straight-line piece of code without any
  * jumps or jump targets.
  */
 public class Vala.BasicBlock {
-       private Gee.List<CodeNode> nodes = new ArrayList<CodeNode> ();
+       private List<CodeNode> nodes = new ArrayList<CodeNode> ();
 
        // control flow graph
-       private Gee.List<weak BasicBlock> predecessors = new ArrayList<weak BasicBlock> ();
-       private Gee.List<BasicBlock> successors = new ArrayList<BasicBlock> ();
+       private List<weak BasicBlock> predecessors = new ArrayList<weak BasicBlock> ();
+       private List<BasicBlock> successors = new ArrayList<BasicBlock> ();
 
        // dominator tree
        public BasicBlock parent { get; private set; }
-       Gee.List<BasicBlock> children = new ArrayList<BasicBlock> ();
+       List<BasicBlock> children = new ArrayList<BasicBlock> ();
        Set<BasicBlock> df = new HashSet<BasicBlock> ();
 
        Set<PhiFunction> phi_functions = new HashSet<PhiFunction> ();
@@ -54,7 +53,7 @@ public class Vala.BasicBlock {
                nodes.add (node);
        }
 
-       public Gee.List<CodeNode> get_nodes () {
+       public List<CodeNode> get_nodes () {
                return nodes;
        }
 
@@ -67,11 +66,11 @@ public class Vala.BasicBlock {
                }
        }
 
-       public Gee.List<weak BasicBlock> get_predecessors () {
+       public List<weak BasicBlock> get_predecessors () {
                return new ReadOnlyList<weak BasicBlock> (predecessors);
        }
 
-       public Gee.List<weak BasicBlock> get_successors () {
+       public List<weak BasicBlock> get_successors () {
                return new ReadOnlyList<weak BasicBlock> (successors);
        }
 
@@ -80,7 +79,7 @@ public class Vala.BasicBlock {
                block.parent = this;
        }
 
-       public Gee.List<BasicBlock> get_children () {
+       public List<BasicBlock> get_children () {
                return children;
        }
 
@@ -88,7 +87,7 @@ public class Vala.BasicBlock {
                df.add (block);
        }
 
-       public Gee.Set<BasicBlock> get_dominator_frontier () {
+       public Set<BasicBlock> get_dominator_frontier () {
                return df;
        }
 
@@ -96,7 +95,7 @@ public class Vala.BasicBlock {
                phi_functions.add (phi);
        }
 
-       public Gee.Set<PhiFunction> get_phi_functions () {
+       public Set<PhiFunction> get_phi_functions () {
                return phi_functions;
        }
 }
index 54f58906af6ef6dd1714ecc6a3fb3b992a30c109..b4b35c4e701c633c4e9909b86c1f88ec75d6f31a 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents an expression with two operands in the source code.
index c473aca3949f2734ad6e0cd144681c532a144ab9..59eba4467a79a86beb001e753198fec431e6c0c1 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a source code block.
@@ -35,8 +34,8 @@ public class Vala.Block : Symbol, Statement {
 
        public bool captured { get; set; }
 
-       private Gee.List<Statement> statement_list = new ArrayList<Statement> ();
-       private Gee.List<LocalVariable> local_variables = new ArrayList<LocalVariable> ();
+       private List<Statement> statement_list = new ArrayList<Statement> ();
+       private List<LocalVariable> local_variables = new ArrayList<LocalVariable> ();
        
        /**
         * Creates a new block.
@@ -67,7 +66,7 @@ public class Vala.Block : Symbol, Statement {
         *
         * @return statement list
         */
-       public Gee.List<Statement> get_statements () {
+       public List<Statement> get_statements () {
                var list = new ArrayList<Statement> ();
                foreach (Statement stmt in statement_list) {
                        var stmt_list = stmt as StatementList;
@@ -108,7 +107,7 @@ public class Vala.Block : Symbol, Statement {
         *
         * @return variable declarator list
         */
-       public Gee.List<LocalVariable> get_local_variables () {
+       public List<LocalVariable> get_local_variables () {
                return new ReadOnlyList<LocalVariable> (local_variables);
        }
 
index f75c9ff901939b0b019a6d9125467b18c8b89c85..f8e76c5f39d464b95a7a28ca117fa6323ad8c2d4 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents a type cast in the source code.
index 4ce8ce1fe1e60b1060f3d703d2221fab4f833efb..4ac98be3f0f0e2d1ade4b33965d61b053a1a3a60 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents a catch clause in a try statement in the source code.
index c04ce0a7bf8b3b8c445e1f6fe6f8d9e0295d0f80..d324b1882db54ab5e92f4d459b6b2b13bf76d16d 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a class declaration in the source code.
@@ -128,26 +127,26 @@ public class Vala.Class : ObjectTypeSymbol {
        private bool _is_compact;
        private bool _is_immutable;
 
-       private Gee.List<DataType> base_types = new ArrayList<DataType> ();
+       private List<DataType> base_types = new ArrayList<DataType> ();
 
-       private Gee.List<Constant> constants = new ArrayList<Constant> ();
-       private Gee.List<Field> fields = new ArrayList<Field> ();
-       private Gee.List<Method> methods = new ArrayList<Method> ();
-       private Gee.List<Property> properties = new ArrayList<Property> ();
-       private Gee.List<Signal> signals = new ArrayList<Signal> ();
+       private List<Constant> constants = new ArrayList<Constant> ();
+       private List<Field> fields = new ArrayList<Field> ();
+       private List<Method> methods = new ArrayList<Method> ();
+       private List<Property> properties = new ArrayList<Property> ();
+       private List<Signal> signals = new ArrayList<Signal> ();
 
        // inner types
-       private Gee.List<Class> classes = new ArrayList<Class> ();
-       private Gee.List<Struct> structs = new ArrayList<Struct> ();
-       private Gee.List<Enum> enums = new ArrayList<Enum> ();
-       private Gee.List<Delegate> delegates = new ArrayList<Delegate> ();
+       private List<Class> classes = new ArrayList<Class> ();
+       private List<Struct> structs = new ArrayList<Struct> ();
+       private List<Enum> enums = new ArrayList<Enum> ();
+       private List<Delegate> delegates = new ArrayList<Delegate> ();
 
        /**
         * Returns a copy of the list of classes.
         *
         * @return list of classes
         */
-       public Gee.List<Class> get_classes () {
+       public List<Class> get_classes () {
                return new ReadOnlyList<Class> (classes);
        }
 
@@ -156,7 +155,7 @@ public class Vala.Class : ObjectTypeSymbol {
         *
         * @return list of structs
         */
-       public Gee.List<Struct> get_structs () {
+       public List<Struct> get_structs () {
                return new ReadOnlyList<Struct> (structs);
        }
 
@@ -165,7 +164,7 @@ public class Vala.Class : ObjectTypeSymbol {
         *
         * @return list of enums
         */
-       public Gee.List<Enum> get_enums () {
+       public List<Enum> get_enums () {
                return new ReadOnlyList<Enum> (enums);
        }
 
@@ -174,7 +173,7 @@ public class Vala.Class : ObjectTypeSymbol {
         *
         * @return list of delegates
         */
-       public Gee.List<Delegate> get_delegates () {
+       public List<Delegate> get_delegates () {
                return new ReadOnlyList<Delegate> (delegates);
        }
 
@@ -264,7 +263,7 @@ public class Vala.Class : ObjectTypeSymbol {
         *
         * @return list of base types
         */
-       public Gee.List<DataType> get_base_types () {
+       public List<DataType> get_base_types () {
                return new ReadOnlyList<DataType> (base_types);
        }
 
@@ -298,7 +297,7 @@ public class Vala.Class : ObjectTypeSymbol {
         *
         * @return list of fields
         */
-       public Gee.List<Field> get_fields () {
+       public List<Field> get_fields () {
                return new ReadOnlyList<Field> (fields);
        }
 
@@ -307,7 +306,7 @@ public class Vala.Class : ObjectTypeSymbol {
         *
         * @return list of constants
         */
-       public Gee.List<Constant> get_constants () {
+       public List<Constant> get_constants () {
                return new ReadOnlyList<Constant> (constants);
        }
 
@@ -395,7 +394,7 @@ public class Vala.Class : ObjectTypeSymbol {
         *
         * @return list of methods
         */
-       public override Gee.List<Method> get_methods () {
+       public override List<Method> get_methods () {
                return new ReadOnlyList<Method> (methods);
        }
        
@@ -421,7 +420,7 @@ public class Vala.Class : ObjectTypeSymbol {
         *
         * @return list of properties
         */
-       public override Gee.List<Property> get_properties () {
+       public override List<Property> get_properties () {
                return new ReadOnlyList<Property> (properties);
        }
        
@@ -440,7 +439,7 @@ public class Vala.Class : ObjectTypeSymbol {
         *
         * @return list of signals
         */
-       public override Gee.List<Signal> get_signals () {
+       public override List<Signal> get_signals () {
                return new ReadOnlyList<Signal> (signals);
        }
 
@@ -906,7 +905,7 @@ public class Vala.Class : ObjectTypeSymbol {
                }
        }
 
-       private void get_all_prerequisites (Interface iface, Gee.List<TypeSymbol> list) {
+       private void get_all_prerequisites (Interface iface, List<TypeSymbol> list) {
                foreach (DataType prereq in iface.get_prerequisites ()) {
                        TypeSymbol type = prereq.data_type;
                        /* skip on previous errors */
@@ -1066,14 +1065,14 @@ public class Vala.Class : ObjectTypeSymbol {
                }
 
                /* gather all prerequisites */
-               Gee.List<TypeSymbol> prerequisites = new ArrayList<TypeSymbol> ();
+               List<TypeSymbol> prerequisites = new ArrayList<TypeSymbol> ();
                foreach (DataType base_type in get_base_types ()) {
                        if (base_type.data_type is Interface) {
                                get_all_prerequisites ((Interface) base_type.data_type, prerequisites);
                        }
                }
                /* check whether all prerequisites are met */
-               Gee.List<string> missing_prereqs = new ArrayList<string> ();
+               List<string> missing_prereqs = new ArrayList<string> ();
                foreach (TypeSymbol prereq in prerequisites) {
                        if (!class_is_a (this, prereq)) {
                                missing_prereqs.insert (0, prereq.get_full_name ());
index e6d9db3f5af1c2f59a3a40eaff6f6b60566291a3..938e51184081ef5137dd9057c52fda85103315c1 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * The root of the code tree.
@@ -156,11 +155,11 @@ public class Vala.CodeContext {
 
        public string entry_point_name { get; set; }
 
-       private Gee.List<SourceFile> source_files = new ArrayList<SourceFile> ();
-       private Gee.List<string> c_source_files = new ArrayList<string> ();
+       private List<SourceFile> source_files = new ArrayList<SourceFile> ();
+       private List<string> c_source_files = new ArrayList<string> ();
        private Namespace _root = new Namespace (null);
 
-       private Gee.List<string> packages = new ArrayList<string> (str_equal);
+       private List<string> packages = new ArrayList<string> (str_equal);
 
        private Set<string> defines = new HashSet<string> (str_hash, str_equal);
 
@@ -187,7 +186,7 @@ public class Vala.CodeContext {
         * Return the topmost context from the context stack.
         */
        public static CodeContext get () {
-               Gee.List<CodeContext>* context_stack = context_stack_key.get ();
+               List<CodeContext>* context_stack = context_stack_key.get ();
 
                return context_stack->get (context_stack->size - 1);
        }
@@ -196,7 +195,7 @@ public class Vala.CodeContext {
         * Push the specified context to the context stack.
         */
        public static void push (CodeContext context) {
-               Gee.List<CodeContext>* context_stack = context_stack_key.get ();
+               List<CodeContext>* context_stack = context_stack_key.get ();
                if (context_stack == null) {
                        context_stack = new ArrayList<CodeContext> ();
                        context_stack_key.set (context_stack, null);
@@ -209,7 +208,7 @@ public class Vala.CodeContext {
         * Remove the topmost context from the context stack.
         */
        public static void pop () {
-               Gee.List<CodeContext>* context_stack = context_stack_key.get ();
+               List<CodeContext>* context_stack = context_stack_key.get ();
 
                context_stack->remove_at (context_stack->size - 1);
        }
@@ -219,7 +218,7 @@ public class Vala.CodeContext {
         *
         * @return list of source files
         */
-       public Gee.List<SourceFile> get_source_files () {
+       public List<SourceFile> get_source_files () {
                return new ReadOnlyList<SourceFile> (source_files);
        }
 
@@ -228,7 +227,7 @@ public class Vala.CodeContext {
         *
         * @return list of C source files
         */
-       public Gee.List<string> get_c_source_files () {
+       public List<string> get_c_source_files () {
                return new ReadOnlyList<string> (c_source_files);
        }
        
@@ -255,7 +254,7 @@ public class Vala.CodeContext {
         *
         * @return list of used packages
         */
-       public Gee.List<string> get_packages () {
+       public List<string> get_packages () {
                return new ReadOnlyList<string> (packages);
        }
 
index bcee17efeb3f9ff6977fc4f8c185fa3d45c39277..d42462396d38afee79a5b78b5f75dea47a81bbde 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a part of the parsed source code.
@@ -82,8 +81,8 @@ public abstract class Vala.CodeNode {
                get { return _error_types != null && _error_types.size > 0; }
        }
 
-       private Gee.List<DataType> _error_types;
-       private static Gee.List<DataType> _empty_type_list;
+       private List<DataType> _error_types;
+       private static List<DataType> _empty_type_list;
 
        private CCodeNode? _ccodenode;
 
@@ -92,7 +91,7 @@ public abstract class Vala.CodeNode {
        /**
         * Specifies the exceptions that can be thrown by this node or a child node
         */
-       public Gee.List<DataType> get_error_types () { 
+       public List<DataType> get_error_types () { 
                if (_error_types != null) {
                        return _error_types;
                }
@@ -118,7 +117,7 @@ public abstract class Vala.CodeNode {
         * Adds a collection of error types to the exceptions that can be thrown by this node
         * or a child node 
         */
-       public void add_error_types (Gee.List<DataType> error_types) {
+       public void add_error_types (List<DataType> error_types) {
                foreach (DataType error_type in error_types) {
                        add_error_type (error_type);
                }
index 21a40da5d0443fa08af7d7171c33e93d7fe1c7c9..22f59193522d677e4b2a927b646bda3f5f5ebab3 100644 (file)
@@ -22,7 +22,6 @@
  *     Raffaele Sandrini <raffaele@sandrini.ch>
  */
 
-using Gee;
 
 /**
  * Code visitor generating Vala API file for the public interface.
@@ -272,8 +271,8 @@ public class Vala.CodeWriter : CodeVisitor {
                write_newline ();
        }
 
-       void visit_sorted (Gee.List<Symbol> symbols) {
-               var sorted_symbols = new Gee.ArrayList<Symbol> ();
+       void visit_sorted (List<Symbol> symbols) {
+               var sorted_symbols = new ArrayList<Symbol> ();
                foreach (Symbol sym in symbols) {
                        int left = 0;
                        int right = sorted_symbols.size - 1;
@@ -671,7 +670,7 @@ public class Vala.CodeWriter : CodeVisitor {
                write_newline ();
        }
        
-       private void write_error_domains (Gee.List<DataType> error_domains) {
+       private void write_error_domains (List<DataType> error_domains) {
                if (error_domains.size > 0) {
                        write_string (" throws ");
 
@@ -693,7 +692,7 @@ public class Vala.CodeWriter : CodeVisitor {
                return ((int) (d1 * 1000)) == ((int) (d2 * 1000));
        }
 
-       private void write_params (Gee.List<FormalParameter> params) {
+       private void write_params (List<FormalParameter> params) {
                write_string ("(");
 
                int i = 1;
index fc4791b4edfe8530455aeca45d16e04519281c98..b792ef1d7a98d9c34807eff758bae948acef5741 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * A reference to a data type. This is used to specify static types of
@@ -60,8 +59,8 @@ public abstract class Vala.DataType : CodeNode {
         */
        public bool is_dynamic { get; set; }
 
-       private Gee.List<DataType> type_argument_list;
-       private static Gee.List<DataType> _empty_type_list;
+       private List<DataType> type_argument_list;
+       private static List<DataType> _empty_type_list;
 
        /**
         * Appends the specified type as generic type argument.
@@ -81,7 +80,7 @@ public abstract class Vala.DataType : CodeNode {
         *
         * @return type argument list
         */
-       public Gee.List<DataType> get_type_arguments () {
+       public List<DataType> get_type_arguments () {
                if (type_argument_list != null) {
                        return type_argument_list;
                }
@@ -400,7 +399,7 @@ public abstract class Vala.DataType : CodeNode {
         *
         * @return parameter list
         */
-       public virtual Gee.List<FormalParameter>? get_parameters () {
+       public virtual List<FormalParameter>? get_parameters () {
                return null;
        }
 
@@ -419,7 +418,7 @@ public abstract class Vala.DataType : CodeNode {
         *
         * @return symbol list
         */
-       public virtual Gee.List<Symbol> get_symbols () {
+       public virtual List<Symbol> get_symbols () {
                var symbols = new ArrayList<Symbol> ();
                if (data_type != null) {
                        symbols.add (data_type);
index 428d88ef69db0244e3e875cad5cad85410158260..344000e62745a633f4991d2a0077bce30eb4cbb0 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents a local variable or constant declaration statement in the source code.
index 8af715773901bd9a96b221bc8ef003af362d2752..a882d3a2a3bbfd124214ac86a4fd2100b37f3e6c 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a function callback type.
@@ -75,9 +74,9 @@ public class Vala.Delegate : TypeSymbol {
         */
        public bool array_null_terminated { get; set; }
 
-       private Gee.List<TypeParameter> type_parameters = new ArrayList<TypeParameter> ();
+       private List<TypeParameter> type_parameters = new ArrayList<TypeParameter> ();
 
-       private Gee.List<FormalParameter> parameters = new ArrayList<FormalParameter> ();
+       private List<FormalParameter> parameters = new ArrayList<FormalParameter> ();
        private string cname;
 
        private DataType _return_type;
@@ -130,7 +129,7 @@ public class Vala.Delegate : TypeSymbol {
         *
         * @return parameter list
         */
-       public Gee.List<FormalParameter> get_parameters () {
+       public List<FormalParameter> get_parameters () {
                return new ReadOnlyList<FormalParameter> (parameters);
        }
        
index 376138007fc34b1d33c619c0ba4093be9617ab03..331f1e7b7e4be15610d79a4bbac05eeca15186ab 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * The type of an instance of a delegate.
@@ -41,7 +40,7 @@ public class Vala.DelegateType : DataType {
                return delegate_symbol.return_type;
        }
 
-       public override Gee.List<FormalParameter>? get_parameters () {
+       public override List<FormalParameter>? get_parameters () {
                return delegate_symbol.get_parameters ();
        }
 
@@ -70,7 +69,7 @@ public class Vala.DelegateType : DataType {
                return delegate_symbol.get_cname ();
        }
 
-       public override Gee.List<Symbol> get_symbols () {
+       public override List<Symbol> get_symbols () {
                var symbols = new ArrayList<Symbol> ();
                symbols.add (delegate_symbol);
                return symbols;
index 06c58fbbadc6a2d7e2f2f07d0b8d3a604ebbaa18..361d4b2ad47c46e266d1af35795e826cb886c371 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a late bound method.
@@ -39,7 +38,7 @@ public class Vala.DynamicMethod : Method {
                this.dynamic_type = dynamic_type;
        }
 
-       public override Gee.List<string> get_cheader_filenames () {
+       public override List<string> get_cheader_filenames () {
                return new ArrayList<string> ();
        }
 
index 3139f5f5fcd3ac8289a26eed0fa258fc8e3f94a6..7155965a5a6e95a66324b27215e075f1e5cfc82a 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a late bound property.
@@ -34,7 +33,7 @@ public class Vala.DynamicProperty : Property {
                this.dynamic_type = dynamic_type;
        }
 
-       public override Gee.List<string> get_cheader_filenames () {
+       public override List<string> get_cheader_filenames () {
                return new ArrayList<string> ();
        }
 
index 4faf6d2803bfff108fb8d49f04fe715a6a059d52..9cfe3c8d9455ef868f7cbb7a00ec784a126581b3 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an array access expression e.g. "a[1,2]".
@@ -45,7 +44,7 @@ public class Vala.ElementAccess : Expression {
        /**
         * Expressions representing the indices we want to access inside the container.
         */
-       private Gee.List<Expression> indices = new ArrayList<Expression> ();
+       private List<Expression> indices = new ArrayList<Expression> ();
 
        Expression _container;
 
@@ -54,7 +53,7 @@ public class Vala.ElementAccess : Expression {
                index.parent_node = this;
        }
 
-       public Gee.List<Expression> get_indices () {
+       public List<Expression> get_indices () {
                return new ReadOnlyList<Expression> (indices);
        }
        
index b348f9c91eb3a6ea0acfa57c9a879e2cdb42cf1a..b000a139ffbdd98282bd86909f1e2a2ae3edcbef 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an enum declaration in the source code.
@@ -37,8 +36,8 @@ public class Vala.Enum : TypeSymbol {
         */
        public bool has_type_id { get; set; default = true; }
 
-       private Gee.List<EnumValue> values = new ArrayList<EnumValue> ();
-       private Gee.List<Method> methods = new ArrayList<Method> ();
+       private List<EnumValue> values = new ArrayList<EnumValue> ();
+       private List<Method> methods = new ArrayList<Method> ();
        private string cname;
        private string cprefix;
        private string lower_case_cprefix;
@@ -92,7 +91,7 @@ public class Vala.Enum : TypeSymbol {
         *
         * @return list of enum values
         */
-       public Gee.List<EnumValue> get_values () {
+       public List<EnumValue> get_values () {
                return new ReadOnlyList<EnumValue> (values);
        }
 
@@ -101,7 +100,7 @@ public class Vala.Enum : TypeSymbol {
         *
         * @return list of methods
         */
-       public Gee.List<Method> get_methods () {
+       public List<Method> get_methods () {
                return new ReadOnlyList<Method> (methods);
        }
 
index 6802fa88abab52a022c1188a3f284d6656089cb5..7ccc78aad2e952f3ab34d3f6dc0b33bf61428dd7 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an error domain declaration in the source code.
  */
 public class Vala.ErrorDomain : TypeSymbol {
-       private Gee.List<ErrorCode> codes = new ArrayList<ErrorCode> ();
-       private Gee.List<Method> methods = new ArrayList<Method> ();
+       private List<ErrorCode> codes = new ArrayList<ErrorCode> ();
+       private List<Method> methods = new ArrayList<Method> ();
        private string cname;
        private string cprefix;
        private string lower_case_cprefix;
@@ -81,7 +80,7 @@ public class Vala.ErrorDomain : TypeSymbol {
         *
         * @return list of error codes
         */
-       public Gee.List<ErrorCode> get_codes () {
+       public List<ErrorCode> get_codes () {
                return new ReadOnlyList<ErrorCode> (codes);
        }
 
@@ -90,7 +89,7 @@ public class Vala.ErrorDomain : TypeSymbol {
         *
         * @return list of methods
         */
-       public Gee.List<Method> get_methods () {
+       public List<Method> get_methods () {
                return new ReadOnlyList<Method> (methods);
        }
 
index a97ed102eb0cf458f33d5e4a6ad6ad011ec06835..334ed2986e63a6436c4bc052b571bda344ae44ad 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Base class for all code nodes that might be used as an expression.
@@ -64,7 +63,7 @@ public abstract class Vala.Expression : CodeNode {
         */
        public ArrayList<LocalVariable> temp_vars = new ArrayList<LocalVariable> ();
 
-       private Gee.List<CCodeExpression> array_sizes = new ArrayList<CCodeExpression> ();
+       private List<CCodeExpression> array_sizes = new ArrayList<CCodeExpression> ();
 
        public CCodeExpression? delegate_target { get; set; }
        public CCodeExpression? delegate_target_destroy_notify { get; set; }
@@ -101,7 +100,7 @@ public abstract class Vala.Expression : CodeNode {
         * Get the C code expression for array sizes for all dimensions
         * ascending from left to right.
         */
-       public Gee.List<CCodeExpression> get_array_sizes () {
+       public List<CCodeExpression> get_array_sizes () {
                return new ReadOnlyList<CCodeExpression> (array_sizes);
        }
 
index 69cf0bd85dde90ed5044112ed5e1ef1c34455bbe..75f6bab1a4d0b0ea743ec6376b9a885e0f9ed856 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * A code statement that evaluates a given expression. The value computed by the
index 3573354c3a8876bed2080397a2b317aad840a2c0..89e174fb2beb32e57338915a4979d7e20b5e1af8 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a type or namespace field.
index a932b97393a421856a2ec68eee5c174183625b59..364a2cdfa9fb51a45cd021720091a0bf04176e24 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Code visitor building the control flow graph.
@@ -80,9 +79,9 @@ public class Vala.FlowAnalyzer : CodeVisitor {
        private CodeContext context;
        private BasicBlock current_block;
        private bool unreachable_reported;
-       private Gee.List<JumpTarget> jump_stack = new ArrayList<JumpTarget> ();
+       private List<JumpTarget> jump_stack = new ArrayList<JumpTarget> ();
 
-       Map<Symbol, Gee.List<LocalVariable>> var_map;
+       Map<Symbol, List<LocalVariable>> var_map;
        Set<LocalVariable> used_vars;
        Map<LocalVariable, PhiFunction> phi_functions;
 
@@ -176,13 +175,13 @@ public class Vala.FlowAnalyzer : CodeVisitor {
                check_variables (m.entry_block);
        }
 
-       Gee.List<BasicBlock> get_depth_first_list (BasicBlock entry_block) {
+       List<BasicBlock> get_depth_first_list (BasicBlock entry_block) {
                var list = new ArrayList<BasicBlock> ();
                depth_first_traverse (entry_block, list);
                return list;
        }
 
-       void depth_first_traverse (BasicBlock current, Gee.List<BasicBlock> list) {
+       void depth_first_traverse (BasicBlock current, List<BasicBlock> list) {
                if (current in list) {
                        return;
                }
@@ -362,7 +361,7 @@ public class Vala.FlowAnalyzer : CodeVisitor {
        }
 
        void check_variables (BasicBlock entry_block) {
-               var_map = new HashMap<Symbol, Gee.List<LocalVariable>>();
+               var_map = new HashMap<Symbol, List<LocalVariable>>();
                used_vars = new HashSet<LocalVariable> ();
                phi_functions = new HashMap<LocalVariable, PhiFunction> ();
 
@@ -462,7 +461,7 @@ public class Vala.FlowAnalyzer : CodeVisitor {
                }
        }
 
-       LocalVariable process_assignment (Map<Symbol, Gee.List<LocalVariable>> var_map, LocalVariable var_symbol) {
+       LocalVariable process_assignment (Map<Symbol, List<LocalVariable>> var_map, LocalVariable var_symbol) {
                var variable_stack = var_map.get (var_symbol);
                if (variable_stack == null) {
                        variable_stack = new ArrayList<LocalVariable> ();
@@ -930,7 +929,7 @@ public class Vala.FlowAnalyzer : CodeVisitor {
                }
 
                // remove catch clauses from jump stack
-               Gee.List<JumpTarget> catch_stack = new ArrayList<JumpTarget> ();
+               List<JumpTarget> catch_stack = new ArrayList<JumpTarget> ();
                for (int i = jump_stack.size - 1; i >= finally_jump_stack_size; i--) {
                        var jump_target = jump_stack[i];
                        catch_stack.add (jump_target);
index c073ab9089811ad3e59d4e81e224483a0022f6bf..b12440e3031ebabbb5deb3e8a09b81b551baf648 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents a foreach statement in the source code. Foreach statements iterate
index b9dd31a69815d70d0627dcf7e0ab911ef400048e..2dfa557b5170e87891d7e142e782462aeb035e3b 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a formal parameter in method and callback signatures.
index 38e79bc251597d548dd6912923b4f15a779f8902..44fac128ad020a85893158d3cb334a0a29913eda 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a for iteration statement in the source code.
@@ -55,8 +54,8 @@ public class Vala.ForStatement : CodeNode, Statement {
                }
        }
 
-       private Gee.List<Expression> initializer = new ArrayList<Expression> ();
-       private Gee.List<Expression> iterator = new ArrayList<Expression> ();
+       private List<Expression> initializer = new ArrayList<Expression> ();
+       private List<Expression> iterator = new ArrayList<Expression> ();
 
        private Expression _condition;
        private Block _body;
@@ -90,7 +89,7 @@ public class Vala.ForStatement : CodeNode, Statement {
         *
         * @return initializer list
         */
-       public Gee.List<Expression> get_initializer () {
+       public List<Expression> get_initializer () {
                return new ReadOnlyList<Expression> (initializer);
        }
        
@@ -109,7 +108,7 @@ public class Vala.ForStatement : CodeNode, Statement {
         *
         * @return iterator
         */
-       public Gee.List<Expression> get_iterator () {
+       public List<Expression> get_iterator () {
                return new ReadOnlyList<Expression> (iterator);
        }
        
index f982744d8b4f01eb89f069155e8673f30ff9280a..a6a104715cf12ff898873b69aa5194a1a63ae928 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 using GLib;
-using Gee;
 
 
 /**
@@ -446,7 +445,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                        return type;
                }
 
-               Gee.List<DataType> type_arg_list = null;
+               List<DataType> type_arg_list = null;
                UnresolvedSymbol sym = null;
                
                bool is_dynamic = accept (TokenType.DYNAMIC);
@@ -588,7 +587,7 @@ public class Vala.Genie.Parser : CodeVisitor {
        }
 
 
-       Gee.List<Expression> parse_argument_list () throws ParseError {
+       List<Expression> parse_argument_list () throws ParseError {
                var list = new ArrayList<Expression> ();
                if (current () != TokenType.CLOSE_PARENS) {
                        do {
@@ -696,7 +695,7 @@ public class Vala.Genie.Parser : CodeVisitor {
        Expression parse_simple_name () throws ParseError {
                var begin = get_location ();
                string id = parse_identifier ();
-               Gee.List<DataType> type_arg_list = parse_type_argument_list (true);
+               List<DataType> type_arg_list = parse_type_argument_list (true);
                var expr = new MemberAccess (null, id, get_src (begin));
                if (type_arg_list != null) {
                        foreach (DataType type_arg in type_arg_list) {
@@ -728,7 +727,7 @@ public class Vala.Genie.Parser : CodeVisitor {
        Expression parse_member_access (SourceLocation begin, Expression inner) throws ParseError {
                expect (TokenType.DOT);
                string id = parse_identifier ();
-               Gee.List<DataType> type_arg_list = parse_type_argument_list (true);
+               List<DataType> type_arg_list = parse_type_argument_list (true);
                var expr = new MemberAccess (inner, id, get_src (begin));
                if (type_arg_list != null) {
                        foreach (DataType type_arg in type_arg_list) {
@@ -741,7 +740,7 @@ public class Vala.Genie.Parser : CodeVisitor {
        Expression parse_pointer_member_access (SourceLocation begin, Expression inner) throws ParseError {
                expect (TokenType.OP_PTR);
                string id = parse_identifier ();
-               Gee.List<DataType> type_arg_list = parse_type_argument_list (true);
+               List<DataType> type_arg_list = parse_type_argument_list (true);
                var expr = new MemberAccess.pointer (inner, id, get_src (begin));
                if (type_arg_list != null) {
                        foreach (DataType type_arg in type_arg_list) {
@@ -752,7 +751,7 @@ public class Vala.Genie.Parser : CodeVisitor {
        }
 
 
-       Gee.List<Expression> parse_print_argument_list () throws ParseError {
+       List<Expression> parse_print_argument_list () throws ParseError {
                var list = new ArrayList<Expression> ();
                var i = 0;
                var begin = get_location ();
@@ -876,7 +875,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return expr;
        }
 
-       Gee.List<Expression> parse_expression_list () throws ParseError {
+       List<Expression> parse_expression_list () throws ParseError {
                var list = new ArrayList<Expression> ();
                do {
                        list.add (parse_expression ());
@@ -942,7 +941,7 @@ public class Vala.Genie.Parser : CodeVisitor {
 
        Expression parse_object_creation_expression (SourceLocation begin, MemberAccess member) throws ParseError {
                member.creation_member = true;
-               Gee.List<Expression> arg_list;
+               List<Expression> arg_list;
                if (accept (TokenType.OPEN_PARENS)) {
                        arg_list = parse_argument_list ();
                        expect (TokenType.CLOSE_PARENS);
@@ -964,7 +963,7 @@ public class Vala.Genie.Parser : CodeVisitor {
 
        Expression parse_array_creation_expression (SourceLocation begin, DataType element_type) throws ParseError {
                bool size_specified = false;
-               Gee.List<Expression> size_specifier_list = null;
+               List<Expression> size_specifier_list = null;
                bool first = true;
                DataType etype = element_type.copy ();
                
@@ -1067,7 +1066,7 @@ public class Vala.Genie.Parser : CodeVisitor {
        }
        
 
-       Gee.List<MemberInitializer> parse_object_initializer () throws ParseError {
+       List<MemberInitializer> parse_object_initializer () throws ParseError {
                var list = new ArrayList<MemberInitializer> ();
                if (accept (TokenType.OPEN_BRACE)) {
                        do {
@@ -1453,7 +1452,7 @@ public class Vala.Genie.Parser : CodeVisitor {
 
        Expression parse_lambda_expression () throws ParseError {
                var begin = get_location ();
-               Gee.List<string> params = new ArrayList<string> ();
+               List<string> params = new ArrayList<string> ();
                
                expect (TokenType.DEF);
                
@@ -2151,7 +2150,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return stmt;
        }
 
-       void parse_catch_clauses (Gee.List<CatchClause> catch_clauses) throws ParseError {
+       void parse_catch_clauses (List<CatchClause> catch_clauses) throws ParseError {
                while (accept (TokenType.EXCEPT)) {
                        var begin = get_location ();
                        DataType type = null;
@@ -2193,7 +2192,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return new DeleteStatement (expr, get_src (begin));
        }
 
-       Gee.List<Attribute>? parse_attributes () throws ParseError {
+       List<Attribute>? parse_attributes () throws ParseError {
                if (current () != TokenType.OPEN_BRACKET) {
                        return null;
                }
@@ -2223,9 +2222,9 @@ public class Vala.Genie.Parser : CodeVisitor {
                return attrs;
        }
 
-       void set_attributes (CodeNode node, Gee.List<Attribute>? attributes) {
+       void set_attributes (CodeNode node, List<Attribute>? attributes) {
                if (attributes != null) {
-                       foreach (Attribute attr in (Gee.List<Attribute>) attributes) {
+                       foreach (Attribute attr in (List<Attribute>) attributes) {
                                node.attributes.append (attr);
                        }
                }
@@ -2381,7 +2380,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return RecoveryState.EOF;
        }
 
-       Namespace parse_namespace_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Namespace parse_namespace_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                expect (TokenType.NAMESPACE);
                var sym = parse_symbol_name ();
@@ -2473,7 +2472,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                
        }
 
-       Symbol parse_class_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_class_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                expect (TokenType.CLASS);
 
@@ -2591,7 +2590,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                }
        }
 
-       Constant parse_constant_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Constant parse_constant_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
 
                expect (TokenType.CONST);
@@ -2630,7 +2629,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return c;
        }
 
-       Field parse_field_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Field parse_field_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                string id = parse_identifier ();
                expect (TokenType.COLON);
@@ -2698,7 +2697,7 @@ public class Vala.Genie.Parser : CodeVisitor {
        
        
 
-       Method parse_main_method_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Method parse_main_method_declaration (List<Attribute>? attrs) throws ParseError {
                var id = "main";
                var begin = get_location ();
                DataType type = new VoidType ();
@@ -2730,7 +2729,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return method;
        }
 
-       Method parse_method_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Method parse_method_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                DataType type = new VoidType ();
                expect (TokenType.DEF);
@@ -2880,7 +2879,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return method;
        }
 
-       Property parse_property_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Property parse_property_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var readonly = false;
 
@@ -3023,7 +3022,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return prop;
        }
 
-       Vala.Signal parse_signal_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Vala.Signal parse_signal_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                DataType type;
 
@@ -3080,7 +3079,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return sig;
        }
 
-       Constructor parse_constructor_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Constructor parse_constructor_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
 
                expect (TokenType.INIT);
@@ -3098,7 +3097,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return c;
        }
 
-       Destructor parse_destructor_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Destructor parse_destructor_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                expect (TokenType.FINAL);
                var d = new Destructor (get_src (begin));
@@ -3107,7 +3106,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return d;
        }
 
-       Symbol parse_struct_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_struct_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
 
                expect (TokenType.STRUCT);
@@ -3165,7 +3164,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                }
        }
 
-       Symbol parse_interface_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_interface_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
 
                expect (TokenType.INTERFACE);
@@ -3243,7 +3242,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                }
        }
 
-       Symbol parse_enum_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_enum_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                expect (TokenType.ENUM);
                var flags = parse_type_declaration_modifiers ();
@@ -3298,7 +3297,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return result;
        }
 
-       Symbol parse_errordomain_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_errordomain_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                expect (TokenType.ERRORDOMAIN);
                var flags = parse_type_declaration_modifiers ();
@@ -3469,7 +3468,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return param;
        }
 
-       CreationMethod parse_creation_method_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       CreationMethod parse_creation_method_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                CreationMethod method;
 
@@ -3519,7 +3518,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return method;
        }
 
-       Symbol parse_delegate_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_delegate_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                DataType type;
 
@@ -3605,7 +3604,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                return result;
        }
 
-       Gee.List<TypeParameter> parse_type_parameter_list () throws ParseError {
+       List<TypeParameter> parse_type_parameter_list () throws ParseError {
                var list = new ArrayList<TypeParameter> ();
                if (accept (TokenType.OF)) {
                        do {
@@ -3627,7 +3626,7 @@ public class Vala.Genie.Parser : CodeVisitor {
        }
 
        // try to parse type argument list
-       Gee.List<DataType>? parse_type_argument_list (bool maybe_expression) throws ParseError {
+       List<DataType>? parse_type_argument_list (bool maybe_expression) throws ParseError {
                var begin = get_location ();
                if (accept (TokenType.OF)) {
                        var list = new ArrayList<DataType> ();
@@ -3658,7 +3657,7 @@ public class Vala.Genie.Parser : CodeVisitor {
                MemberAccess expr = null;
                do {
                        string id = parse_identifier ();
-                       Gee.List<DataType> type_arg_list = parse_type_argument_list (false);
+                       List<DataType> type_arg_list = parse_type_argument_list (false);
                        expr = new MemberAccess (expr, id, get_src (begin));
                        if (type_arg_list != null) {
                                foreach (DataType type_arg in type_arg_list) {
index d36ec3504cb9d6148939f6c7cd20ade576b801d2..b9b0238245fcddb4f5e96a573a8ab3f43b57eac8 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Lexical scanner for Genie source files.
index aa09522cebddbeb3277203f5f2fc8f65122d91c8..82aa6e91e08065a64e2e1210cc7005f4e4360520 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an array or struct initializer list in the source code.
  */
 public class Vala.InitializerList : Expression {
-       private Gee.List<Expression> initializers = new ArrayList<Expression> ();
+       private List<Expression> initializers = new ArrayList<Expression> ();
        
        /**
         * Appends the specified expression to this initializer 
@@ -46,7 +45,7 @@ public class Vala.InitializerList : Expression {
         *
         * @return expression list
         */
-       public Gee.List<Expression> get_initializers () {
+       public List<Expression> get_initializers () {
                return new ReadOnlyList<Expression> (initializers);
        }
 
index e9ff11893785978677263486361f3d8606fd2463..15387365eaa8572518c66b791ca6b1e2bc3d10a0 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a class declaration in the source code.
  */
 public class Vala.Interface : ObjectTypeSymbol {
-       private Gee.List<DataType> prerequisites = new ArrayList<DataType> ();
+       private List<DataType> prerequisites = new ArrayList<DataType> ();
 
-       private Gee.List<Method> methods = new ArrayList<Method> ();
-       private Gee.List<Field> fields = new ArrayList<Field> ();
-       private Gee.List<Constant> constants = new ArrayList<Constant> ();
-       private Gee.List<Property> properties = new ArrayList<Property> ();
-       private Gee.List<Signal> signals = new ArrayList<Signal> ();
+       private List<Method> methods = new ArrayList<Method> ();
+       private List<Field> fields = new ArrayList<Field> ();
+       private List<Constant> constants = new ArrayList<Constant> ();
+       private List<Property> properties = new ArrayList<Property> ();
+       private List<Signal> signals = new ArrayList<Signal> ();
 
        // inner types
-       private Gee.List<Class> classes = new ArrayList<Class> ();
-       private Gee.List<Struct> structs = new ArrayList<Struct> ();
-       private Gee.List<Enum> enums = new ArrayList<Enum> ();
-       private Gee.List<Delegate> delegates = new ArrayList<Delegate> ();
+       private List<Class> classes = new ArrayList<Class> ();
+       private List<Struct> structs = new ArrayList<Struct> ();
+       private List<Enum> enums = new ArrayList<Enum> ();
+       private List<Delegate> delegates = new ArrayList<Delegate> ();
 
        private string cname;
        private string lower_case_csuffix;
@@ -51,7 +50,7 @@ public class Vala.Interface : ObjectTypeSymbol {
         *
         * @return list of classes
         */
-       public Gee.List<Class> get_classes () {
+       public List<Class> get_classes () {
                return new ReadOnlyList<Class> (classes);
        }
 
@@ -60,7 +59,7 @@ public class Vala.Interface : ObjectTypeSymbol {
         *
         * @return list of structs
         */
-       public Gee.List<Struct> get_structs () {
+       public List<Struct> get_structs () {
                return new ReadOnlyList<Struct> (structs);
        }
 
@@ -69,7 +68,7 @@ public class Vala.Interface : ObjectTypeSymbol {
         *
         * @return list of enums
         */
-       public Gee.List<Enum> get_enums () {
+       public List<Enum> get_enums () {
                return new ReadOnlyList<Enum> (enums);
        }
 
@@ -78,7 +77,7 @@ public class Vala.Interface : ObjectTypeSymbol {
         *
         * @return list of delegates
         */
-       public Gee.List<Delegate> get_delegates () {
+       public List<Delegate> get_delegates () {
                return new ReadOnlyList<Delegate> (delegates);
        }
 
@@ -119,7 +118,7 @@ public class Vala.Interface : ObjectTypeSymbol {
         *
         * @return list of base types
         */
-       public Gee.List<DataType> get_prerequisites () {
+       public List<DataType> get_prerequisites () {
                return new ReadOnlyList<DataType> (prerequisites);
        }
        
@@ -153,7 +152,7 @@ public class Vala.Interface : ObjectTypeSymbol {
         *
         * @return list of methods
         */
-       public override Gee.List<Method> get_methods () {
+       public override List<Method> get_methods () {
                return new ReadOnlyList<Method> (methods);
        }
        
@@ -173,7 +172,7 @@ public class Vala.Interface : ObjectTypeSymbol {
         *
         * @return list of fields
         */
-       public Gee.List<Field> get_fields () {
+       public List<Field> get_fields () {
                return new ReadOnlyList<Field> (fields);
        }
 
@@ -192,7 +191,7 @@ public class Vala.Interface : ObjectTypeSymbol {
         *
         * @return list of constants
         */
-       public Gee.List<Constant> get_constants () {
+       public List<Constant> get_constants () {
                return new ReadOnlyList<Constant> (constants);
        }
 
@@ -214,7 +213,7 @@ public class Vala.Interface : ObjectTypeSymbol {
         *
         * @return list of properties
         */
-       public override Gee.List<Property> get_properties () {
+       public override List<Property> get_properties () {
                return new ReadOnlyList<Property> (properties);
        }
        
@@ -233,7 +232,7 @@ public class Vala.Interface : ObjectTypeSymbol {
         *
         * @return list of signals
         */
-       public override Gee.List<Signal> get_signals () {
+       public override List<Signal> get_signals () {
                return new ReadOnlyList<Signal> (signals);
        }
 
index c9794c2adaea427db754e715d7bc7ae7ef312b45..0f0bb29979787f1ff30682b6af11389eb8b71528 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a lambda expression in the source code. Lambda expressions are
@@ -45,7 +44,7 @@ public class Vala.LambdaExpression : Expression {
         */
        public Method method { get; set; }
 
-       private Gee.List<string> parameters = new ArrayList<string> ();
+       private List<string> parameters = new ArrayList<string> ();
 
        /**
         * Creates a new lambda expression.
@@ -85,7 +84,7 @@ public class Vala.LambdaExpression : Expression {
         *
         * @return parameter list
         */
-       public Gee.List<string> get_parameters () {
+       public List<string> get_parameters () {
                return new ReadOnlyList<string> (parameters);
        }
        
index b0bdfafa73e93b33345cac4e92cc25157ce47fc8..602c06a65a16dea0c7b44a9a4bf7caff01b1e638 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a general class member.
@@ -29,7 +28,7 @@ using Gee;
 public abstract class Vala.Member : Symbol {
        public Comment comment { get; set; }
 
-       private Gee.List<string> cheader_filenames = new ArrayList<string> ();
+       private List<string> cheader_filenames = new ArrayList<string> ();
 
        /**
         * Specifies whether this method explicitly hides a member of a base
@@ -46,7 +45,7 @@ public abstract class Vala.Member : Symbol {
                visitor.visit_member (this);
        }
 
-       public override Gee.List<string> get_cheader_filenames () {
+       public override List<string> get_cheader_filenames () {
                if (cheader_filenames.size == 0 && parent_symbol != null) {
                        /* default to header filenames of the namespace */
                        foreach (string filename in parent_symbol.get_cheader_filenames ()) {
index f12fdccfd033b240eedd8d2fe0148ffa7e363853..b7fab0b264c93fe8e41769e9d72ca25aaee59022 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an access to a type member in the source code.
@@ -69,7 +68,7 @@ public class Vala.MemberAccess : Expression {
        public bool qualified { get; set; }
 
        private Expression? _inner;
-       private Gee.List<DataType> type_argument_list = new ArrayList<DataType> ();
+       private List<DataType> type_argument_list = new ArrayList<DataType> ();
        
        /**
         * Creates a new member access expression.
@@ -112,7 +111,7 @@ public class Vala.MemberAccess : Expression {
         *
         * @return type argument list
         */
-       public Gee.List<DataType> get_type_arguments () {
+       public List<DataType> get_type_arguments () {
                return new ReadOnlyList<DataType> (type_argument_list);
        }
 
index d64326b87f9333e9801f0cb7a5a3aafa0d86836e..8b9359a66e7c2c98963a7ba3f1eaec19a3914395 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a type or namespace method.
  */
 public class Vala.Method : Member {
-       Gee.List<TypeParameter> type_parameters = new ArrayList<TypeParameter> ();
+       List<TypeParameter> type_parameters = new ArrayList<TypeParameter> ();
 
        public const string DEFAULT_SENTINEL = "NULL";
 
@@ -228,12 +227,12 @@ public class Vala.Method : Member {
 
        public bool is_async_callback { get; set; }
 
-       private Gee.List<FormalParameter> parameters = new ArrayList<FormalParameter> ();
+       private List<FormalParameter> parameters = new ArrayList<FormalParameter> ();
        private string cname;
        private string _vfunc_name;
        private string _sentinel;
-       private Gee.List<Expression> preconditions = new ArrayList<Expression> ();
-       private Gee.List<Expression> postconditions = new ArrayList<Expression> ();
+       private List<Expression> preconditions = new ArrayList<Expression> ();
+       private List<Expression> postconditions = new ArrayList<Expression> ();
        private DataType _return_type;
        private Block _body;
 
@@ -244,7 +243,7 @@ public class Vala.Method : Member {
        Method? callback_method;
 
        // only valid for closures
-       Gee.List<LocalVariable> captured_variables;
+       List<LocalVariable> captured_variables;
 
        /**
         * Creates a new method.
@@ -279,7 +278,7 @@ public class Vala.Method : Member {
                }
        }
        
-       public Gee.List<FormalParameter> get_parameters () {
+       public List<FormalParameter> get_parameters () {
                return new ReadOnlyList<FormalParameter> (parameters);
        }
 
@@ -563,7 +562,7 @@ public class Vala.Method : Member {
         *
         * @return list of type parameters
         */
-       public Gee.List<TypeParameter> get_type_parameters () {
+       public List<TypeParameter> get_type_parameters () {
                return new ReadOnlyList<TypeParameter> (type_parameters);
        }
 
@@ -593,7 +592,7 @@ public class Vala.Method : Member {
         *
         * @return list of preconditions
         */
-       public Gee.List<Expression> get_preconditions () {
+       public List<Expression> get_preconditions () {
                return new ReadOnlyList<Expression> (preconditions);
        }
 
@@ -612,7 +611,7 @@ public class Vala.Method : Member {
         *
         * @return list of postconditions
         */
-       public Gee.List<Expression> get_postconditions () {
+       public List<Expression> get_postconditions () {
                return new ReadOnlyList<Expression> (postconditions);
        }
 
@@ -988,7 +987,7 @@ public class Vala.Method : Member {
                return callback_method;
        }
 
-       public Gee.List<FormalParameter> get_async_begin_parameters () {
+       public List<FormalParameter> get_async_begin_parameters () {
                assert (this.coroutine);
 
                var glib_ns = CodeContext.get ().root.scope.lookup ("GLib");
@@ -1013,7 +1012,7 @@ public class Vala.Method : Member {
                return params;
        }
 
-       public Gee.List<FormalParameter> get_async_end_parameters () {
+       public List<FormalParameter> get_async_end_parameters () {
                assert (this.coroutine);
 
                var params = new ArrayList<FormalParameter> ();
index 25865c69b94d2f71aa6ebcb48dbf827ff854b7e4..aafb9485dc3aafed398a9f4e277c8e5a399bc1c0 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an invocation expression in the source code.
@@ -42,7 +41,7 @@ public class Vala.MethodCall : Expression {
 
        public Expression _call;
        
-       private Gee.List<Expression> argument_list = new ArrayList<Expression> ();
+       private List<Expression> argument_list = new ArrayList<Expression> ();
 
        /**
         * Creates a new invocation expression.
@@ -71,7 +70,7 @@ public class Vala.MethodCall : Expression {
         *
         * @return argument list
         */
-       public Gee.List<Expression> get_argument_list () {
+       public List<Expression> get_argument_list () {
                return new ReadOnlyList<Expression> (argument_list);
        }
 
index a782371a59d5742e70de70e98550f5fddcb4969b..fe69e6ab49847c8eca3315bfa34ae3a1bd95c9f1 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * The type of a method referencea.
@@ -41,7 +40,7 @@ public class Vala.MethodType : DataType {
                return method_symbol.return_type;
        }
 
-       public override Gee.List<FormalParameter>? get_parameters () {
+       public override List<FormalParameter>? get_parameters () {
                return method_symbol.get_parameters ();
        }
 
index aebac89723084f4aa562dc2c298252379407ed68..a044888c6f1395ecdbe3c584d63abaf31ca87d58 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a namespace declaration in the source code.
  */
 public class Vala.Namespace : Symbol {
-       private Gee.List<Class> classes = new ArrayList<Class> ();
-       private Gee.List<Interface> interfaces = new ArrayList<Interface> ();
-       private Gee.List<Struct> structs = new ArrayList<Struct> ();
-       private Gee.List<Enum> enums = new ArrayList<Enum> ();
-       private Gee.List<ErrorDomain> error_domains = new ArrayList<ErrorDomain> ();
-       private Gee.List<Delegate> delegates = new ArrayList<Delegate> ();
-       private Gee.List<Constant> constants = new ArrayList<Constant> ();
-       private Gee.List<Field> fields = new ArrayList<Field> ();
-       private Gee.List<Method> methods = new ArrayList<Method> ();
-
-       private Gee.List<Comment> comments = new ArrayList<Comment> ();
-
-       private Gee.List<string> cprefixes = new ArrayList<string> ();
+       private List<Class> classes = new ArrayList<Class> ();
+       private List<Interface> interfaces = new ArrayList<Interface> ();
+       private List<Struct> structs = new ArrayList<Struct> ();
+       private List<Enum> enums = new ArrayList<Enum> ();
+       private List<ErrorDomain> error_domains = new ArrayList<ErrorDomain> ();
+       private List<Delegate> delegates = new ArrayList<Delegate> ();
+       private List<Constant> constants = new ArrayList<Constant> ();
+       private List<Field> fields = new ArrayList<Field> ();
+       private List<Method> methods = new ArrayList<Method> ();
+
+       private List<Comment> comments = new ArrayList<Comment> ();
+
+       private List<string> cprefixes = new ArrayList<string> ();
        private string lower_case_cprefix;
        
-       private Gee.List<string> cheader_filenames = new ArrayList<string> ();
+       private List<string> cheader_filenames = new ArrayList<string> ();
 
-       private Gee.List<Namespace> namespaces = new ArrayList<Namespace> ();
+       private List<Namespace> namespaces = new ArrayList<Namespace> ();
 
-       private Gee.List<UsingDirective> using_directives = new ArrayList<UsingDirective> ();
+       private List<UsingDirective> using_directives = new ArrayList<UsingDirective> ();
 
        /**
         * Creates a new namespace.
@@ -78,7 +77,7 @@ public class Vala.Namespace : Symbol {
         *
         * @return comment list
         */
-       public Gee.List<Comment> get_comments () {
+       public List<Comment> get_comments () {
                return new ReadOnlyList<Comment> (comments);
        }
 
@@ -142,7 +141,7 @@ public class Vala.Namespace : Symbol {
         *
         * @return namespace list
         */
-       public Gee.List<Namespace> get_namespaces () {
+       public List<Namespace> get_namespaces () {
                return new ReadOnlyList<Namespace> (namespaces);
        }
        
@@ -251,7 +250,7 @@ public class Vala.Namespace : Symbol {
         *
         * @return struct list
         */
-       public Gee.List<Struct> get_structs () {
+       public List<Struct> get_structs () {
                return new ReadOnlyList<Struct> (structs);
        }
 
@@ -260,7 +259,7 @@ public class Vala.Namespace : Symbol {
         *
         * @return class list
         */
-       public Gee.List<Class> get_classes () {
+       public List<Class> get_classes () {
                return new ReadOnlyList<Class> (classes);
        }
        
@@ -269,7 +268,7 @@ public class Vala.Namespace : Symbol {
         *
         * @return interface list
         */
-       public Gee.List<Interface> get_interfaces () {
+       public List<Interface> get_interfaces () {
                return new ReadOnlyList<Interface> (interfaces);
        }
        
@@ -278,7 +277,7 @@ public class Vala.Namespace : Symbol {
         *
         * @return enum list
         */
-       public Gee.List<Enum> get_enums () {
+       public List<Enum> get_enums () {
                return new ReadOnlyList<Enum> (enums);
        }
        
@@ -287,7 +286,7 @@ public class Vala.Namespace : Symbol {
         *
         * @return error domain list
         */
-       public Gee.List<ErrorDomain> get_error_domains () {
+       public List<ErrorDomain> get_error_domains () {
                return new ReadOnlyList<ErrorDomain> (error_domains);
        }
        
@@ -296,7 +295,7 @@ public class Vala.Namespace : Symbol {
         *
         * @return field list
         */
-       public Gee.List<Field> get_fields () {
+       public List<Field> get_fields () {
                return new ReadOnlyList<Field> (fields);
        }
        
@@ -305,7 +304,7 @@ public class Vala.Namespace : Symbol {
         *
         * @return constant list
         */
-       public Gee.List<Constant> get_constants () {
+       public List<Constant> get_constants () {
                return new ReadOnlyList<Constant> (constants);
        }
        
@@ -314,7 +313,7 @@ public class Vala.Namespace : Symbol {
         *
         * @return delegate list
         */
-       public Gee.List<Delegate> get_delegates () {
+       public List<Delegate> get_delegates () {
                return new ReadOnlyList<Delegate> (delegates);
        }
        
@@ -323,7 +322,7 @@ public class Vala.Namespace : Symbol {
         *
         * @return method list
         */
-       public Gee.List<Method> get_methods () {
+       public List<Method> get_methods () {
                return new ReadOnlyList<Method> (methods);
        }
        
@@ -468,7 +467,7 @@ public class Vala.Namespace : Symbol {
                }
        }
 
-       public Gee.List<string> get_cprefixes () {
+       public List<string> get_cprefixes () {
                if (0 == cprefixes.size && null != name)
                        cprefixes.add (name);
 
@@ -518,7 +517,7 @@ public class Vala.Namespace : Symbol {
                this.lower_case_cprefix = cprefix;
        }
 
-       public override Gee.List<string> get_cheader_filenames () {
+       public override List<string> get_cheader_filenames () {
                return new ReadOnlyList<string> (cheader_filenames);
        }
 
index f986886dc406c8600d2d0b45a8a51c56a2b56e2f..4a038ce3da3e8248c060f3439897caa2897f0cd3 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an object creation expression in the source code.
@@ -52,9 +51,9 @@ public class Vala.ObjectCreationExpression : Expression {
 
        public bool struct_creation { get; set; }
 
-       private Gee.List<Expression> argument_list = new ArrayList<Expression> ();
+       private List<Expression> argument_list = new ArrayList<Expression> ();
 
-       private Gee.List<MemberInitializer> object_initializer = new ArrayList<MemberInitializer> ();
+       private List<MemberInitializer> object_initializer = new ArrayList<MemberInitializer> ();
 
        private DataType _data_type;
 
@@ -85,7 +84,7 @@ public class Vala.ObjectCreationExpression : Expression {
         *
         * @return argument list
         */
-       public Gee.List<Expression> get_argument_list () {
+       public List<Expression> get_argument_list () {
                return new ReadOnlyList<Expression> (argument_list);
        }
 
@@ -104,7 +103,7 @@ public class Vala.ObjectCreationExpression : Expression {
         *
         * @return member initializer list
         */
-       public Gee.List<MemberInitializer> get_object_initializer () {
+       public List<MemberInitializer> get_object_initializer () {
                return new ReadOnlyList<MemberInitializer> (object_initializer);
        }
 
index ac5f28a45b33ca15ae0e791949653896cf6a6b67..e4556e5a3f004b92ad135f1007baae1b20a4f545 100644 (file)
@@ -90,7 +90,7 @@ public class Vala.ObjectType : ReferenceType {
                }
        }
 
-       public override Gee.List<FormalParameter>? get_parameters () {
+       public override List<FormalParameter>? get_parameters () {
                var cl = type_symbol as Class;
                if (cl != null && cl.default_construction_method != null) {
                        return cl.default_construction_method.get_parameters ();
index b5c6632768c8c99ccf03b264d8baceb0fad4e46e..5539bf0cf3b2d9c5cc66364b9e702e6cdf8a0c62 100644 (file)
@@ -22,7 +22,6 @@
  *     Philip Van Hoof <pvanhoof@gnome.org>
  */
 
-using Gee;
 
 /**
  * Represents a runtime data type for objects and interfaces. This data type may
@@ -30,15 +29,15 @@ using Gee;
  * Vala API file.
  */
 public abstract class Vala.ObjectTypeSymbol : TypeSymbol {
-       private Gee.List<TypeParameter> type_parameters = new ArrayList<TypeParameter> ();
+       private List<TypeParameter> type_parameters = new ArrayList<TypeParameter> ();
 
        public ObjectTypeSymbol (string name, SourceReference? source_reference = null, Comment? comment = null) {
                base (name, source_reference, comment);
        }
 
-       public abstract Gee.List<Method> get_methods ();
-       public abstract Gee.List<Signal> get_signals ();
-       public abstract Gee.List<Property> get_properties ();
+       public abstract List<Method> get_methods ();
+       public abstract List<Signal> get_signals ();
+       public abstract List<Property> get_properties ();
 
        /**
         * Appends the specified parameter to the list of type parameters.
@@ -55,7 +54,7 @@ public abstract class Vala.ObjectTypeSymbol : TypeSymbol {
         *
         * @return list of type parameters
         */
-       public Gee.List<TypeParameter> get_type_parameters () {
+       public List<TypeParameter> get_type_parameters () {
                return new ReadOnlyList<TypeParameter> (type_parameters);
        }
 
index 2fa695b11d50de00d44b733c7126c51dbbaa1caa..43687f7dc3b72a53634ce65259b1b920d5702721 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Code visitor parsing all Vala source files.
@@ -410,7 +409,7 @@ public class Vala.Parser : CodeVisitor {
                }
 
                var sym = parse_symbol_name ();
-               Gee.List<DataType> type_arg_list = parse_type_argument_list (false);
+               List<DataType> type_arg_list = parse_type_argument_list (false);
 
                DataType type = new UnresolvedType.from_symbol (sym, get_src (begin));
                if (type_arg_list != null) {
@@ -501,7 +500,7 @@ public class Vala.Parser : CodeVisitor {
                return type;
        }
 
-       Gee.List<Expression> parse_argument_list () throws ParseError {
+       List<Expression> parse_argument_list () throws ParseError {
                var list = new ArrayList<Expression> ();
                if (current () != TokenType.CLOSE_PARENS) {
                        do {
@@ -613,7 +612,7 @@ public class Vala.Parser : CodeVisitor {
                        id = parse_identifier ();
                        qualified = true;
                }
-               Gee.List<DataType> type_arg_list = parse_type_argument_list (true);
+               List<DataType> type_arg_list = parse_type_argument_list (true);
                var expr = new MemberAccess (null, id, get_src (begin));
                expr.qualified = qualified;
                if (type_arg_list != null) {
@@ -661,7 +660,7 @@ public class Vala.Parser : CodeVisitor {
        Expression parse_member_access (SourceLocation begin, Expression inner) throws ParseError {
                expect (TokenType.DOT);
                string id = parse_identifier ();
-               Gee.List<DataType> type_arg_list = parse_type_argument_list (true);
+               List<DataType> type_arg_list = parse_type_argument_list (true);
                var expr = new MemberAccess (inner, id, get_src (begin));
                if (type_arg_list != null) {
                        foreach (DataType type_arg in type_arg_list) {
@@ -674,7 +673,7 @@ public class Vala.Parser : CodeVisitor {
        Expression parse_pointer_member_access (SourceLocation begin, Expression inner) throws ParseError {
                expect (TokenType.OP_PTR);
                string id = parse_identifier ();
-               Gee.List<DataType> type_arg_list = parse_type_argument_list (true);
+               List<DataType> type_arg_list = parse_type_argument_list (true);
                var expr = new MemberAccess.pointer (inner, id, get_src (begin));
                if (type_arg_list != null) {
                        foreach (DataType type_arg in type_arg_list) {
@@ -725,7 +724,7 @@ public class Vala.Parser : CodeVisitor {
                return expr;
        }
 
-       Gee.List<Expression> parse_expression_list () throws ParseError {
+       List<Expression> parse_expression_list () throws ParseError {
                var list = new ArrayList<Expression> ();
                do {
                        list.add (parse_expression ());
@@ -788,7 +787,7 @@ public class Vala.Parser : CodeVisitor {
 
        Expression parse_array_creation_expression (SourceLocation begin, MemberAccess member) throws ParseError {
                bool size_specified = false;
-               Gee.List<Expression> size_specifier_list = null;
+               List<Expression> size_specifier_list = null;
                bool first = true;
                DataType element_type = UnresolvedType.new_from_expression (member);
                do {
@@ -824,7 +823,7 @@ public class Vala.Parser : CodeVisitor {
                return expr;
        }
 
-       Gee.List<MemberInitializer> parse_object_initializer () throws ParseError {
+       List<MemberInitializer> parse_object_initializer () throws ParseError {
                var list = new ArrayList<MemberInitializer> ();
                if (accept (TokenType.OPEN_BRACE)) {
                        do {
@@ -1203,7 +1202,7 @@ public class Vala.Parser : CodeVisitor {
 
        Expression parse_lambda_expression () throws ParseError {
                var begin = get_location ();
-               Gee.List<string> params = new ArrayList<string> ();
+               List<string> params = new ArrayList<string> ();
                if (accept (TokenType.OPEN_PARENS)) {
                        if (current () != TokenType.CLOSE_PARENS) {
                                do {
@@ -1734,7 +1733,7 @@ public class Vala.Parser : CodeVisitor {
                return stmt;
        }
 
-       void parse_catch_clauses (Gee.List<CatchClause> catch_clauses) throws ParseError {
+       void parse_catch_clauses (List<CatchClause> catch_clauses) throws ParseError {
                while (accept (TokenType.CATCH)) {
                        var begin = get_location ();
                        DataType type = null;
@@ -1773,7 +1772,7 @@ public class Vala.Parser : CodeVisitor {
                return new DeleteStatement (expr, get_src (begin));
        }
 
-       Gee.List<Attribute>? parse_attributes () throws ParseError {
+       List<Attribute>? parse_attributes () throws ParseError {
                if (current () != TokenType.OPEN_BRACKET) {
                        return null;
                }
@@ -1801,9 +1800,9 @@ public class Vala.Parser : CodeVisitor {
                return attrs;
        }
 
-       void set_attributes (CodeNode node, Gee.List<Attribute>? attributes) {
+       void set_attributes (CodeNode node, List<Attribute>? attributes) {
                if (attributes != null) {
-                       foreach (Attribute attr in (Gee.List<Attribute>) attributes) {
+                       foreach (Attribute attr in (List<Attribute>) attributes) {
                                node.attributes.append (attr);
                        }
                }
@@ -1982,7 +1981,7 @@ public class Vala.Parser : CodeVisitor {
                return RecoveryState.EOF;
        }
 
-       Namespace parse_namespace_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Namespace parse_namespace_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                expect (TokenType.NAMESPACE);
                var sym = parse_symbol_name ();
@@ -2072,7 +2071,7 @@ public class Vala.Parser : CodeVisitor {
                }
        }
 
-       Symbol parse_class_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_class_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_type_declaration_modifiers ();
@@ -2171,7 +2170,7 @@ public class Vala.Parser : CodeVisitor {
                }
        }
 
-       Constant parse_constant_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Constant parse_constant_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_member_declaration_modifiers ();
@@ -2205,7 +2204,7 @@ public class Vala.Parser : CodeVisitor {
                return c;
        }
 
-       Field parse_field_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Field parse_field_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_member_declaration_modifiers ();
@@ -2254,7 +2253,7 @@ public class Vala.Parser : CodeVisitor {
                return initializer;
        }
 
-       Method parse_method_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Method parse_method_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_member_declaration_modifiers ();
@@ -2339,7 +2338,7 @@ public class Vala.Parser : CodeVisitor {
                return method;
        }
 
-       Property parse_property_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Property parse_property_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_member_declaration_modifiers ();
@@ -2472,7 +2471,7 @@ public class Vala.Parser : CodeVisitor {
                return prop;
        }
 
-       Signal parse_signal_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Signal parse_signal_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_member_declaration_modifiers ();
@@ -2508,7 +2507,7 @@ public class Vala.Parser : CodeVisitor {
                return sig;
        }
 
-       Constructor parse_constructor_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Constructor parse_constructor_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var flags = parse_member_declaration_modifiers ();
                expect (TokenType.CONSTRUCT);
@@ -2525,7 +2524,7 @@ public class Vala.Parser : CodeVisitor {
                return c;
        }
 
-       Destructor parse_destructor_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Destructor parse_destructor_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var flags = parse_member_declaration_modifiers ();
                expect (TokenType.TILDE);
@@ -2545,7 +2544,7 @@ public class Vala.Parser : CodeVisitor {
                return d;
        }
 
-       Symbol parse_struct_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_struct_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_type_declaration_modifiers ();
@@ -2602,7 +2601,7 @@ public class Vala.Parser : CodeVisitor {
                }
        }
 
-       Symbol parse_interface_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_interface_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_type_declaration_modifiers ();
@@ -2671,7 +2670,7 @@ public class Vala.Parser : CodeVisitor {
                }
        }
 
-       Symbol parse_enum_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_enum_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_type_declaration_modifiers ();
@@ -2730,7 +2729,7 @@ public class Vala.Parser : CodeVisitor {
                return result;
        }
 
-       Symbol parse_errordomain_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_errordomain_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_type_declaration_modifiers ();
@@ -2910,7 +2909,7 @@ public class Vala.Parser : CodeVisitor {
                return param;
        }
 
-       CreationMethod parse_creation_method_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       CreationMethod parse_creation_method_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_member_declaration_modifiers ();
@@ -2958,7 +2957,7 @@ public class Vala.Parser : CodeVisitor {
                return method;
        }
 
-       Symbol parse_delegate_declaration (Gee.List<Attribute>? attrs) throws ParseError {
+       Symbol parse_delegate_declaration (List<Attribute>? attrs) throws ParseError {
                var begin = get_location ();
                var access = parse_access_modifier ();
                var flags = parse_member_declaration_modifiers ();
@@ -3016,7 +3015,7 @@ public class Vala.Parser : CodeVisitor {
                return result;
        }
 
-       Gee.List<TypeParameter> parse_type_parameter_list () throws ParseError {
+       List<TypeParameter> parse_type_parameter_list () throws ParseError {
                var list = new ArrayList<TypeParameter> ();
                if (accept (TokenType.OP_LT)) {
                        do {
@@ -3039,7 +3038,7 @@ public class Vala.Parser : CodeVisitor {
        }
 
        // try to parse type argument list
-       Gee.List<DataType>? parse_type_argument_list (bool maybe_expression) throws ParseError {
+       List<DataType>? parse_type_argument_list (bool maybe_expression) throws ParseError {
                var begin = get_location ();
                if (accept (TokenType.OP_LT)) {
                        var list = new ArrayList<DataType> ();
@@ -3102,7 +3101,7 @@ public class Vala.Parser : CodeVisitor {
                                qualified = true;
                        }
 
-                       Gee.List<DataType> type_arg_list = parse_type_argument_list (false);
+                       List<DataType> type_arg_list = parse_type_argument_list (false);
                        expr = new MemberAccess (expr, id, get_src (begin));
                        expr.qualified = qualified;
                        if (type_arg_list != null) {
index b95cc9fe61c6cbf1b5d1f5087e01a589cea3eeb9..081fca082447e0a5e642841e52da06ee14326332 100644 (file)
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 public class Vala.PhiFunction {
        public LocalVariable original_variable { get; private set; }
 
-       public Gee.List<LocalVariable?> operands { get; private set; }
+       public List<LocalVariable?> operands { get; private set; }
 
        public PhiFunction (LocalVariable variable, int num_of_ops) {
                this.original_variable = variable;
index 84f1b6e6f81915fa0fc7b78022895684a0f8cab7..42fb54be50f6bd74f9aa78e662b6bca2d4adf6c9 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents a pointer indirection in the source code, e.g. `*pointer'.
index b8a4e0f3ecf497406e43fb0058520cf33f148c43..76922dcc9b6b9e57f8fd0292859c588e121c7aa3 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * A pointer type.
@@ -90,7 +89,7 @@ public class Vala.PointerType : DataType {
                return SemanticAnalyzer.symbol_lookup_inherited (base_symbol, member_name);
        }
 
-       public override Gee.List<Symbol> get_symbols () {
+       public override List<Symbol> get_symbols () {
                return base_type.get_symbols ();
        }
 
index 4d9340f63df24df369c8f436ac63be8c75e583bc..f9eaa79e9cf5eb82b1862de82c2a305bd6a4b4c5 100644 (file)
@@ -220,7 +220,7 @@ public class Vala.PropertyAccessor : Symbol {
                }
        }
 
-       public override Gee.List<string> get_cheader_filenames () {
+       public override List<string> get_cheader_filenames () {
                return parent_symbol.get_cheader_filenames ();
        }
 }
index 0cb89cee7cb46d7fc56655622fa268872707610e..cc3edd3f439c3fc9bbb8ebf6080c082c156e2795 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents a reference transfer expression in the source code, e.g. `#foo'.
index 79e2fbaae4b5437cc8791c96ec5985cd4179b1cd..26af73ead2c489e953150eb64461f37dbd856105 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents a return statement in the source code.
index 7cdd68cd68112869d0d02e0e8837306de398bd21..109dca03f83eee773334c0747a632454fde89b6a 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Lexical scanner for Vala source files.
index cf80c0ee1c221e6a89512d1dca05ed9e6db5d8cd..cfa2781e3554232c6c02aa3279729aaebc96b012 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a part of the symbol tree.
@@ -38,7 +37,7 @@ public class Vala.Scope {
        public weak Scope parent_scope { get; set; }
 
        private Map<string,Symbol> symbol_table;
-       private Gee.List<Symbol> anonymous_members;
+       private List<Symbol> anonymous_members;
 
        /**
         * Creates a new scope.
index 1b746dc0a5343a44ecc127b96cea77bad426b863..cfdb05e4b6570444b4459c4edd86333e876b5f4f 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Code visitor analyzing and checking code.
@@ -127,7 +126,7 @@ public class Vala.SemanticAnalyzer : CodeVisitor {
 
        // keep replaced alive to make sure they remain valid
        // for the whole execution of CodeNode.accept
-       public Gee.List<CodeNode> replaced_nodes = new ArrayList<CodeNode> ();
+       public List<CodeNode> replaced_nodes = new ArrayList<CodeNode> ();
 
        public SemanticAnalyzer () {
        }
@@ -339,7 +338,7 @@ public class Vala.SemanticAnalyzer : CodeVisitor {
                return type;
        }
 
-       public bool check_arguments (Expression expr, DataType mtype, Gee.List<FormalParameter> params, Gee.List<Expression> args) {
+       public bool check_arguments (Expression expr, DataType mtype, List<FormalParameter> params, List<Expression> args) {
                Expression prev_arg = null;
                Iterator<Expression> arg_it = args.iterator ();
 
index a30e112399045607fb7672ff4c5739f4658b6982..c58e160e1053d770da0a8e5144dec2ead023fb2c 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents an object signal. Signals enable objects to provide notifications.
@@ -58,7 +57,7 @@ public class Vala.Signal : Member, Lockable {
         */
        public bool is_virtual { get; set; }
 
-       private Gee.List<FormalParameter> parameters = new ArrayList<FormalParameter> ();
+       private List<FormalParameter> parameters = new ArrayList<FormalParameter> ();
        /**
         * Refers to the default signal handler, which is an anonymous
         * function in the scope.
@@ -101,7 +100,7 @@ public class Vala.Signal : Member, Lockable {
                scope.add (param.name, param);
        }
 
-       public Gee.List<FormalParameter> get_parameters () {
+       public List<FormalParameter> get_parameters () {
                return new ReadOnlyList<FormalParameter> (parameters);
        }
 
index b7e3b84ef8343da3ce3053ed69e3fbf9e5c81f6a..4a6b585a6e651023cf234a00dcb7fc929f17fc82 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * The type of a signal referencea.
@@ -44,7 +43,7 @@ public class Vala.SignalType : DataType {
                return signal_symbol.return_type;
        }
 
-       public override Gee.List<FormalParameter>? get_parameters () {
+       public override List<FormalParameter>? get_parameters () {
                return signal_symbol.get_parameters ();
        }
 
@@ -98,7 +97,7 @@ public class Vala.SignalType : DataType {
                return null;
        }
 
-       public override Gee.List<Symbol> get_symbols () {
+       public override List<Symbol> get_symbols () {
                var symbols = new ArrayList<Symbol> ();
                symbols.add (signal_symbol);
                return symbols;
index ab6d5700b851ec741debc93a70a6a0b900b13585..6650512e2a68a428c025fec90a8258302dc66869 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a Vala source or VAPI package file.
@@ -53,14 +52,14 @@ public class Vala.SourceFile {
 
        private ArrayList<Comment> comments = new ArrayList<Comment> ();
 
-       public Gee.List<UsingDirective> current_using_directives { get; set; default = new ArrayList<UsingDirective> (); }
+       public List<UsingDirective> current_using_directives { get; set; default = new ArrayList<UsingDirective> (); }
 
-       private Gee.List<CodeNode> nodes = new ArrayList<CodeNode> ();
+       private List<CodeNode> nodes = new ArrayList<CodeNode> ();
        
        private string csource_filename = null;
        private string cinclude_filename = null;
 
-       private Gee.ArrayList<string> source_array = null;
+       private ArrayList<string> source_array = null;
 
        private MappedFile mapped_file = null;
 
@@ -92,7 +91,7 @@ public class Vala.SourceFile {
         *
         * @return list of comments
         */
-       public Gee.List<Comment> get_comments () {
+       public List<Comment> get_comments () {
                return new ReadOnlyList<Comment> (comments);
        }
 
@@ -130,7 +129,7 @@ public class Vala.SourceFile {
         *
         * @return code node list
         */
-       public Gee.List<CodeNode> get_nodes () {
+       public List<CodeNode> get_nodes () {
                return new ReadOnlyList<CodeNode> (nodes);
        }
 
@@ -249,7 +248,7 @@ public class Vala.SourceFile {
 
        private void read_source_lines (string cont)
        {
-               source_array = new Gee.ArrayList<string> ();
+               source_array = new ArrayList<string> ();
                string[] lines = cont.split ("\n", 0);
                int idx;
                for (idx = 0; lines[idx] != null; ++idx) {
index 7675977c251d4ed0d6ea849629b4f746680e8085..d72d38fb25d7369d809df0e39a096d0a7f04ff88 100644 (file)
@@ -51,7 +51,7 @@ public class Vala.SourceReference {
         */
        public int last_column { get; set; }
 
-       public Gee.List<UsingDirective> using_directives { get; private set; }
+       public List<UsingDirective> using_directives { get; private set; }
 
        /**
         * Creates a new source reference.
index a653f02e5d4abbb2cbeeeea1ee0775bbf01f0f04..91d9d9325eaeea48c72db4c9638315b38e4b48e3 100644 (file)
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 public class Vala.StatementList : CodeNode, Statement {
-       private Gee.List<Statement> list = new ArrayList<Statement> ();
+       private List<Statement> list = new ArrayList<Statement> ();
 
        public int length {
                get { return list.size; }
index c376de773b83d7e6539f15d82e95ac22b4017425..971d0e36877c1b5404211a02afbf9529f57331ef 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a struct declaration in the source code.
  */
 public class Vala.Struct : TypeSymbol {
-       private Gee.List<TypeParameter> type_parameters = new ArrayList<TypeParameter> ();
-       private Gee.List<Constant> constants = new ArrayList<Constant> ();
-       private Gee.List<Field> fields = new ArrayList<Field> ();
-       private Gee.List<Method> methods = new ArrayList<Method> ();
-       private Gee.List<Property> properties = new ArrayList<Property> ();
+       private List<TypeParameter> type_parameters = new ArrayList<TypeParameter> ();
+       private List<Constant> constants = new ArrayList<Constant> ();
+       private List<Field> fields = new ArrayList<Field> ();
+       private List<Method> methods = new ArrayList<Method> ();
+       private List<Property> properties = new ArrayList<Property> ();
        private DataType _base_type = null;
 
        private string cname;
@@ -126,7 +125,7 @@ public class Vala.Struct : TypeSymbol {
         *
         * @return list of type parameters
         */
-       public Gee.List<TypeParameter> get_type_parameters () {
+       public List<TypeParameter> get_type_parameters () {
                return new ReadOnlyList<TypeParameter> (type_parameters);
        }
 
@@ -158,7 +157,7 @@ public class Vala.Struct : TypeSymbol {
         *
         * @return list of fields
         */
-       public Gee.List<Field> get_fields () {
+       public List<Field> get_fields () {
                return new ReadOnlyList<Field> (fields);
        }
 
@@ -167,7 +166,7 @@ public class Vala.Struct : TypeSymbol {
         *
         * @return list of constants
         */
-       public Gee.List<Constant> get_constants () {
+       public List<Constant> get_constants () {
                return new ReadOnlyList<Constant> (constants);
        }
 
@@ -211,7 +210,7 @@ public class Vala.Struct : TypeSymbol {
         *
         * @return list of methods
         */
-       public Gee.List<Method> get_methods () {
+       public List<Method> get_methods () {
                return new ReadOnlyList<Method> (methods);
        }
 
@@ -237,7 +236,7 @@ public class Vala.Struct : TypeSymbol {
         *
         * @return list of properties
         */
-       public Gee.List<Property> get_properties () {
+       public List<Property> get_properties () {
                return new ReadOnlyList<Property> (properties);
        }
 
index 929e0565050b768315dfcd2dc8bd83916361ff51..7b7cc95446b9f9dd1f996d56350da7149dc11502 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a switch section in the source code.
  */
 public class Vala.SwitchSection : Block {
-       private Gee.List<SwitchLabel> labels = new ArrayList<SwitchLabel> ();
+       private List<SwitchLabel> labels = new ArrayList<SwitchLabel> ();
 
        /**
         * Creates a new switch section.
@@ -54,7 +53,7 @@ public class Vala.SwitchSection : Block {
         *
         * @return switch label list
         */
-       public Gee.List<SwitchLabel> get_labels () {
+       public List<SwitchLabel> get_labels () {
                return new ReadOnlyList<SwitchLabel> (labels);
        }
        
index d1468e5a8f50e3eb29b14b0b1a2fcb5d108e10ae..1b8937ed261f1f35d45f911cdc78a47ee145d89a 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a switch selection statement in the source code.
@@ -41,7 +40,7 @@ public class Vala.SwitchStatement : CodeNode, Statement {
        }
 
        private Expression _expression;
-       private Gee.List<SwitchSection> sections = new ArrayList<SwitchSection> ();
+       private List<SwitchSection> sections = new ArrayList<SwitchSection> ();
 
        /**
         * Creates a new switch statement.
@@ -70,7 +69,7 @@ public class Vala.SwitchStatement : CodeNode, Statement {
         *
         * @return section list
         */
-       public Gee.List<SwitchSection> get_sections () {
+       public List<SwitchSection> get_sections () {
                return new ReadOnlyList<SwitchSection> (sections);
        }
 
index 36d32c5844d06d0fd4a6d745682d76bb820a4a38..4615cfcff5a669d8cfdb6c3d9c942961844de58a 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a node in the symbol tree.
@@ -210,7 +209,7 @@ public abstract class Vala.Symbol : CodeNode {
         *
         * @return list of C header filenames for this symbol
         */
-       public virtual Gee.List<string> get_cheader_filenames () {
+       public virtual List<string> get_cheader_filenames () {
                return new ArrayList<string> ();
        }
 
index 09a9c19ccab7fb8945067289dbb7743967b84c82..39fa9b94d08db37f68f466c5dece0c6f9bbd97e1 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Code visitor resolving symbol names.
index feb586d4b190b46ddd99fe5998f1e02a539c45a2..b8f53dcec8a9aa5334a242b446ba5ccf1991cb99 100644 (file)
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 public class Vala.Template : Expression {
-       private Gee.List<Expression> expression_list = new ArrayList<Expression> ();
+       private List<Expression> expression_list = new ArrayList<Expression> ();
 
        public Template () {
        }
@@ -32,7 +31,7 @@ public class Vala.Template : Expression {
                expression_list.add (expr);
        }
 
-       public Gee.List<Expression> get_expressions () {
+       public List<Expression> get_expressions () {
                return expression_list;
        }
 
index 4ff77241b86286544646df267a4823a55e2ff1f2..2a90ba37ea8ef0a1fb2d2fd969ec95e969bfa454 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents a throw statement in the source code.
index 060b2d4bc246c4b0330926b29028c84135bb7158..19be21c116c48388e74cf95cc2bc6d8c31aac58d 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a try statement in the source code.
@@ -52,7 +51,7 @@ public class Vala.TryStatement : CodeNode, Statement {
 
        private Block _body;
        private Block _finally_body;
-       private Gee.List<CatchClause> catch_clauses = new ArrayList<CatchClause> ();
+       private List<CatchClause> catch_clauses = new ArrayList<CatchClause> ();
 
        /**
         * Creates a new try statement.
@@ -83,7 +82,7 @@ public class Vala.TryStatement : CodeNode, Statement {
         *
         * @return list of catch clauses
         */
-       public Gee.List<CatchClause> get_catch_clauses () {
+       public List<CatchClause> get_catch_clauses () {
                return new ReadOnlyList<CatchClause> (catch_clauses);
        }
 
@@ -112,12 +111,12 @@ public class Vala.TryStatement : CodeNode, Statement {
 
                body.check (analyzer);
 
-               var error_types = new Gee.ArrayList<DataType> ();
+               var error_types = new ArrayList<DataType> ();
                foreach (DataType body_error_type in body.get_error_types ()) {
                        error_types.add (body_error_type);
                }
 
-               var handled_error_types = new Gee.ArrayList<DataType> ();
+               var handled_error_types = new ArrayList<DataType> ();
                foreach (CatchClause clause in catch_clauses) {
                        foreach (DataType body_error_type in error_types) {
                                if (clause.error_type == null || body_error_type.compatible (clause.error_type)) {
index fc05984e8e0ef7645f9de3f436633755d791d184..0efab3e466b75d3d76f2c847142b819826652f87 100644 (file)
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a fixed-length sequence of expressions in the source code.
  */
 public class Vala.Tuple : Expression {
-       private Gee.List<Expression> expression_list = new ArrayList<Expression> ();
+       private List<Expression> expression_list = new ArrayList<Expression> ();
 
        public Tuple () {
        }
@@ -36,7 +35,7 @@ public class Vala.Tuple : Expression {
                expression_list.add (expr);
        }
 
-       public Gee.List<Expression> get_expressions () {
+       public List<Expression> get_expressions () {
                return expression_list;
        }
 
index 623044a75c5ff17762158004c7264e05c443e506..62540b3643c6f6362558e946d0a777340a6ba405 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a generic type parameter in the source code.
index df328d93e8a83d46f00f67e9ab9dd49d8872e3ee..f8bc285a67615359d198ced7e82c0584ddbdac48 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Represents a runtime data type. This data type may be defined in Vala source
@@ -31,7 +30,7 @@ using Gee;
 public abstract class Vala.TypeSymbol : Symbol {
        public Comment? comment { get; set; }
 
-       private Gee.List<string> cheader_filenames = new ArrayList<string> ();
+       private List<string> cheader_filenames = new ArrayList<string> ();
 
        public TypeSymbol (string? name, SourceReference? source_reference = null, Comment? comment = null) {
                base (name, source_reference);
@@ -220,7 +219,7 @@ public abstract class Vala.TypeSymbol : Symbol {
                return null;
        }
 
-       public override Gee.List<string> get_cheader_filenames () {
+       public override List<string> get_cheader_filenames () {
                // parent_symbol can be null on incremental parsing
                if (cheader_filenames.size == 0 && parent_symbol != null) {
                        /* default to header filenames of the namespace */
index 0584f21b8dfca7282875f1de05b4b42bbcf40f9b..b2066a373d101552655f828e50d3c035a77bc366 100644 (file)
@@ -20,7 +20,6 @@
  *     Jürg Billeter <j@bitron.ch>
  */
 
-using Gee;
 
 /**
  * Represents an expression with one operand in the source code.
index 8b81e64e9df928103b85644e51d2bd504ad630cd..f9355f6f156de32d57d2363f3b3b9ea1e67afcff 100644 (file)
@@ -22,7 +22,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * An unresolved reference to a data type.
index 62dd43459f1cd7df191be1f7d6588037eb2202fe..193824436f49282ad79842e86761b6f0d932ff68 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Code visitor parsing all GIDL files.
@@ -39,7 +38,7 @@ public class Vala.GIdlParser : CodeVisitor {
        private TypeSymbol current_data_type;
        private Map<string,string> codenode_attributes_map;
        private Map<PatternSpec*,string> codenode_attributes_patterns;
-       private Gee.Set<string> current_type_symbol_set;
+       private Set<string> current_type_symbol_set;
 
        private Map<string,TypeSymbol> cname_type_map;
 
index dfecae1902d1fb3abbaadc074d3af4e1ee081efb..b733839eb5c4599931e89a5f7520667bff897fbb 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Code visitor parsing all Vala source files.
index 4db901397a9a2bab66dcff13a731e911dd29c1d2..96ad0e809c46b00458c604c79b76c88f65cc2261 100644 (file)
@@ -21,7 +21,6 @@
  */
 
 using GLib;
-using Gee;
 
 /**
  * Simple reader for a subset of XML.
index cb4d47975f3d8de4c16ef9ef746f43694ae7adeb..9494f0521b73874f97bf61fb4ef8ea141b0b09b2 100644 (file)
@@ -33,12 +33,12 @@ class Vala.VAPICheck : Object {
        public SourceFile gidl { get; construct; }
        public SourceFile metadata { get; construct; }
 
-       private Gee.List<string> _scope;
-       private Gee.Set<string> _symbols;
+       private List<string> _scope;
+       private Set<string> _symbols;
 
        private void parse_gidl () {
-               _scope = new Gee.ArrayList<string> ();
-               _symbols = new Gee.HashSet<string> (str_hash, str_equal);
+               _scope = new ArrayList<string> ();
+               _symbols = new HashSet<string> (str_hash, str_equal);
 
                try {
                        foreach (weak IdlModule module in Idl.parse_file (gidl.filename)) {
@@ -72,7 +72,7 @@ class Vala.VAPICheck : Object {
                _scope.remove_at (_scope.size - 1);
        }
 
-       private void parse_members (string name, List<IdlNode> members) {
+       private void parse_members (string name, GLib.List<IdlNode> members) {
                enter_scope (name);
 
                foreach (weak IdlNode node in members) {
@@ -84,7 +84,7 @@ class Vala.VAPICheck : Object {
 
                                case IdlNodeTypeId.FUNCTION:
                                        parse_members (((IdlNodeFunction) node).symbol,
-                                                                  (List<IdlNode>) ((IdlNodeFunction) node).parameters);
+                                                                  (GLib.List<IdlNode>) ((IdlNodeFunction) node).parameters);
                                        break;
 
                                case IdlNodeTypeId.BOXED: