예제 #1
0
        public CodeCompileUnit VisitAll(ASTModel model)
        {
            //return (CodeTypeDeclaration)
            model.Accept(this);

            CodeCompileUnit theAssembly = new CodeCompileUnit();

            // theAssembly.ReferencedAssemblies.AddRange(this.metadataRetriever.AsssemblyPaths.ToArray());
            theAssembly.Namespaces.Add(theNamespace);

            return(theAssembly);
        }
예제 #2
0
 public CodeTypeDeclaration VisitAll_(ASTModel model)
 {
     return((CodeTypeDeclaration)model.Accept(this));
 }