protected virtual void ParseInterface(TextReader r)
 {
     try
     {
         InterfaceLexer  lexer  = new InterfaceLexer(new Antlr.Runtime.ANTLRReaderStream(r));
         InterfaceParser parser = new InterfaceParser(new Antlr.Runtime.CommonTokenStream(lexer));
         parser.groupInterface(this);
         //System.out.println("read interface\n"+this.toString());
     }
     catch (Exception e)
     {
         string name = "<unknown>";
         if (Name != null)
         {
             name = Name;
         }
         Error("problem parsing group " + name + ": " + e, e);
     }
 }
 protected virtual void ParseInterface( TextReader r )
 {
     try
     {
         InterfaceLexer lexer = new InterfaceLexer( new Antlr.Runtime.ANTLRReaderStream( r ) );
         InterfaceParser parser = new InterfaceParser( new Antlr.Runtime.CommonTokenStream( lexer ) );
         parser.groupInterface( this );
         //System.out.println("read interface\n"+this.toString());
     }
     catch ( Exception e )
     {
         string name = "<unknown>";
         if ( Name != null )
         {
             name = Name;
         }
         Error( "problem parsing group " + name + ": " + e, e );
     }
 }