[vala/wip/transform: 128/131] API cleaning Code builder



commit db702dd55f85e57522bd426b169260e513e8ba15
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]