Inheritance: IIncludeReader
示例#1
0
 public CPreprocessor(IIncludeReader IncludeReader = null, TextWriter TextWriter = null)
 {
     if (IncludeReader == null)
     {
         IncludeReader = new IncludeReader();
         //((IncludeReader)IncludeReader).AddFolder(@"c:\dev\tcc\include");
     }
     if (TextWriter == null) TextWriter = new StringWriter();
     this.Context = new CPreprocessorContext(IncludeReader, TextWriter);
 }
示例#2
0
 public CPreprocessor(IIncludeReader IncludeReader = null, TextWriter TextWriter = null)
 {
     if (IncludeReader == null)
     {
         IncludeReader = new IncludeReader();
         //((IncludeReader)IncludeReader).AddFolder(@"c:\dev\tcc\include");
     }
     if (TextWriter == null)
     {
         TextWriter = new StringWriter();
     }
     this.Context = new CPreprocessorContext(IncludeReader, TextWriter);
 }