Eof() public method

public Eof ( ) : bool
return bool
コード例 #1
0
ファイル: lexer.cs プロジェクト: cognitum-octopus/cognipy
 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
ファイル: Lexer.cs プロジェクト: m33p/radegast
 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;
 }
コード例 #3
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;
 }