[svn] r6189: nemerle/trunk/ncc/hierarchy/CustomAttribute.n

nazgul svnadmin at nemerle.org
Tue Apr 11 18:37:53 CEST 2006


Log:
Give public access to adding assembly level attributes

Author: nazgul
Date: Tue Apr 11 18:37:49 2006
New Revision: 6189

Modified:
   nemerle/trunk/ncc/hierarchy/CustomAttribute.n

Modified: nemerle/trunk/ncc/hierarchy/CustomAttribute.n
==============================================================================
--- nemerle/trunk/ncc/hierarchy/CustomAttribute.n	(original)
+++ nemerle/trunk/ncc/hierarchy/CustomAttribute.n	Tue Apr 11 18:37:49 2006
@@ -39,13 +39,13 @@
 
 namespace Nemerle.Compiler 
 {
-  module AttributeCompiler
+  public module AttributeCompiler
   {
     mutable assembly_attributes : list [GlobalEnv * PT.PExpr];
     mutable assembly_macros : list [GlobalEnv * PT.PExpr];    
     mutable resolved_assembly_attrs : list [GlobalEnv * TypeInfo * list [PT.PExpr]];
 
-    public Init () : void
+    internal Init () : void
     {
       assembly_attributes = [];
       resolved_assembly_attrs = [];
@@ -290,7 +290,7 @@
         })
     }
     
-    internal AddAssemblyAttribute (env : GlobalEnv, att : PT.PExpr) : void {
+    public AddAssemblyAttribute (env : GlobalEnv, att : PT.PExpr) : void {
       assembly_attributes = (env, att) :: assembly_attributes;
     }
 
@@ -338,7 +338,7 @@
     }
     
         
-    public CreateAssemblyName () : SR.AssemblyName
+    internal CreateAssemblyName () : SR.AssemblyName
     {
       /* create an assembly name and set its properties according to defined
          global assembly attributes */



More information about the svn mailing list