Beispiel #1
0
 public IEnumerable <StatementParser> Parsers()
 {
     while (m_Scanner.MoveNext())
     {
         m_Scanner.SkipWhiteSpaces();
         if (m_Scanner.Eol)
         {
             continue;
         }
         string          keyWordCandidate = m_Scanner.GetKeyWord();
         StatementParser statementParser  = m_StatementParserFactory.GetStatementParser(keyWordCandidate);
         yield return(statementParser);
     }
 }
 public string GetSignalKeyword(Scanner scanner)
 {
     return(m_Signal ?? scanner.GetKeyWord());
 }