示例#1
0
 /// <summary>
 /// Inspects a type declaration even during parsing
 /// </summary>
 /// <param name="parser">Parser currently analyzing the source code</param>
 /// <param name="decl">Current type declaration</param>
 public void TypeDeclarationReduced(Parser /*!*/ parser, TypeDecl /*!*/ decl)
 {
     foreach (var method in decl.Members)
     {
         if (method is MethodDecl)
         {
             functions[method] = this.Ast;
         }
     }
     compilationUnit.TypeDeclarationReduced(parser, decl);
 }