sax: Remove useless visibility declarations.
authorJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Fri, 28 Nov 2014 17:24:27 +0000 (12:24 -0500)
committerJean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
Fri, 28 Nov 2014 19:06:54 +0000 (14:06 -0500)
Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>

lib/sax/helpers/namespace_support.nit

index 0c146d2..ce8682e 100644 (file)
@@ -398,35 +398,35 @@ end
 # from [SAX 2.0](http://www.saxproject.org).
 private class Context
 
-       private var empty: Collection[String] = new Array[String].with_capacity(0)
+       var empty: Collection[String] = new Array[String].with_capacity(0)
 
        # `prefix` -> `uri`
-       private var prefix_table: nullable Map[String, String] = null
+       var prefix_table: nullable Map[String, String] = null
 
        # Cache of `process_name` for elements.
        #
        # `qname -> [uri, local_name, qname]`
-       private var element_name_table: nullable Map[String, Array[String]] = null
+       var element_name_table: nullable Map[String, Array[String]] = null
 
        # Cache of `process_name` for attributes.
        #
        # `qname -> [uri, local_name, qname]`
-       private var attribute_name_table: nullable Map[String, Array[String]] = null
+       var attribute_name_table: nullable Map[String, Array[String]] = null
 
        # Namespace in absence of prefix.
-       private var default_ns: nullable String = null
+       var default_ns: nullable String = null
 
        # Can we currently declare prefixes in this context?
        var decls_ok: Bool = true is writable
 
        # All prefixes declared in this context.
-       private var declarations: nullable Array[String] = null
+       var declarations: nullable Array[String] = null
 
        # Was `copy_tables` called since the last call to `parent=`?
-       private var decl_seen: Bool = false
+       var decl_seen: Bool = false
 
        # Parent context.
-       private var p_parent: nullable Context = null
+       var p_parent: nullable Context = null
 
        # (Re)set the parent of this Namespace context.
        #
@@ -646,7 +646,7 @@ private class Context
        #
        # This class is optimized for the normal case where most
        # elements do not contain Namespace declarations.
-       private fun copy_tables do
+       fun copy_tables do
                if prefix_table != null then
                        var old_prefix_table = prefix_table.as(not null)
                        prefix_table = new HashMap[String, String]