[vala/wip/transform: 102/106] API cleaning Code builder



commit 3743ad25d8d012d111110df53cac4420967a67ce
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]