Beispiel #1
0
 public void InitializeModuleClass(Boo.Lang.Compiler.Ast.ClassDefinition moduleClass)
 {
     if (null == moduleClass.Entity)
     {
         moduleClass.Entity = new InternalClass(_typeSystemServices, moduleClass);
         _moduleClass       = moduleClass;
     }
     _moduleClassNamespace = (INamespace)moduleClass.Entity;
 }
Beispiel #2
0
 /// <summary>
 /// Called when a class definition node is found
 /// </summary>
 /// <param name="node">The node.</param>
 public override void OnClassDefinition(Boo.Lang.Compiler.Ast.ClassDefinition node)
 {
     moduleNameToContainedTypes[currentModule].Add(node.Name);
 }