Eof() публичный Метод

public Eof ( ) : bool
Результат bool
Пример #1
0
 public void Start(CsReader inFile)
 {
     m_state       = "YYINITIAL"; // 4.3e
     inFile        = new CsReader(inFile, m_tokens.m_encoding);
     m_LineManager = inFile.lm;
     if (!inFile.Eof())
     {
         for (m_buf = inFile.ReadLine(); !inFile.Eof(); m_buf += inFile.ReadLine())
         {
             m_buf += "\n";
         }
     }
     if (m_tokens.toupper)
     {
         m_buf = m_buf.ToUpper();
     }
     m_pch = 0;
 }
Пример #2
0
 public void Start(CsReader inFile)
 {
     this.m_state       = "YYINITIAL";
     inFile             = new CsReader(inFile, this.m_tokens.m_encoding);
     this.m_LineManager = inFile.lm;
     if (!inFile.Eof())
     {
         this.m_buf = inFile.ReadLine();
         while (!inFile.Eof())
         {
             this.m_buf += "\n";
             this.m_buf += inFile.ReadLine();
         }
     }
     if (this.m_tokens.toupper)
     {
         this.m_buf = this.m_buf.ToUpper();
     }
     this.m_pch = 0;
 }
 /// <exclude/>
 public void Start(CsReader inFile)
 {
     m_state="YYINITIAL"; // 4.3e
     inFile = new CsReader(inFile,m_tokens.m_encoding);
     m_LineManager = inFile.lm;
     if (!inFile.Eof())
         for (m_buf = inFile.ReadLine(); !inFile.Eof(); m_buf += inFile.ReadLine())
             m_buf+="\n";
     if (m_tokens.toupper)
         m_buf = m_buf.ToUpper();
     m_pch = 0;
 }