[vala/wip/transform: 121/124] API cleaning Code builder



commit acdce47529a3d93e9741d6770c2afd8b9b8b2411
Author: Rico Tzschichholz <ricotz ubuntu com>
Date:   Thu Oct 25 21:40:00 2018 +0200

    API cleaning Code builder

 vala/valacodebuilder.vala | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/vala/valacodebuilder.vala b/vala/valacodebuilder.vala
index 55c7c419a..64e80778f 100644
--- a/vala/valacodebuilder.vala
+++ b/vala/valacodebuilder.vala
@@ -23,12 +23,13 @@
 using GLib;
 
 public class Vala.CodeBuilder {
-       public Block current_block;
-       public Statement insert_statement;
-       public Block insert_block;
-       public ArrayList<Statement> statement_stack = new ArrayList<Statement> ();
-       public ArrayList<CodeNode> decl_nodes = new ArrayList<CodeNode> ();
-       public SourceReference source_reference;
+       public SourceReference source_reference { get; private set; }
+
+       Block current_block;
+       Statement insert_statement;
+       Block insert_block;
+       ArrayList<Statement> statement_stack = new ArrayList<Statement> ();
+       ArrayList<CodeNode> decl_nodes = new ArrayList<CodeNode> ();
 
        public void* data = null;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]